rearrange imports

This commit is contained in:
tristan 2024-01-06 17:40:24 +00:00
parent 4e86180652
commit e272155088
19 changed files with 245 additions and 312 deletions

View file

@ -15,30 +15,36 @@
};
};
outputs = {
nixpkgs,
home-manager,
stylix,
...
} @ inputs: let
outputs = inputs: let
system = "x86_64-linux";
mkConf = import ./lib/mkconf.nix;
pkgs = import nixpkgs {inherit system;};
pkgs = import inputs.nixpkgs {inherit system;};
user = "tristan";
userName = "Tristan Beedell";
userFullname = "Tristan Beedell";
mkConf = import ./lib/mkconf.nix {inherit inputs system user userFullname;};
in {
formatter.${system} = pkgs.alejandra;
nixosConfigurations = {
zenix = mkConf "zenix" {
inherit inputs nixpkgs system user userName home-manager;
};
vm = mkConf "vm" {
inherit inputs nixpkgs system user userName home-manager;
};
FCS-Tristan-Nixbook = mkConf "work" {
inherit inputs nixpkgs system user userName home-manager;
work = true;
};
zenix =
mkConf [
./hardware/zenix.nix
./nixos/programs/hyprland.nix
./nixos/programs/gamer.nix
./nixos/programs/personal.nix
] [
./home/programs/gamer.nix
./home/programs/personal.nix
];
vm = mkConf [
./hardware/vm.nix
] [];
FCS-Tristan-Nixbook = mkConf [
./hardware/fcs-tristan-nixbook.nix
./nixos/programs/hyprland.nix
./nixos/modules/work.nix
] [];
};
};
}