diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-09-26 11:07:58 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-09-26 11:07:58 +0200 |
commit | 12a4a1c98697b38f484d247c1d85d634543f2409 (patch) | |
tree | e0dac0202943cd7cfcacd48f786d28c90f723236 | |
parent | c85fb90930833e6c2bc028dfffb6dbb820b7c837 (diff) | |
download | nixos-12a4a1c98697b38f484d247c1d85d634543f2409.tar nixos-12a4a1c98697b38f484d247c1d85d634543f2409.tar.gz nixos-12a4a1c98697b38f484d247c1d85d634543f2409.tar.bz2 nixos-12a4a1c98697b38f484d247c1d85d634543f2409.tar.xz nixos-12a4a1c98697b38f484d247c1d85d634543f2409.zip |
sif/vidhar: unison
-rw-r--r-- | accounts/gkleen@sif/default.nix | 10 | ||||
-rw-r--r-- | accounts/gkleen@vidhar.nix | 11 |
2 files changed, 19 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index dfdec275..362a3474 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -183,6 +183,16 @@ in { | |||
183 | "@button9" = "${pkgs.pulseaudio}/bin/pacmd set-sink-mute @DEFAULT_SINK@ 0"; | 183 | "@button9" = "${pkgs.pulseaudio}/bin/pacmd set-sink-mute @DEFAULT_SINK@ 0"; |
184 | }; | 184 | }; |
185 | }; | 185 | }; |
186 | |||
187 | unison = { | ||
188 | enable = true; | ||
189 | pairs = { | ||
190 | documents = { | ||
191 | roots = ["${cfg.home.homeDirectory}/documents" "ssh://vidhar/documents"]; | ||
192 | stateDirectory = "${cfg.xdg.dataHome}/documents.unison"; | ||
193 | }; | ||
194 | }; | ||
195 | }; | ||
186 | }; | 196 | }; |
187 | 197 | ||
188 | gtk = { | 198 | gtk = { |
diff --git a/accounts/gkleen@vidhar.nix b/accounts/gkleen@vidhar.nix index 2bb4f32b..bf75f694 100644 --- a/accounts/gkleen@vidhar.nix +++ b/accounts/gkleen@vidhar.nix | |||
@@ -1,7 +1,14 @@ | |||
1 | { flake, userName, ... }: { | 1 | { flake, pkgs, userName, ... }: { |
2 | imports = with flake.nixosModules.userProfiles.${userName}; [ | 2 | imports = with flake.nixosModules.userProfiles.${userName}; [ |
3 | feeds | 3 | feeds |
4 | ]; | 4 | ]; |
5 | 5 | ||
6 | config.users.users.${userName}.uid = 1000; | 6 | config = { |
7 | users.users.${userName}.uid = 1000; | ||
8 | home-manager.users.${userName} = { | ||
9 | home.packages = with pkgs; [ | ||
10 | unison | ||
11 | ]; | ||
12 | }; | ||
13 | }; | ||
7 | } | 14 | } |