Add syncthing
This commit is contained in:
parent
bcd0288107
commit
faef61c066
|
@ -28,6 +28,7 @@
|
||||||
../../modules/programs/ssh.nix
|
../../modules/programs/ssh.nix
|
||||||
(import ../../modules/programs/emacs.nix { })
|
(import ../../modules/programs/emacs.nix { })
|
||||||
../../modules/programs/fonts.nix
|
../../modules/programs/fonts.nix
|
||||||
|
../../modules/programs/desktop.nix
|
||||||
];
|
];
|
||||||
home.username = "nathan";
|
home.username = "nathan";
|
||||||
home.homeDirectory = "/home/nathan/";
|
home.homeDirectory = "/home/nathan/";
|
||||||
|
@ -40,6 +41,13 @@
|
||||||
|
|
||||||
# Machine specific configuration
|
# Machine specific configuration
|
||||||
services.emacs.defaultEditor = true;
|
services.emacs.defaultEditor = true;
|
||||||
|
|
||||||
|
systemd.user.targets.tray = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Home Manager System Tray";
|
||||||
|
Requires = [ "graphical-session-pre.target" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
18
home-manager/modules/programs/desktop.nix
Normal file
18
home-manager/modules/programs/desktop.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
];
|
||||||
|
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
tray = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue