new fusu
This commit is contained in:
@@ -13,14 +13,14 @@
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/old" =
|
||||
{ device = "/dev/disk/by-uuid/adbb1f76-7661-4c36-a603-ff510112114d";
|
||||
fsType = "ext4";
|
||||
};
|
||||
#fileSystems."/old" =
|
||||
#{ device = "/dev/disk/by-uuid/adbb1f76-7661-4c36-a603-ff510112114d";
|
||||
#fsType = "ext4";
|
||||
#};
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-label/fusu-root";
|
||||
fsType = "btrfs";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHTV1VoNAjMha5IP+qb8XABDo02pW3iN0yPBIbSqZA27 me@acern"
|
||||
];
|
||||
|
||||
|
||||
|
||||
# allow server user to shutdown fusu
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
@@ -105,7 +107,7 @@
|
||||
};
|
||||
};
|
||||
networking.interfaces.br0.ipv4.addresses = [ {
|
||||
address = "192.168.1.3";
|
||||
address = "192.168.1.2";
|
||||
prefixLength = 24;
|
||||
} ];
|
||||
networking = {
|
||||
|
||||
12
mybin/htldoc
Executable file
12
mybin/htldoc
Executable 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
|
||||
Reference in New Issue
Block a user