mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 13:58:05 +00:00
14 lines
362 B
Nix
14 lines
362 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
path = lib.escapeShellArg "/etc/dotfiles";
|
|
dotfiles = pkgs.runCommandLocal "nixos-mutable-file-${builtins.baseNameOf path}" { } ''ln -s ${path} $out'';
|
|
in
|
|
{
|
|
enviroment.etc = {
|
|
"i3".source = "${dotfiles}/i3";
|
|
"polybar".source = "${dotfiles}/polybar";
|
|
"zathurarc".source = "${dotfiles}/zathura/zathurarc";
|
|
};
|
|
}
|