nixbook: update, tweaks

This commit is contained in:
tristan 2024-10-28 12:24:31 +00:00
parent 5df2f606da
commit 62d9f9ef41
11 changed files with 182 additions and 102 deletions

View file

@ -9,9 +9,15 @@
home-modules ? [],
}: let
inherit (inputs) home-manager nixpkgs sops-nix nixvim;
stable-pkgs = import inputs.nixpkgs-stable {
inherit system;
config.permittedInsecurePackages = [
"electron-27.3.11"
];
};
in
nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
specialArgs = {inherit inputs stable-pkgs;};
inherit system;
@ -25,6 +31,7 @@ in
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "bak";
extraSpecialArgs = {inherit stable-pkgs;};
users.${user}.imports =
home-modules
++ [