flocon/hosts/vamos/default.nix
Anthony Rodriguez b255b3988b
repo: remove home/profiles
commit f60d03acf6
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Mon Oct 21 16:02:55 2024 +0200

    flake: update dependencies

commit 8c3cd9631a
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Mon Oct 21 15:49:07 2024 +0200

    repo: move common home packages into home/default.nix

commit aa46aa0762
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Mon Oct 21 15:34:23 2024 +0200

    repo: refactor to remove home/profiles

    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.
2024-10-21 16:37:58 +02:00

46 lines
1,001 B
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/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"
];
extraSpecialArgs = specialArgs;
};
networking.hostName = "vamos";
environment.variables.FLAKE = "/home/nezia/.dotfiles";
}