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.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
|
system = { # NixOS settings
|
||||||
autoUpgrade = { # Allow auto update
|
autoUpgrade = { # Allow auto update
|
||||||
|
@ -22,6 +22,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
desktop = lib.nixosSystem { # Desktop profile
|
desktop = lib.nixosSystem { # Desktop profile
|
||||||
@ -46,7 +47,7 @@ in
|
|||||||
|
|
||||||
laptop = lib.nixosSystem { # Laptop profile
|
laptop = lib.nixosSystem { # Laptop profile
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit inputs user location hyprland nixos-hardware; };
|
specialArgs = { inherit inputs user location hyprland nixos-hardware nur; };
|
||||||
modules = [
|
modules = [
|
||||||
nur.nixosModules.nur
|
nur.nixosModules.nur
|
||||||
hyprland.nixosModules.default
|
hyprland.nixosModules.default
|
||||||
@ -55,6 +56,9 @@ in
|
|||||||
nixos-hardware.nixosModules.common-cpu-intel
|
nixos-hardware.nixosModules.common-cpu-intel
|
||||||
|
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
nur.overlay
|
||||||
|
];
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.extraSpecialArgs = { inherit user; };
|
home-manager.extraSpecialArgs = { inherit user; };
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
# Applications
|
# Applications
|
||||||
libreoffice # Office packages
|
libreoffice # Office packages
|
||||||
firefox
|
#firefox
|
||||||
chromium
|
chromium
|
||||||
thunderbird
|
thunderbird
|
||||||
streamlink-twitch-gui-bin
|
streamlink-twitch-gui-bin
|
||||||
|
Loading…
Reference in New Issue
Block a user