hosts: remove sutakku

This commit is contained in:
notohh 2023-05-17 11:24:06 -04:00
parent 90b67b6c3e
commit ac2b4c1ebf
Signed by: notohh
GPG key ID: BD47506D475EE86D
6 changed files with 6 additions and 139 deletions

View file

@ -23,14 +23,14 @@
programs.ssh = { programs.ssh = {
enable = true; enable = true;
extraConfig = '' extraConfig = ''
Host sutakku
HostName 192.168.1.72
User oh
IdentityFile /home/notoh/.ssh/sutakku
Host sakura Host sakura
HostName 192.168.1.25 HostName 192.168.1.25
User notoh User notoh
IdentityFile /home/notoh/.ssh/sakura IdentityFile /home/notoh/.ssh/sakura
Host kariru
HostName 192.168.1.54
User notoh
IdentityFile /home/notoh/.ssh/kariru
Host pihole Host pihole
Hostname 192.168.1.221 Hostname 192.168.1.221
User root User root
@ -39,6 +39,7 @@
User root User root
''; '';
}; };
programs.bat = { programs.bat = {
enable = true; enable = true;
config = { config = {
@ -54,6 +55,7 @@
+ "/Catppuccin-mocha.tmTheme"); + "/Catppuccin-mocha.tmTheme");
}; };
}; };
programs.zoxide = { programs.zoxide = {
enable = true; enable = true;
enableNushellIntegration = true; enableNushellIntegration = true;

View file

@ -29,27 +29,6 @@ in {
} }
]; ];
}; };
sutakku = nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./sutakku
sopsModule
diskoModule
hmModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.oh = {
imports = [
./sutakku/home.nix
];
};
};
}
];
};
sakura = nixosSystem { sakura = nixosSystem {
inherit system; inherit system;
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};

View file

@ -1,15 +1,5 @@
inputs: { inputs: {
nodes = with inputs.deploy-rs.lib.x86_64-linux; { nodes = with inputs.deploy-rs.lib.x86_64-linux; {
sutakku = {
hostname = "sutakku";
profiles.system = {
user = "root";
path = activate.nixos inputs.self.nixosConfigurations.sutakku;
};
sshUser = "oh";
sshOpts = ["-t" "-i" "~/.ssh/sutakku"];
magicRollback = false;
};
sakura = { sakura = {
hostname = "sakura"; hostname = "sakura";
profiles.system = { profiles.system = {

View file

@ -1,44 +0,0 @@
{
config,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
../../modules
../../modules/services/arr
];
boot.loader = {
grub = {
enable = true;
configurationLimit = 3;
device = "/dev/sda";
useOSProber = false;
};
};
networking = {
hostName = "sutakku";
};
services.xserver = {
layout = "us";
xkbVariant = "";
};
users = {
defaultUserShell = pkgs.nushell;
users.oh = {
isNormalUser = true;
description = "oh";
extraGroups = ["networkmanager" "wheel" "docker"];
};
};
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "curses";
};
}

View file

@ -1,42 +0,0 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
pkgs,
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/dae21f73-2c6b-4959-90cc-07fb77c2a880";
fsType = "ext4";
};
fileSystems."/media" = {
device = "192.168.1.71:/volume1/media";
fsType = "nfs";
};
swapDevices = [
{device = "/dev/disk/by-uuid/990dd47b-fa78-4636-844e-83cc638052dc";}
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.ens18.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

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