Allow unfree packages

This commit is contained in:
Joshua Yuen 2026-06-20 23:23:35 -04:00
parent f329f8b501
commit f5e578c184
Signed by: josh
GPG Key ID: 530DA0331EFE99F5
4 changed files with 11 additions and 14 deletions

View File

@ -46,6 +46,11 @@
}@inputs:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [ nix-vscode-extensions.overlays.default ];
};
in
{
nixosConfigurations = {
@ -63,6 +68,7 @@
inherit username;
inherit gpgSigningKey;
};
pkgs = pkgs;
modules = [
./hosts/${host}
];
@ -80,6 +86,7 @@
inherit profile;
inherit username;
};
pkgs = pkgs;
modules = [
./hosts/${host}
];
@ -96,7 +103,9 @@
inherit host;
inherit profile;
inherit username;
};
pkgs = pkgs;
modules = [
(nixpkgs + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
{ environment.systemPackages = [ install-system.packages.${system}.default ]; }
@ -114,7 +123,7 @@
inherit profile;
inherit username;
};
pkgs = nixpkgs.legacyPackages.${system};
pkgs = pkgs;
modules = [
./homes/josh/home.nix
stylix.homeModules.stylix

View File

@ -15,7 +15,7 @@ in
imports = [ inputs.home-manager.nixosModules.home-manager ];
home-manager = {
useUserPackages = true;
useGlobalPkgs = false;
useGlobalPkgs = true;
backupFileExtension = "backup";
extraSpecialArgs = {
inherit

View File

@ -8,7 +8,6 @@
./fzf.nix
./hyprland
./kitty.nix
./overlays.nix
./stylix.nix
./vscodium.nix
./walker.nix

View File

@ -1,11 +0,0 @@
{
inputs,
...
}:
{
nixpkgs = {
overlays = [
inputs.nix-vscode-extensions.overlays.default
];
};
}