Added NordVPN via NUR

This commit is contained in:
2026-01-04 22:59:23 +01:00
parent 7959af3e39
commit 662afe7238
9 changed files with 137 additions and 56 deletions

View File

@@ -35,9 +35,14 @@
users.users.${currentSystemUser} = {
isNormalUser = true;
description = "Patrick Canal";
extraGroups = [ "networkmanager" "wheel" "docker" ];
extraGroups = [ "networkmanager" "wheel" "docker" "nordvpn" ];
shell = pkgs.fish;
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nixpkgs.config.packageOverrides = pkgs: {
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/main.tar.gz") {
inherit pkgs;
};
};
}

15
modules/nordvpn.nix Normal file
View File

@@ -0,0 +1,15 @@
{ pkgs, nur, ... } @ inputs:
{
imports = [
inputs.nur.modules.nixos.default
inputs.nur.legacyPackages.x86_64-linux.repos.wingej0.modules.nordvpn
];
nixpkgs.overlays = [
(final: prev: {
nordvpn = pkgs.nur.repos.wingej0.nordvpn;
})
];
services.nordvpn.enable = true;
}

View File

@@ -1,5 +1,9 @@
{ pkgs, gamingSystem, workSystem, currentSystemDe, ... }@ inputs:
{ pkgs, nur, gamingSystem, workSystem, currentSystemDe, ... }@ inputs:
{
imports = [
./nordvpn.nix
];
environment.systemPackages = with pkgs; [
# CLI utils
appimage-run
@@ -59,6 +63,7 @@
++ (if gamingSystem then [
archipelago
cura-appimage
discord
dolphin-emu
ftb-app
heroic
@@ -68,7 +73,6 @@
openrgb
prismlauncher
protonplus
vesktop
xenia-canary
] else [])
++ (if workSystem then [
@@ -106,5 +110,4 @@
programs.nh = {
enable = true;
};
}