Allow unfree packages
This commit is contained in:
parent
f329f8b501
commit
f5e578c184
11
flake.nix
11
flake.nix
|
|
@ -46,6 +46,11 @@
|
||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
overlays = [ nix-vscode-extensions.overlays.default ];
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
@ -63,6 +68,7 @@
|
||||||
inherit username;
|
inherit username;
|
||||||
inherit gpgSigningKey;
|
inherit gpgSigningKey;
|
||||||
};
|
};
|
||||||
|
pkgs = pkgs;
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/${host}
|
./hosts/${host}
|
||||||
];
|
];
|
||||||
|
|
@ -80,6 +86,7 @@
|
||||||
inherit profile;
|
inherit profile;
|
||||||
inherit username;
|
inherit username;
|
||||||
};
|
};
|
||||||
|
pkgs = pkgs;
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/${host}
|
./hosts/${host}
|
||||||
];
|
];
|
||||||
|
|
@ -96,7 +103,9 @@
|
||||||
inherit host;
|
inherit host;
|
||||||
inherit profile;
|
inherit profile;
|
||||||
inherit username;
|
inherit username;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
pkgs = pkgs;
|
||||||
modules = [
|
modules = [
|
||||||
(nixpkgs + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
(nixpkgs + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
||||||
{ environment.systemPackages = [ install-system.packages.${system}.default ]; }
|
{ environment.systemPackages = [ install-system.packages.${system}.default ]; }
|
||||||
|
|
@ -114,7 +123,7 @@
|
||||||
inherit profile;
|
inherit profile;
|
||||||
inherit username;
|
inherit username;
|
||||||
};
|
};
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = pkgs;
|
||||||
modules = [
|
modules = [
|
||||||
./homes/josh/home.nix
|
./homes/josh/home.nix
|
||||||
stylix.homeModules.stylix
|
stylix.homeModules.stylix
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ in
|
||||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
useGlobalPkgs = false;
|
useGlobalPkgs = true;
|
||||||
backupFileExtension = "backup";
|
backupFileExtension = "backup";
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit
|
inherit
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
./fzf.nix
|
./fzf.nix
|
||||||
./hyprland
|
./hyprland
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./overlays.nix
|
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
./vscodium.nix
|
./vscodium.nix
|
||||||
./walker.nix
|
./walker.nix
|
||||||
|
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
nixpkgs = {
|
|
||||||
overlays = [
|
|
||||||
inputs.nix-vscode-extensions.overlays.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue