Anthony Rodriguez
b255b3988b
commitf60d03acf6
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Mon Oct 21 16:02:55 2024 +0200 flake: update dependencies commit8c3cd9631a
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Mon Oct 21 15:49:07 2024 +0200 repo: move common home packages into home/default.nix commitaa46aa0762
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.
30 lines
530 B
Nix
30 lines
530 B
Nix
{
|
|
self,
|
|
specialArgs,
|
|
...
|
|
}: let
|
|
mod = "${self}/system";
|
|
in {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
|
|
"${mod}"
|
|
"${mod}/hardware/uni-sync.nix"
|
|
|
|
"${mod}/programs/gnome.nix"
|
|
"${mod}/programs/games.nix"
|
|
"${mod}/hardware/nvidia.nix"
|
|
];
|
|
|
|
home-manager = {
|
|
users.nezia.imports = [
|
|
"${self}/home"
|
|
|
|
"${self}/home/terminal/emulators/foot.nix"
|
|
];
|
|
extraSpecialArgs = specialArgs;
|
|
};
|
|
|
|
networking.hostName = "solaire";
|
|
environment.variables.FLAKE = "/home/nezia/.dotfiles";
|
|
}
|