Anthony Rodriguez
aa46aa0762
Removed the profiles directory in home, as I thought it was redundant: they had the same name as my hostnames, as all my machines are single-user only. Therefore, everything is now under its own hosts/{hostname}, and flake.nix just has to import hosts/default.nix like it did before.
51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
{
|
|
self,
|
|
specialArgs,
|
|
...
|
|
}: let
|
|
mod = "${self}/system";
|
|
in {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
|
|
"${mod}"
|
|
"${mod}/core/lanzaboote.nix"
|
|
|
|
"${mod}/hardware/fprintd.nix"
|
|
"${mod}/services/power.nix"
|
|
"${mod}/services/brightness.nix"
|
|
"${mod}/services/keyd.nix"
|
|
|
|
"${mod}/services/logind.nix"
|
|
"${mod}/services/greetd.nix"
|
|
|
|
"${mod}/programs/niri"
|
|
"${mod}/services/gnome.nix"
|
|
"${mod}/services/mail.nix"
|
|
];
|
|
|
|
home-manager = {
|
|
users.nezia.imports = [
|
|
"${self}/home"
|
|
"${self}/home/services/udiskie.nix"
|
|
|
|
"${self}/home/programs"
|
|
|
|
"${self}/home/programs/niri"
|
|
"${self}/home/programs/ags"
|
|
"${self}/home/programs/fuzzel.nix"
|
|
"${self}/home/programs/swaybg.nix"
|
|
"${self}/home/programs/swaylock.nix"
|
|
"${self}/home/programs/swayidle.nix"
|
|
|
|
"${self}/home/terminal/emulators/foot.nix"
|
|
|
|
"${self}/home/programs/editors/neovim.nix"
|
|
"${self}/home/programs/editors/helix.nix"
|
|
];
|
|
extraSpecialArgs = specialArgs;
|
|
};
|
|
|
|
networking.hostName = "vamos";
|
|
environment.variables.FLAKE = "/home/nezia/.dotfiles";
|
|
}
|