pre shitfuckery
This commit is contained in:
parent
72d6e48343
commit
4a5582de57
3 changed files with 10 additions and 3 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
../../modules/nixos/networking/ssh.nix
|
../../modules/nixos/networking/ssh.nix
|
||||||
../../modules/nixos/users/tulg.nix
|
../../modules/nixos/users/tulg.nix
|
||||||
./traefik.nix
|
./traefik.nix
|
||||||
|
#../../modules/home-manager/cli/default.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "kittykat";
|
networking.hostName = "kittykat";
|
||||||
|
|
@ -21,9 +22,9 @@
|
||||||
services.xray-3x-ui = {
|
services.xray-3x-ui = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 2053;
|
port = 2053;
|
||||||
openFirewall = true;
|
openFirewall = false;
|
||||||
};
|
};
|
||||||
|
networking.firewall.allowedTCPPorts = [45544 22];
|
||||||
services.vaultwarden = {
|
services.vaultwarden = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
@ -33,6 +34,9 @@
|
||||||
ROCKET_PORT = 8222;
|
ROCKET_PORT = 8222;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
programs.bash.interactiveShellInit = ''
|
||||||
|
PS1="\[\e[38;5;177m\]\u\[\e[0m\]@\[\e[38;5;220m\]\h\[\e[0m\] \[\e[38;5;33m\]\w\[\e[0m\] \$ "
|
||||||
|
'';
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [80 443];
|
allowedTCPPorts = [80 443];
|
||||||
};
|
};
|
||||||
|
networking.firewall.extraInputRules = ''
|
||||||
|
tcp dport 2053 drop
|
||||||
|
''; #fuck off
|
||||||
|
|
||||||
services.traefik = {
|
services.traefik = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
rb = "sudo nixos-rebuild switch --flake ~/nixdots#";
|
rb = "sudo nixos-rebuild switch --flake ~/nixdots#";
|
||||||
nixtest = "sudo nixos-rebuild test --flake ~/nixdots#";
|
nixtest = "sudo nixos-rebuild test --flake ~/nixdots#";
|
||||||
infect = "nix run github:nix-community/nixos-anywhere -- -- flake";
|
infect = "nix run github:nix-community/nixos-anywhere -- -- flake";
|
||||||
deploy = "nix run github:serokell/deploy-rs --"; # deploy .#kittykat
|
deploy = "nix run github:serokell/deploy-rs --"; # deploy
|
||||||
};
|
};
|
||||||
|
|
||||||
bashrcExtra = ''
|
bashrcExtra = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue