Allow unfree packages
This commit is contained in:
parent
f329f8b501
commit
f5e578c184
11
flake.nix
11
flake.nix
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ in
|
|||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = false;
|
||||
useGlobalPkgs = true;
|
||||
backupFileExtension = "backup";
|
||||
extraSpecialArgs = {
|
||||
inherit
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
./fzf.nix
|
||||
./hyprland
|
||||
./kitty.nix
|
||||
./overlays.nix
|
||||
./stylix.nix
|
||||
./vscodium.nix
|
||||
./walker.nix
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
inputs.nix-vscode-extensions.overlays.default
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue