{ description = "nipsy's NixOS configuration"; inputs = { disko = { url = "github:nix-community/disko"; inputs.nixpkgs.follows = "nixpkgs-unstable"; }; home-manager-stable = { url = "github:nix-community/home-manager/release-24.05"; inputs.nixpkgs.follows = "nixpkgs-stable"; }; home-manager-unstable = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs-unstable"; }; nixos-hardware.url = "github:nixos/nixos-hardware"; nixpkgs-stable.url = "github:nixos/nixpkgs/release-24.05"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nvidia-patch = { url = "github:icewind1991/nvidia-patch-nixos"; inputs.nixpkgs.follows = "nixpkgs-unstable"; }; sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs-unstable"; }; }; outputs = inputs@{ home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, nvidia-patch, sops-nix, ... }: { nixosConfigurations = { 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 { home-manager.sharedModules = [ sops-nix.homeManagerModules.sops ]; home-manager.users.root = import ./home/root/arrakis.nix; home-manager.users.nipsy = import ./home/nipsy/arrakis.nix; } sops-nix.nixosModules.sops ({ config, pkgs, ... }: { nixpkgs.overlays = [ nvidia-patch.overlays.default ]; }) ]; }; 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 { home-manager.users.root = import ./home/root/darkstar.nix; home-manager.users.nipsy = import ./home/nipsy/darkstar.nix; } sops-nix.nixosModules.sops ]; }; 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 { home-manager.sharedModules = [ sops-nix.homeManagerModules.sops ]; home-manager.users.root = import ./home/root/ginaz.nix; home-manager.users.nipsy = import ./home/nipsy/ginaz.nix; } nixos-hardware.nixosModules.lenovo-yoga-7-14ARH7-amdgpu sops-nix.nixosModules.sops ]; }; 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 { home-manager.users.root = import ./home/root/kaitain.nix; home-manager.users.nipsy = import ./home/nipsy/kaitain.nix; } ]; }; 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 { home-manager.users.root = import ./home/root/richese.nix; home-manager.users.nipsy = import ./home/nipsy/richese.nix; } ]; }; }; }; }