Revert HM module import.
This commit is contained in:
parent
75db7243e7
commit
64caf26c18
26
flake.nix
26
flake.nix
|
@ -172,14 +172,14 @@
|
||||||
|
|
||||||
# HM config.
|
# HM config.
|
||||||
./home/NixOs.nix
|
./home/NixOs.nix
|
||||||
] ++
|
]
|
||||||
modules ++
|
++ modules
|
||||||
(self.findFiles ./host/${system}/${hostname}) ++
|
++ (self.findFiles ./host/${system}/${hostname})
|
||||||
(self.findFiles ./config) ++
|
++ (self.findFiles ./config)
|
||||||
(self.findFiles ./container) ++
|
++ (self.findFiles ./container)
|
||||||
(self.findFiles ./module) ++
|
++ (self.findFiles ./module)
|
||||||
(self.findFiles ./system) ++
|
++ (self.findFiles ./system)
|
||||||
(self.findFiles ./overlay);
|
++ (self.findFiles ./overlay);
|
||||||
|
|
||||||
# SpecialArgs allows you to pass objects down to other NixOS modules.
|
# SpecialArgs allows you to pass objects down to other NixOS modules.
|
||||||
specialArgs = let
|
specialArgs = let
|
||||||
|
@ -258,10 +258,9 @@
|
||||||
{ nix.settings.experimental-features = [ "nix-command " "flakes" ]; }
|
{ nix.settings.experimental-features = [ "nix-command " "flakes" ]; }
|
||||||
|
|
||||||
inputs.stylix.homeManagerModules.stylix
|
inputs.stylix.homeManagerModules.stylix
|
||||||
] ++
|
]
|
||||||
modules ++
|
++ modules
|
||||||
(self.findFiles ./config) ++
|
++ (self.findFiles ./config);
|
||||||
(self.findFiles ./module);
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -305,8 +304,7 @@
|
||||||
inherit (self) __findFile;
|
inherit (self) __findFile;
|
||||||
inherit lib pkgs;
|
inherit lib pkgs;
|
||||||
})
|
})
|
||||||
] ++
|
];
|
||||||
(self.findFiles ./module);
|
|
||||||
|
|
||||||
# SpecialArgs allows you to pass objects down to other configuration.
|
# SpecialArgs allows you to pass objects down to other configuration.
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
|
|
|
@ -27,6 +27,6 @@ in {
|
||||||
text = (util.trimTabs ''
|
text = (util.trimTabs ''
|
||||||
# Read `man 5 sway` for a complete reference.
|
# Read `man 5 sway` for a complete reference.
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
'') + swayRc + config.module.desktop.sway.extraConfig;
|
'') + swayRc + config.module.desktop.sway.extraConfig or "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue