mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
Remove tard
This commit is contained in:
parent
78bc404378
commit
3b8ce6bf55
8 changed files with 0 additions and 87 deletions
|
@ -1,50 +0,0 @@
|
|||
{ config, lib, keys, ... }: with lib; merge
|
||||
|
||||
(systemConfiguration {
|
||||
system.stateVersion = "23.11";
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
||||
secrets.id.file = ./id.age;
|
||||
secrets.tailPassword.file = ./password.tail.age;
|
||||
|
||||
users.users = {
|
||||
root.hashedPasswordFile = config.secrets.tailPassword.path;
|
||||
|
||||
tail = sudoUser {
|
||||
description = "Tail";
|
||||
openssh.authorizedKeys.keys = [ keys.enka ];
|
||||
hashedPasswordFile = config.secrets.tailPassword.path;
|
||||
};
|
||||
};
|
||||
|
||||
services.openssh.hostKeys = [{
|
||||
type = "ed25519";
|
||||
path = config.secrets.id.path;
|
||||
}];
|
||||
|
||||
networking = {
|
||||
ipv4 = "143.198.73.55";
|
||||
ipv6 = "2604:a880:4:1d0::86d:a000";
|
||||
|
||||
domain = "rgbcu.be";
|
||||
|
||||
defaultGateway = "143.198.64.1";
|
||||
defaultGateway6 = "2604:a880:4:1d0::1";
|
||||
|
||||
interfaces.ens3 = {
|
||||
ipv4.addresses = [{
|
||||
address = config.networking.ipv4;
|
||||
prefixLength = 20;
|
||||
}];
|
||||
|
||||
ipv6.addresses = [{
|
||||
address = config.networking.ipv6;
|
||||
prefixLength = 64;
|
||||
}];
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
(homeConfiguration {
|
||||
home.stateVersion = "23.11";
|
||||
})
|
|
@ -1,24 +0,0 @@
|
|||
{ lib, modulesPath, ... }: with lib;
|
||||
|
||||
systemConfiguration {
|
||||
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
|
||||
|
||||
boot.loader.grub = enabled {
|
||||
device = "/dev/vda";
|
||||
};
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"ata_piix"
|
||||
"uhci_hcd"
|
||||
"vmw_pvscsi"
|
||||
"xen_blkfront"
|
||||
];
|
||||
|
||||
boot.initrd.kernelModules = [ "nvme" ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/root";
|
||||
fsType = "ext4";
|
||||
options = [ "noatime" ];
|
||||
};
|
||||
}
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue