Revert HM module import.

This commit is contained in:
Dmitry Voronin 2024-09-30 13:14:00 +03:00
parent 75db7243e7
commit 64caf26c18
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 13 additions and 15 deletions

View file

@ -172,14 +172,14 @@
# HM config.
./home/NixOs.nix
] ++
modules ++
(self.findFiles ./host/${system}/${hostname}) ++
(self.findFiles ./config) ++
(self.findFiles ./container) ++
(self.findFiles ./module) ++
(self.findFiles ./system) ++
(self.findFiles ./overlay);
]
++ modules
++ (self.findFiles ./host/${system}/${hostname})
++ (self.findFiles ./config)
++ (self.findFiles ./container)
++ (self.findFiles ./module)
++ (self.findFiles ./system)
++ (self.findFiles ./overlay);
# SpecialArgs allows you to pass objects down to other NixOS modules.
specialArgs = let
@ -258,10 +258,9 @@
{ nix.settings.experimental-features = [ "nix-command " "flakes" ]; }
inputs.stylix.homeManagerModules.stylix
] ++
modules ++
(self.findFiles ./config) ++
(self.findFiles ./module);
]
++ modules
++ (self.findFiles ./config);
};
};
@ -305,8 +304,7 @@
inherit (self) __findFile;
inherit lib pkgs;
})
] ++
(self.findFiles ./module);
];
# SpecialArgs allows you to pass objects down to other configuration.
extraSpecialArgs = {

View file

@ -27,6 +27,6 @@ in {
text = (util.trimTabs ''
# Read `man 5 sway` for a complete reference.
include /etc/sway/config.d/*
'') + swayRc + config.module.desktop.sway.extraConfig;
'') + swayRc + config.module.desktop.sway.extraConfig or "";
}