Compare commits

...

4 commits

7 changed files with 39 additions and 16 deletions

View file

@ -38,12 +38,6 @@
group = "media";
};
services.bazarr = {
enable = true;
openFirewall = true;
group = "media";
};
# Torrent client
services.deluge = {
enable = true;

View file

@ -18,6 +18,8 @@
wg0Private.file = ../../secrets/fuyuki-wg0.age;
};
my.connection.vpn.enable = true;
my.users = {
dala = {
description = "Dala";

View file

@ -54,6 +54,8 @@
];
};
my.connection.vpn.enable = true;
# User config
my.users = {
dala = {

18
flake.lock generated
View file

@ -248,11 +248,11 @@
]
},
"locked": {
"lastModified": 1735900408,
"narHash": "sha256-U+oZBQ3f5fF2hHsupKQH4ihgTKLHgcJh6jEmKDg+W10=",
"lastModified": 1736420674,
"narHash": "sha256-GXwG0JOwQjRGtCF8tbt2ilH1dU5FZ4oro3Pff/TiDl0=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "1c8d4c8d592e8fab4cff4397db5529ec6f078cf9",
"rev": "01f40d52d65318463d71aa485fe9ad6f26357b45",
"type": "github"
},
"original": {
@ -353,11 +353,11 @@
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1735669367,
"narHash": "sha256-tfYRbFhMOnYaM4ippqqid3BaLOXoFNdImrfBfCp4zn0=",
"lastModified": 1736200483,
"narHash": "sha256-JO+lFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "edf04b75c13c2ac0e54df5ec5c543e300f76f1c9",
"rev": "3f0a8ac25fb674611b98089ca3a5dd6480175751",
"type": "github"
},
"original": {
@ -369,11 +369,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1735471104,
"narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=",
"lastModified": 1736344531,
"narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4",
"rev": "bffc22eb12172e6db3c5dde9e3e5628f8e3e7912",
"type": "github"
},
"original": {

View file

@ -14,6 +14,7 @@
./bluetooth.nix
./wireshark.nix
./ssh.nix
./vpn.nix
];
config =

View file

@ -41,7 +41,7 @@ in
with pkgs;
[
htop
firefox
mullvad-browser
autojump
nextcloud-client
keepassxc

View file

@ -0,0 +1,24 @@
{
pkgs,
lib,
config,
...
}:
let
vpnConfigEnable = config.my.connection.vpn.enable;
in
with lib;
{
options.my.connection.vpn.enable = mkOption {
type = types.bool;
default = false;
description = "Enable the Mullvad VPN stack.";
};
config = mkIf vpnConfigEnable {
services.mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
};
};
}