Flake: add school role

This commit is contained in:
Toast 2023-09-18 22:28:45 +02:00
parent 81ded02e19
commit 1328e16181
4 changed files with 27 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./services
];
}

View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./syncthing.nix
];
}

View file

@ -0,0 +1,12 @@
{ config, ... }:
{
services.syncthing.folders = {
"school-things" = {
label = "School things";
id = "z6alc-nfoqr";
devices = [ "steamdeck" "server" ];
path = "~/Documents/School things";
};
};
}