diff --git a/home/base.nix b/home/base.nix index e3422d6..8479206 100644 --- a/home/base.nix +++ b/home/base.nix @@ -14,7 +14,6 @@ pwgen sshfs sshuttle - tmux ]; sessionVariables = { @@ -56,4 +55,15 @@ ]; }; + programs.tmux = { + enable = true; + sensibleOnTop = true; + + baseIndex = 1; + clock24 = true; + keyMode = "vi"; + mouse = true; + terminal = "screen-256color"; + }; + } diff --git a/hosts/fa-t14-2025/configuration.nix b/hosts/fa-t14-2025/configuration.nix index cd2a807..e878ddd 100644 --- a/hosts/fa-t14-2025/configuration.nix +++ b/hosts/fa-t14-2025/configuration.nix @@ -11,6 +11,7 @@ networking = { networkmanager.enable = true; + wireguard.enable = true; tempAddresses = "disabled"; hostName = "fa-t14-2025"; @@ -22,17 +23,27 @@ "mktv.no" "mktv.local" ]; + }; - # firewall.extraCommands = '' - # # IT VPN - # iptables -I nixos-fw -p tcp -m tcp --dport 22 --source 129.241.117.0/24 -j nixos-fw-accept - # ip6tables -I nixos-fw -p tcp -m tcp --dport 22 --source 2001:700:301:12::/63 -j nixos-fw-accept - # ''; + services.openssh.openFirewall = false; - # firewall.extraStopCommands = '' - # iptables -F nixos-fw - # ip6tables -F nixos-fw - # ''; + environment.systemPackages = with pkgs; [ + inetutils + wireguard-tools + ]; + + virtualisation.docker = { + enable = true; + rootless = { + enable = true; + setSocketVariable = true; + }; + }; + + users.users.felixalb = { + uid = 1000; + openssh.authorizedKeys.keys = [ ]; + extraGroups = [ "networkmanager" ]; }; console.keyMap = "no"; @@ -45,13 +56,5 @@ ]; }; - services.openssh.openFirewall = false; - - users.users.felixalb = { - uid = 1000; - openssh.authorizedKeys.keys = [ ]; - extraGroups = [ "networkmanager" ]; - }; - system.stateVersion = "25.05"; } diff --git a/hosts/fa-t14-2025/home.nix b/hosts/fa-t14-2025/home.nix index 83b4517..03ee7a2 100644 --- a/hosts/fa-t14-2025/home.nix +++ b/hosts/fa-t14-2025/home.nix @@ -27,6 +27,7 @@ in { traceroute virt-manager w3m + nixpkgs-2211.remmina (unstable.microsoft-edge.overrideAttrs ({ installPhase ? "", ... }: { installPhase = installPhase + ''