Compare commits

..

2 Commits

Author SHA1 Message Date
Felix Albrigtsen
fc7e3decc6 fa-t14-2025: Minor adjustments 2025-08-21 15:43:28 +02:00
Felix Albrigtsen
0490048a14 fa-t14-2025: Add docker, minor adjustments. home: improve tmux config 2025-08-21 15:43:28 +02:00
3 changed files with 35 additions and 21 deletions

View File

@ -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";
};
}

View File

@ -11,28 +11,39 @@
networking = {
networkmanager.enable = true;
wireguard.enable = true;
tempAddresses = "disabled";
hostName = "fa-t14-2025";
nameservers = [ "1.1.1.1" "1.0.0.1" ];
domain = "mktv.local";
nameservers = [ "9.9.9.9" ];
domain = "it.hime.no";
hostId = "f458d6aa";
search = [
"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";
}

View File

@ -15,6 +15,7 @@ in {
element-desktop
hunspellDicts.en_US
hunspellDicts.nb_NO
iperf3
jq
libreoffice
mpv
@ -23,10 +24,10 @@ in {
openvpn
pavucontrol
pwgen
# securecrt
traceroute
virt-manager
w3m
nixpkgs-2211.remmina
(unstable.microsoft-edge.overrideAttrs ({ installPhase ? "", ... }: {
installPhase = installPhase + ''