update how website is served
This commit is contained in:
+15
-18
@@ -2,29 +2,26 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules/network.nix
|
||||
../../modules/ssh.nix
|
||||
../../modules/wireguard.nix
|
||||
../../modules/http-forwarding.nix
|
||||
./hardware-configuration.nix
|
||||
|
||||
../../modules/network.nix
|
||||
../../modules/ssh.nix
|
||||
../../modules/wireguard.nix
|
||||
../../modules/http-forwarding.nix
|
||||
];
|
||||
|
||||
network.node = "vps";
|
||||
|
||||
network.node = "vps";
|
||||
networking.hostName = "vps";
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
wireguard-tools
|
||||
nftables
|
||||
vim
|
||||
];
|
||||
users.root = import ../../home/root.nix;
|
||||
};
|
||||
programs.zsh.enable = true;
|
||||
users.users.root.shell = pkgs.zsh;
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
system.stateVersion = "26.05";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user