rearrange imports
This commit is contained in:
parent
4e86180652
commit
e272155088
19 changed files with 245 additions and 312 deletions
44
flake.nix
44
flake.nix
|
|
@ -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
|
||||
] [];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue