fa-t14-2025: Add docker, minor adjustments. home: improve tmux config
This commit is contained in:
parent
74b7feb043
commit
0490048a14
@ -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";
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -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";
|
||||
}
|
||||
|
@ -27,6 +27,7 @@ in {
|
||||
traceroute
|
||||
virt-manager
|
||||
w3m
|
||||
nixpkgs-2211.remmina
|
||||
|
||||
(unstable.microsoft-edge.overrideAttrs ({ installPhase ? "", ... }: {
|
||||
installPhase = installPhase + ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user