add NUR Repository
This commit is contained in:
parent
cd4cccf5bd
commit
ce996ad6b0
@ -152,6 +152,11 @@
|
||||
'';
|
||||
};
|
||||
nixpkgs.config.allowUnfree = true; # Allow proprietary software.
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
||||
inherit pkgs;
|
||||
};
|
||||
};
|
||||
|
||||
system = { # NixOS settings
|
||||
autoUpgrade = { # Allow auto update
|
||||
|
@ -22,6 +22,7 @@ let
|
||||
};
|
||||
|
||||
lib = nixpkgs.lib;
|
||||
|
||||
in
|
||||
{
|
||||
desktop = lib.nixosSystem { # Desktop profile
|
||||
@ -46,7 +47,7 @@ in
|
||||
|
||||
laptop = lib.nixosSystem { # Laptop profile
|
||||
inherit system;
|
||||
specialArgs = { inherit inputs user location hyprland nixos-hardware; };
|
||||
specialArgs = { inherit inputs user location hyprland nixos-hardware nur; };
|
||||
modules = [
|
||||
nur.nixosModules.nur
|
||||
hyprland.nixosModules.default
|
||||
@ -55,6 +56,9 @@ in
|
||||
nixos-hardware.nixosModules.common-cpu-intel
|
||||
|
||||
home-manager.nixosModules.home-manager {
|
||||
nixpkgs.overlays = [
|
||||
nur.overlay
|
||||
];
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = { inherit user; };
|
||||
|
@ -24,7 +24,7 @@
|
||||
packages = with pkgs; [
|
||||
# Applications
|
||||
libreoffice # Office packages
|
||||
firefox
|
||||
#firefox
|
||||
chromium
|
||||
thunderbird
|
||||
streamlink-twitch-gui-bin
|
||||
|
Loading…
Reference in New Issue
Block a user