updates and kernal update, might be some issues

This commit is contained in:
Matt Nish-Lapidus 2025-05-14 12:29:08 -04:00
parent f7e0c2aa44
commit e844ff73a6
5 changed files with 192 additions and 43 deletions

View file

@ -120,12 +120,12 @@
inherit (nixpkgs.lib) genAttrs replaceStrings;
inherit (nixpkgs.lib.filesystem) packagesFromDirectoryRecursive listFilesRecursive;
sys = "x86_64-linux";
system = "x86_64-linux";
forAllSystems =
function:
genAttrs [
"x86_64-linux"
system
] (system: function nixpkgs.legacyPackages.${system});
nameOf = path: replaceStrings [ ".nix" ] [ "" ] (baseNameOf (toString path));
@ -133,7 +133,10 @@
configArgs = {
inherit inputs;
nix-config = self;
pkgs-stable = inputs.nixpkgs-stable.legacyPackages.${sys};
pkgs-stable = import inputs.nixpkgs-stable {
inherit system;
config.allowUnfree = true;
};
};
baseHomeModules = [
@ -173,7 +176,7 @@
nixosConfigurations = {
eddie = nixpkgs.lib.nixosSystem {
system = sys;
inherit system;
specialArgs = configArgs;
modules = [
inputs.musnix.nixosModules.musnix
@ -192,7 +195,7 @@
};
media-server = nixpkgs.lib.nixosSystem {
system = sys;
inherit system;
specialArgs = configArgs;
modules = [
home-manager.nixosModules.home-manager
@ -210,7 +213,7 @@
};
services-nixos = nixpkgs.lib.nixosSystem {
system = sys;
inherit system;
specialArgs = configArgs;
modules = [
inputs.sops-nix.nixosModules.sops