commit 40bddffde6e409ff4747a61bc03895bb5bd8db27
parent a40e343013e63f4c0db984ec40c783e617c78f06
Author: Katja (ctucx) <git@ctu.cx>
Date: Wed, 1 Jan 2025 14:17:33 +0100
parent a40e343013e63f4c0db984ec40c783e617c78f06
Author: Katja (ctucx) <git@ctu.cx>
Date: Wed, 1 Jan 2025 14:17:33 +0100
machines: remove `coladose`
4 files changed, 0 insertions(+), 103 deletions(-)
diff --git a/flake.nix b/flake.nix @@ -44,7 +44,6 @@ defaults = import ./configurations/common; - coladose = import ./machines/coladose; seifenkiste = import ./machines/seifenkiste; briefkasten = import ./machines/briefkasten;
diff --git a/machines/coladose/default.nix b/machines/coladose/default.nix @@ -1,44 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - - imports = [ - ./hardware-configuration.nix - ../../configurations/linux/sway.nix - ./keyboard.nix - ]; - - deployment.allowLocalDeployment = true; - - ctucxConfig.monitoring.exporters.enable = true; - - # Use the systemd-boot EFI boot loader. - boot = { - loader.systemd-boot.enable = true; - loader.efi.canTouchEfiVariables = true; - - initrd.kernelModules = [ "video" "i915" ]; - - kernelParams = [ "video=DSI-1:panel_orientation=right_side_up" ]; - kernelPackages = pkgs.linuxPackages_latest; - }; - - networking.wireless.iwd = { - enable = true; - settings = { - IPv6 = { - Enabled = true; - }; - Settings = { - AutoConnect = true; - }; - }; - }; - - services.openssh.enable = true; - - system.stateVersion = "23.11"; - home-manager.users.katja.home.stateVersion = "24.11"; - -} -
diff --git a/machines/coladose/hardware-configuration.nix b/machines/coladose/hardware-configuration.nix @@ -1,39 +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" "nvme" "usbhid" "sdhci_pci" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/081a8591-d8e4-4b9a-9bfd-9f23d2ebd9e1"; - fsType = "ext4"; - }; - - boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/de5910c3-bad4-420c-a5b1-90e051d95e5f"; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/88C4-B58C"; - fsType = "vfat"; - }; - - 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.enp0s20f0u3u1.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -}
diff --git a/machines/coladose/keyboard.nix b/machines/coladose/keyboard.nix @@ -1,18 +0,0 @@ -{ ... }: - -{ - - services.keyd = { - enable = true; - keyboards.default = { - ids = [ "*" ]; - settings.main = { - "rightalt" = "rightcontrol"; - "leftcontrol" = "leftalt"; - "leftalt" = "leftcontrol"; - "rightcontrol" = "rightalt"; - }; - }; - }; - -}- \ No newline at end of file