summaryrefslogtreecommitdiff
path: root/modules/hosts/flex-wg-router
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-08-26 21:36:16 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-08-26 21:36:16 -0500
commitc3c3d6f1fd19a5da015c9a9d3ae5c54f2d177be0 (patch)
tree559a0d9385df907f471b9bdd2bf708ec4650c718 /modules/hosts/flex-wg-router
parent125313aabedb17516d735a718968bfad1289f12b (diff)
downloadnixos-c3c3d6f1fd19a5da015c9a9d3ae5c54f2d177be0.tar.xz
nixos-c3c3d6f1fd19a5da015c9a9d3ae5c54f2d177be0.zip
reogranize files more only working on optiplex for now prepare for home manager refactoringHEADmaster
Diffstat (limited to 'modules/hosts/flex-wg-router')
-rw-r--r--modules/hosts/flex-wg-router/configuration.nix17
-rw-r--r--modules/hosts/flex-wg-router/hardware-configuration.nix45
-rw-r--r--modules/hosts/flex-wg-router/home.nix7
3 files changed, 0 insertions, 69 deletions
diff --git a/modules/hosts/flex-wg-router/configuration.nix b/modules/hosts/flex-wg-router/configuration.nix
deleted file mode 100644
index f21046d..0000000
--- a/modules/hosts/flex-wg-router/configuration.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-{ config, lib, pkgs, ... }: {
- imports = [
- ./hardware-configuration.nix
- ../../archetypes/headless
- ];
- bootloader.mode = "efi";
-
- # Enable docker
- software.development = {
- docker.enable = true;
- };
-
- # Enable set root password
- users.setPassword.enable = true;
-
- system.stateVersion = "25.05";
-}
diff --git a/modules/hosts/flex-wg-router/hardware-configuration.nix b/modules/hosts/flex-wg-router/hardware-configuration.nix
deleted file mode 100644
index 01cff6d..0000000
--- a/modules/hosts/flex-wg-router/hardware-configuration.nix
+++ /dev/null
@@ -1,45 +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 + "/installer/scan/not-detected.nix")
- ];
-
- boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ "kvm-intel" ];
- boot.extraModulePackages = [ ];
-
- fileSystems."/" =
- { device = "/dev/disk/by-uuid/01eae5fd-a46e-4a36-8a9d-247a0b16bcef";
- fsType = "btrfs";
- options = [ "subvol=@" ];
- };
-
- fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/345A-436A";
- fsType = "vfat";
- options = [ "fmask=0022" "dmask=0022" ];
- };
-
- fileSystems."/home" =
- { device = "/dev/disk/by-uuid/01eae5fd-a46e-4a36-8a9d-247a0b16bcef";
- fsType = "btrfs";
- options = [ "subvol=@home" ];
- };
-
- swapDevices = [ ];
-
- # 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.enp3s0.useDHCP = lib.mkDefault true;
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-}
diff --git a/modules/hosts/flex-wg-router/home.nix b/modules/hosts/flex-wg-router/home.nix
deleted file mode 100644
index 21d548f..0000000
--- a/modules/hosts/flex-wg-router/home.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-{ ... }: {
- imports = [ ../../home ];
-
- theme.enable = false;
- programs.firefox.enable = false;
- gtk.enable = false;
-}