mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
refactor: use inputs.self instead of rel. paths
This commit is contained in:
parent
83bc6af1f6
commit
33046cb4a3
19 changed files with 1067 additions and 1711 deletions
|
|
@ -1,4 +1,7 @@
|
|||
{ inputs, outputs, config, ... }:
|
||||
{ self, inputs, outputs, config, ... }:
|
||||
let
|
||||
profilesPath = "${self}/profiles";
|
||||
in
|
||||
{
|
||||
|
||||
imports = [
|
||||
|
|
@ -6,8 +9,15 @@
|
|||
|
||||
./hardware-configuration.nix
|
||||
|
||||
../../optional/nixos/autologin.nix
|
||||
../../server/common
|
||||
"${profilesPath}/optional/nixos/autologin.nix"
|
||||
"${profilesPath}/server/common/nixos"
|
||||
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.users.swarsel.imports = [
|
||||
"${profilesPath}/server/common/home"
|
||||
] ++ (builtins.attrValues outputs.homeManagerModules);
|
||||
}
|
||||
|
||||
] ++ (builtins.attrValues outputs.nixosModules);
|
||||
|
||||
|
|
@ -55,6 +65,7 @@
|
|||
syncthing = true;
|
||||
monitoring = true;
|
||||
jenkins = false;
|
||||
emacs = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue