mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
mullvad: init
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
../../hostsModules/laptop/nixos/disk.nix
|
../../hostsModules/laptop/nixos/disk.nix
|
||||||
../../modules/nixos/printer.nix
|
../../modules/nixos/printer.nix
|
||||||
../../hostsModules/laptop/nixos/ollama.nix # llm config
|
../../hostsModules/laptop/nixos/ollama.nix # llm config
|
||||||
|
../../modules/nixos/mullvad.nix # vpn config
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -59,6 +60,14 @@
|
|||||||
"/share/applications"
|
"/share/applications"
|
||||||
"/share/xdg-desktop-portal"
|
"/share/xdg-desktop-portal"
|
||||||
];
|
];
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
extraPortals = [
|
||||||
|
pkgs.xdg-desktop-portal-wlr
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
|
};
|
||||||
# removes uxterm
|
# removes uxterm
|
||||||
services.xserver.excludePackages = [pkgs.xterm];
|
services.xserver.excludePackages = [pkgs.xterm];
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
../../modules/home-manager/vivify.nix # neovim markdown viewer (has also config for qutebrowser
|
../../modules/home-manager/vivify.nix # neovim markdown viewer (has also config for qutebrowser
|
||||||
#../../modules/home-manager/micro.nix # micro text editor. Not main editor (used for testing for notewrapper)
|
#../../modules/home-manager/micro.nix # micro text editor. Not main editor (used for testing for notewrapper)
|
||||||
../../modules/home-manager/sbb-tui.nix # cff TUI app
|
../../modules/home-manager/sbb-tui.nix # cff TUI app
|
||||||
|
../../modules/home-manager/mullvad.nix # mullvad vpn
|
||||||
|
|
||||||
../../modules/other/desktopEntries.nix # creates .desktop files
|
../../modules/other/desktopEntries.nix # creates .desktop files
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
# see also ../nixos/mullvad.nix
|
||||||
|
{
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.mullvad-vpn = {
|
||||||
|
enable = true;
|
||||||
|
# see https://github.com/mullvad/mullvadvpn-app/blob/main/desktop/packages/mullvad-vpn/src/main/gui-settings.ts for options
|
||||||
|
settings = {
|
||||||
|
autoConnect = true;
|
||||||
|
autoStart = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
/nix/store/c0iwr0v7bjfka094wv6hd1hjmrkx9hm9-options.json
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# see also ../home-manager/mullvad.nix
|
||||||
|
{
|
||||||
|
pkgs-unstable,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
services.mullvad-vpn = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs-unstable.mullvad-vpn;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user