1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 02:57:44 +00:00

Remove tard

This commit is contained in:
RGBCube 2024-05-27 10:52:27 +03:00
parent 78bc404378
commit 3b8ce6bf55
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
8 changed files with 0 additions and 87 deletions

2
.gitignore vendored
View file

@ -19,8 +19,6 @@
!hosts/nine/
!hosts/tard/
!modules/
!modules/hyprland/
!modules/nushell/

View file

@ -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";
})

View file

@ -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.

View file

@ -4,5 +4,4 @@
enka = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBVkWUQ6Z4OK539tore/R5wnueNPPaX532RUAld8UOCo said@enka";
pala = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEXXxaxhkIMy0UyLOOnvwkNjzypS7D9kElHGKw8pZuFb said@pala";
nine = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILJDqnItmvXZMTSwzbalr+9jzS4kSJm5PWEpI8GOpebF seven@nine";
tard = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDzvLg5IvqGzqdiNUOsRLPdYC56wXXSYNo9QNlXwaCKw tail@tard";
}

View file

@ -57,12 +57,6 @@ in homeConfiguration {
port = 2222;
};
tard = {
hostname = self.tard.networking.ipv4;
user = "tail";
port = 2222;
};
robotic = {
hostname = "86.105.252.189";
user = "rgbcube";

View file

@ -39,10 +39,6 @@ in with keys; {
"hosts/nine/id.age".publicKeys = withAdmins nine;
"hosts/nine/password.seven.age".publicKeys = withAdmins nine;
# tard
"hosts/tard/id.age".publicKeys = withAdmins tard;
"hosts/tard/password.tail.age".publicKeys = withAdmins tard;
# shared
"modules/ssh/config.age".publicKeys = all;
}