alyssum/home.syncthing: init
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
This commit is contained in:
parent
024a6bdbe2
commit
8157d0d561
2 changed files with 17 additions and 0 deletions
|
|
@ -32,6 +32,7 @@
|
||||||
./filesystem.nix
|
./filesystem.nix
|
||||||
./kernel.nix
|
./kernel.nix
|
||||||
./networking.nix
|
./networking.nix
|
||||||
|
./home.syncthing.nix
|
||||||
./samba.nix
|
./samba.nix
|
||||||
|
|
||||||
../../users/hana
|
../../users/hana
|
||||||
|
|
|
||||||
16
hosts/alyssum/home.syncthing.nix
Normal file
16
hosts/alyssum/home.syncthing.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ config, ... }: {
|
||||||
|
me.binds."/home/kujira/.config/syncthing" = "kujira/syncthing/config";
|
||||||
|
me.binds."/home/kujira/.local/state/syncthing" = "kujira/syncthing/state";
|
||||||
|
|
||||||
|
users.users.kujira = {
|
||||||
|
hashedPasswordFile = config.age.secrets.passwd.path;
|
||||||
|
isNormalUser = true;
|
||||||
|
linger = true;
|
||||||
|
};
|
||||||
|
home-manager.users.kujira = { ... }: {
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
guiAddress = ":8385";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue