This commit is contained in:
Sebastian Moser
2024-12-28 18:37:47 +01:00
parent 87adea3ded
commit cfd9bfccbd
3 changed files with 20 additions and 6 deletions

View File

@@ -13,14 +13,14 @@
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/old" = #fileSystems."/old" =
{ device = "/dev/disk/by-uuid/adbb1f76-7661-4c36-a603-ff510112114d"; #{ device = "/dev/disk/by-uuid/adbb1f76-7661-4c36-a603-ff510112114d";
fsType = "ext4"; #fsType = "ext4";
}; #};
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-label/fusu-root"; { device = "/dev/disk/by-label/fusu-root";
fsType = "btrfs"; fsType = "ext4";
}; };
swapDevices = [ ]; swapDevices = [ ];

View File

@@ -19,6 +19,8 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHTV1VoNAjMha5IP+qb8XABDo02pW3iN0yPBIbSqZA27 me@acern" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHTV1VoNAjMha5IP+qb8XABDo02pW3iN0yPBIbSqZA27 me@acern"
]; ];
# allow server user to shutdown fusu # allow server user to shutdown fusu
security.sudo.extraRules = [ security.sudo.extraRules = [
{ {
@@ -105,7 +107,7 @@
}; };
}; };
networking.interfaces.br0.ipv4.addresses = [ { networking.interfaces.br0.ipv4.addresses = [ {
address = "192.168.1.3"; address = "192.168.1.2";
prefixLength = 24; prefixLength = 24;
} ]; } ];
networking = { networking = {

12
mybin/htldoc Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
if [ -f "htldoc.nix" ]; then
echo -en ""
else
echo "There is not htldoc.nix in this directory" >&2
exit 1
fi
htldocUrl=$(nix eval --expr 'let config = (import ./htldoc.nix {}); in if builtins.hasAttr "htldocVersion" config then config.htldocVersion else "github:c2vi/htldoc/master"' --impure)
nix run $htldocUrl