diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-21 00:21:30 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-21 00:21:30 -0700 |
commit | 2c43679382b40ccdff7eacf3a5dffdacf4dfd43e (patch) | |
tree | da71537dfefa0dd2b60f265a3227d66e57665ede /flake.nix | |
parent | bf1aa621b70c5f5ad1d75d7ffeb836387cf53e00 (diff) | |
download | nix-2c43679382b40ccdff7eacf3a5dffdacf4dfd43e.tar nix-2c43679382b40ccdff7eacf3a5dffdacf4dfd43e.tar.gz nix-2c43679382b40ccdff7eacf3a5dffdacf4dfd43e.tar.bz2 nix-2c43679382b40ccdff7eacf3a5dffdacf4dfd43e.tar.lz nix-2c43679382b40ccdff7eacf3a5dffdacf4dfd43e.tar.xz nix-2c43679382b40ccdff7eacf3a5dffdacf4dfd43e.tar.zst nix-2c43679382b40ccdff7eacf3a5dffdacf4dfd43e.zip |
Attempt to clean up flake
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 100 |
1 files changed, 76 insertions, 24 deletions
@@ -30,14 +30,26 @@ }; - outputs = inputs@{ home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, sops-nix, ... }: rec { + outputs = inputs@{ home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, sops-nix, ... }: { nixosConfigurations = { - arrakis = nixpkgs-unstable.lib.nixosSystem { - pkgs = pkgs-unstable; - #specialArgs = { inherit inputs; }; + arrakis = nixpkgs-unstable.lib.nixosSystem rec { system = "x86_64-linux"; + + specialArgs = { + pkgs = import nixpkgs-unstable { + inherit system; + config.allowUnfree = true; + overlays = [(import ./pkgs)]; + }; + + pkgs-stable = import nixpkgs-stable { + inherit system; + config.allowUnfree = true; + }; + }; + modules = [ ./hosts/arrakis home-manager-unstable.nixosModules.home-manager { @@ -49,10 +61,22 @@ ]; }; - darkstar = nixpkgs-unstable.lib.nixosSystem { - pkgs = pkgs-unstable; - #specialArgs = { inherit inputs; }; + darkstar = nixpkgs-unstable.lib.nixosSystem rec { system = "x86_64-linux"; + + specialArgs = { + pkgs = import nixpkgs-unstable { + inherit system; + config.allowUnfree = true; + overlays = [(import ./pkgs)]; + }; + + pkgs-stable = import nixpkgs-stable { + inherit system; + config.allowUnfree = true; + }; + }; + modules = [ ./hosts/darkstar home-manager-unstable.nixosModules.home-manager { @@ -63,10 +87,22 @@ ]; }; - ginaz = nixpkgs-unstable.lib.nixosSystem { - pkgs = pkgs-unstable; - #specialArgs = { inherit inputs; }; + ginaz = nixpkgs-unstable.lib.nixosSystem rec { system = "x86_64-linux"; + + specialArgs = { + pkgs = import nixpkgs-unstable { + inherit system; + config.allowUnfree = true; + overlays = [(import ./pkgs)]; + }; + + pkgs-stable = import nixpkgs-stable { + inherit system; + config.allowUnfree = true; + }; + }; + modules = [ ./hosts/ginaz home-manager-unstable.nixosModules.home-manager { @@ -79,9 +115,22 @@ ]; }; - kaitain = nixpkgs-unstable.lib.nixosSystem { - pkgs = pkgs-unstable; + kaitain = nixpkgs-unstable.lib.nixosSystem rec { system = "x86_64-linux"; + + specialArgs = { + pkgs = import nixpkgs-unstable { + inherit system; + config.allowUnfree = true; + overlays = [(import ./pkgs)]; + }; + + pkgs-stable = import nixpkgs-stable { + inherit system; + config.allowUnfree = true; + }; + }; + modules = [ ./hosts/kaitain home-manager-unstable.nixosModules.home-manager { @@ -91,9 +140,22 @@ ]; }; - richese = nixpkgs-unstable.lib.nixosSystem { - pkgs = pkgs-unstable; + richese = nixpkgs-unstable.lib.nixosSystem rec { system = "x86_64-linux"; + + specialArgs = { + pkgs = import nixpkgs-unstable { + inherit system; + config.allowUnfree = true; + overlays = [(import ./pkgs)]; + }; + + pkgs-stable = import nixpkgs-stable { + inherit system; + config.allowUnfree = true; + }; + }; + modules = [ ./hosts/richese home-manager-unstable.nixosModules.home-manager { @@ -102,19 +164,9 @@ } ]; }; - }; - pkgs-stable = import nixpkgs-stable { - system = "x86_64-linux"; - config.allowUnfree = true; - overlays = [(import ./pkgs)]; }; - pkgs-unstable = import nixpkgs-unstable { - system = "x86_64-linux"; - config.allowUnfree = true; - overlays = [(import ./pkgs)]; - }; }; } |