Compare commits

..

No commits in common. "506cb0e107a9eda1c80fe067a0923ef84f93cade" and "9fcb66eaf0bebc02e18fe354cb7e7cd7de826f29" have entirely different histories.

8 changed files with 0 additions and 156 deletions

View file

@ -57,10 +57,6 @@
HostName 100.87.54.48
User notoh
IdentityFile ~/.ssh/sora
Host tsuru
HostName 100.82.146.40
User notoh
IdentityFile ~/.ssh/tsuru
Host pve
Hostname 100.115.234.69
User root

View file

@ -10,7 +10,6 @@ Name | Description
`sakura` | main vm, hosting most internet connected services
`sora` | hetzner vps
`tsuki` | main machine running hyprland
`tsuru` | vm for ci/cd runners, and (potentially) a binary cache
`yuki` | my old proxmox machine, now running pure nix
`default` | defines `nixosConfigurations`
`deploy` | defines deployment nodes for deploy-rs

View file

@ -151,24 +151,4 @@ in {
}
];
};
tsuru = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./tsuru
sopsModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.notoh = {
imports = [
./tsuru/home.nix
];
};
};
}
];
};
}

View file

@ -1,29 +0,0 @@
{...}: {
imports = [
./hardware-configuration.nix
./services
../../modules
];
boot.loader = {
grub = {
enable = true;
configurationLimit = 5;
device = "/dev/sda";
useOSProber = false;
};
};
networking = {
hostName = "tsuru";
};
services.xserver = {
layout = "us";
xkbVariant = "";
};
users.users.notoh.openssh.authorizedKeys.keys = [
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKwby2FLCKFZZlOLDRhsm9GckyYAuyk0mq28jRD02tdv tsuru''
];
}

View file

@ -1,27 +0,0 @@
{
lib,
modulesPath,
...
}: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = [];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/625f557a-99a0-4e2d-9aef-f3aed7cea1c8";
fsType = "ext4";
};
swapDevices = [
{device = "/dev/disk/by-uuid/5be1a83b-5b40-4068-ade3-fcf28ff07e35";}
];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}

View file

@ -1,14 +0,0 @@
{...}: {
imports = [
../../home
];
systemd.user.startServices = "sd-switch";
programs.home-manager.enable = true;
home = {
username = "notoh";
homeDirectory = "/home/notoh";
stateVersion = "23.05";
};
}

View file

@ -1,4 +0,0 @@
_: {
imports = [
];
}

View file

@ -1,57 +0,0 @@
{
pkgs,
config,
...
}: {
sops.secrets.forgejo-runner-token = {};
sops.secrets.basegbot-runner-token = {};
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.snowflake = {
settings = {
container = {
network = "host";
};
};
enable = true;
name = config.networking.hostName;
token = config.sops.secrets.forgejo-runner-token.path;
url = "https://git.flake.sh";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
hostPackages = with pkgs; [
bash
curl
coreutils
wget
gitMinimal
];
};
instances.basegbot = {
settings = {
container = {
network = "host";
};
};
enable = true;
name = config.networking.hostName;
token = config.sops.secrets.basegbot-runner-token.path;
url = "https://git.flake.sh";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
hostPackages = with pkgs; [
bash
curl
coreutils
wget
gitMinimal
];
};
};
}