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 pwgen
sshfs sshfs
sshuttle sshuttle
tmux
]; ];
sessionVariables = { 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 = { networking = {
networkmanager.enable = true; networkmanager.enable = true;
wireguard.enable = true;
tempAddresses = "disabled"; tempAddresses = "disabled";
hostName = "fa-t14-2025"; hostName = "fa-t14-2025";
nameservers = [ "1.1.1.1" "1.0.0.1" ]; nameservers = [ "9.9.9.9" ];
domain = "mktv.local"; domain = "it.hime.no";
hostId = "f458d6aa"; hostId = "f458d6aa";
search = [ search = [
"mktv.no" "mktv.no"
"mktv.local" "mktv.local"
]; ];
};
# firewall.extraCommands = '' services.openssh.openFirewall = false;
# # 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
# '';
# firewall.extraStopCommands = '' environment.systemPackages = with pkgs; [
# iptables -F nixos-fw inetutils
# ip6tables -F nixos-fw wireguard-tools
# ''; ];
virtualisation.docker = {
enable = true;
rootless = {
enable = true;
setSocketVariable = true;
};
};
users.users.felixalb = {
uid = 1000;
openssh.authorizedKeys.keys = [ ];
extraGroups = [ "networkmanager" ];
}; };
console.keyMap = "no"; 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"; system.stateVersion = "25.05";
} }

View File

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