Compare commits
2 Commits
74b7feb043
...
fc7e3decc6
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fc7e3decc6 | ||
![]() |
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,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";
|
||||
}
|
||||
|
@ -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 + ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user