moved nixpkgs config

This commit is contained in:
Aleksandr Lebedev 2024-12-21 19:49:05 +01:00
parent b860dab819
commit 07c491c51d
2 changed files with 22 additions and 22 deletions

View file

@ -63,13 +63,16 @@
inherit inputs; }; inherit inputs; };
system = x86; system = x86;
#pkgs = import nixpkgs { pkgs = import nixpkgs {
# system = x86; system = x86;
# config = { overlays = [
# allowBroken = true; inputs.hyprpanel.overlay
# allowUnfree = true; ];
# }; config = {
# }; allowBroken = true;
allowUnfree = true;
};
};
modules = [ modules = [
(import ./nixos/modules/disko/impermanence-disko.nix { device = "/dev/nvme0n1"; } ) (import ./nixos/modules/disko/impermanence-disko.nix { device = "/dev/nvme0n1"; } )
./nixos/configuration.nix ./nixos/configuration.nix
@ -88,16 +91,18 @@
inherit inputs; }; inherit inputs; };
system = arm; system = arm;
#pkgs = import nixpkgs { pkgs = import nixpkgs {
# system = arm; system = arm;
# overlays = [ overlays = [
# (import ./nixos/macos/widevine.nix) #(import ./nixos/macos/widevine.nix)
# ]; inputs.hyprpanel.overlay
# config = { ];
# allowBroken = true; config = {
# allowUnfree = true; allowBroken = true;
# }; allowUnfree = true;
# }; allowUnsupportedSystem = true;
};
};
modules = [ modules = [
./nixos/configuration.nix ./nixos/configuration.nix
]; ];

View file

@ -111,11 +111,6 @@
style = "kvantum"; style = "kvantum";
}; };
# Allow unfree packages
nixpkgs.system = hwconfig.system;
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowBroken = true;
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [