flake: added nixos-unstable-small

This commit is contained in:
Aly Raffauf 2024-03-24 20:08:22 -04:00
parent b41949543e
commit d4e3fdbda5
2 changed files with 23 additions and 3 deletions

View file

@ -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"
}
}
},

View file

@ -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