diff --git a/flake.lock b/flake.lock index 6d020b81..7e0e27d4 100644 --- a/flake.lock +++ b/flake.lock @@ -86,13 +86,30 @@ "type": "github" } }, + "nixpkgs-unstable-small": { + "locked": { + "lastModified": 1711297276, + "narHash": "sha256-KtHBr73Z729krfueBV6pUsEyq/4vILGP77DPmrKOTrI=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "3d41d1087707826b3a90685ab69147f8dc8145d5", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable-small", + "repo": "nixpkgs", + "type": "github" + } + }, "root": { "inputs": { "home-manager": "home-manager", "home-manager-unstable": "home-manager-unstable", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", - "nixpkgs-unstable": "nixpkgs-unstable" + "nixpkgs-unstable": "nixpkgs-unstable", + "nixpkgs-unstable-small": "nixpkgs-unstable-small" } } }, diff --git a/flake.nix b/flake.nix index 74e5de16..7928d023 100644 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,9 @@ # Unstable NixOS channel. nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; + # Unstable-small NixOS channel. + nixpkgs-unstable-small.url = "github:nixos/nixpkgs/nixos-unstable-small"; + # Home-manager, used for managing user configuration. home-manager-unstable = { url = "github:nix-community/home-manager/master"; @@ -35,7 +38,7 @@ }; outputs = inputs@{ nixpkgs, home-manager, nixpkgs-unstable - , home-manager-unstable, nixos-hardware, ... }: { + , nixpkgs-unstable-small, home-manager-unstable, nixos-hardware, ... }: { homeConfigurations."aly" = home-manager-unstable.lib.homeManagerConfiguration { @@ -46,7 +49,7 @@ nixosConfigurations = { # Framework 13 with AMD Ryzen 7640U and 32GB RAM. - lavaridge = nixpkgs-unstable.lib.nixosSystem { + lavaridge = nixpkgs-unstable-small.lib.nixosSystem { system = "x86_64-linux"; modules = [ nixos-hardware.nixosModules.framework-13-7040-amd