nas home-manager stable nixpkgs

This commit is contained in:
mjallen18
2024-03-27 19:01:05 -05:00
parent aafdac47d2
commit 75ebde2cce
2 changed files with 45 additions and 4 deletions

View File

@@ -4,7 +4,6 @@
inputs = {
# Common
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
.url = "github:NixOS/nixpkgs/nixos-23.11";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
# Desktop
@@ -16,6 +15,10 @@
url = "github:nix-community/lanzaboote/v0.3.0";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
home-manager-stable.url = "github:nix-community/home-manager";
home-manager-stable.inputs.nixpkgs.follows = "nixpkgs-stable";
nixos-apple-silicon.url = "github:tpwrules/nixos-apple-silicon";
@@ -26,7 +29,7 @@
};
outputs = { self, nixpkgs, nixpkgs-stable, chaotic, lanzaboote, impermanence, nix-flatpak, home-manager
, nixos-hardware, nix-darwin, nixos-apple-silicon }@inputs: {
, nixos-hardware, nix-darwin, nixos-apple-silicon, home-manager-stable }@inputs: {
nixosConfigurations = {
# Desktop
"matt-nixos" = nixpkgs.lib.nixosSystem {
@@ -52,7 +55,7 @@
system = "x86_64-linux";
modules = [
./hosts/nas/configuration.nix
home-manager.nixosModules.home-manager
home-manager-stable.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;