Flake: add school role
This commit is contained in:
parent
81ded02e19
commit
1328e16181
4 changed files with 27 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ outputs = { self, nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-
|
||||||
./roles/desktop
|
./roles/desktop
|
||||||
./roles/kde
|
./roles/kde
|
||||||
./roles/gaming
|
./roles/gaming
|
||||||
|
./roles/school
|
||||||
./machines/SteamDeck
|
./machines/SteamDeck
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
7
roles/school/default.nix
Normal file
7
roles/school/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./services
|
||||||
|
];
|
||||||
|
}
|
||||||
7
roles/school/services/default.nix
Normal file
7
roles/school/services/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./syncthing.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
12
roles/school/services/syncthing.nix
Normal file
12
roles/school/services/syncthing.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.syncthing.folders = {
|
||||||
|
"school-things" = {
|
||||||
|
label = "School things";
|
||||||
|
id = "z6alc-nfoqr";
|
||||||
|
devices = [ "steamdeck" "server" ];
|
||||||
|
path = "~/Documents/School things";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue