Skip to content

Commit

Permalink
+ home in nixos cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Oct 24, 2024
1 parent 48a44ac commit f60652c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions hosts/hastur/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ withSystem "x86_64-linux" (
modules =
lib.sharedModules
++ [
../home.nix
./hardware.nix
./network.nix
./rekey.nix
Expand Down
10 changes: 10 additions & 0 deletions hosts/home.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ lib, pkgs, ... }:
let
homeCfgAttr = (import ../home { inherit pkgs lib; });
in
{
systemd.tmpfiles.rules = lib.foldlAttrs (
acc: n: v:
acc ++ lib.singleton "L+ ${v} - - - - ${n}"
) [ ] homeCfgAttr;
}
1 change: 1 addition & 0 deletions hosts/kaambl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ withSystem "x86_64-linux" (
user = "elen";
};
modules = lib.sharedModules ++ [
../home.nix
./hardware.nix
./network.nix
./rekey.nix
Expand Down

0 comments on commit f60652c

Please sign in to comment.