feat: switch to mullvadvpn, switch to docker

This commit is contained in:
Jacob Bachmann 2024-05-05 11:41:13 +02:00
parent 36ace852a8
commit 720d341cca
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
8 changed files with 21 additions and 21 deletions

View file

@ -61,6 +61,7 @@
};
imports = [
./arr.nix
./audio.nix
./ausweisapp.nix
./bluetooth.nix
@ -73,7 +74,6 @@
./kdeconnect.nix
./keyd.nix
./man.nix
./mozillavpn.nix
./network.nix
./nh.nix
./nix-ld.nix
@ -82,12 +82,10 @@
./ollama.nix
./opengl.nix
./openssh.nix
./openvpn.nix
./power.nix
./packages.nix
./printing.nix
./ratbag.nix
./rr.nix
./security.nix
./shell.nix
./steam.nix
@ -95,6 +93,7 @@
./tts.nix
./udisks2.nix
./virtualisation.nix
./vpn.nix
./xdg-portal.nix
];
}

View file

@ -1,11 +0,0 @@
{ config, lib, pkgs, ... }: lib.mkIf config.bchmnn.vpn.enable {
environment.systemPackages = with pkgs; [
mozillavpn
];
services.mozillavpn = {
enable = true;
};
}

View file

@ -1,5 +0,0 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
openvpn3
];
}

View file

@ -9,6 +9,7 @@
wget # tool for retrieving files using http, https, and ftp
neofetch # a fast, highly customizable system info script
lsd # the next gen ls command
eza # a modern, maintained replacement for ls
ripgrep # a utility that combines the usability of the silver searcher with the raw speed of grep
ripgrep-all # ripgrep, but also search in pdfs, e-books, office documents, zip, tar.gz, and more
expect # a tool for automating interactive applications

View file

@ -3,6 +3,7 @@
# virt-manager
virtualisation = {
libvirtd.enable = true;
/*
podman = {
enable = true;
# create a `docker` alias for podman, to use it as a drop-in replacement
@ -10,8 +11,13 @@
# required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
*/
docker = {
enable = true;
};
oci-containers = {
backend = "podman";
backend = "docker";
# backend = "podman";
};
containers = {
enable = true;

10
modules/vpn.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs, lib, config, ... }: lib. mkIf config.bchmnn.vpn.enable {
environment.systemPackages = with pkgs; [
openvpn3
mullvad-vpn
];
services.mullvad-vpn.enable = true;
}

View file

@ -13,7 +13,7 @@
rust-analyzer
gopls
nixd
typescript
nodePackages_latest.typescript-language-server
];
programs.neovim = {