ctucx.git: nixfiles

ctucx' nixfiles

commit 034af72678d03d7c49df2a18d693cfe3d08812c6
parent 2c4af844916da74b9e0e9a82aa1c03f762a17cfa
Author: Leah (ctucx) <git@ctu.cx>
Date: Fri, 12 May 2023 17:46:01 +0200

machines: remove deprecated
3 files changed, 0 insertions(+), 112 deletions(-)
D
machines/deprecated/blechkasten/darwin-configuration.nix
|
14
--------------
D
machines/deprecated/coladose/configuration.nix
|
67
-------------------------------------------------------------------
D
machines/deprecated/coladose/hardware-configuration.nix
|
31
-------------------------------
diff --git a/machines/deprecated/blechkasten/darwin-configuration.nix b/machines/deprecated/blechkasten/darwin-configuration.nix
@@ -1,14 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-{
-
-  imports = [
-    ../../configurations/common
-  ];
-
-  networking.hostName     = "blechkasten";
-  networking.computerName = config.networking.hostName;
-
-  system.stateVersion = 4;
-
-}
diff --git a/machines/deprecated/coladose/configuration.nix b/machines/deprecated/coladose/configuration.nix
@@ -1,67 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-{
-
-  deployment = {
-    allowLocalDeployment = lib.mkForce true;
-    buildOnTarget        = false;
-    targetHost           = null;
-  };
-
-  imports = [
-    ./hardware-configuration.nix
-
-    ../../configurations/linux/mobile-device.nix
-    ../../configurations/linux/desktop-sway.nix
-    ../../configurations/linux/thunderbolt.nix
-    ../../configurations/linux/bluetooth.nix
-    ../../configurations/linux/sdr.nix
-  ];
-
-  hardware.cpu.intel.updateMicrocode = true;
-
-  boot = {
-    loader = {
-      systemd-boot.enable = true;
-      efi.canTouchEfiVariables = true;
-    };
-
-    consoleLogLevel               = 3;
-    kernel.sysctl."vm.swappiness" = 0;
-    kernel.sysctl."kernel/sysrq"  = 1;
-    kernelModules                 = [ "tpm-rng" "thunderbolt-net" ];
-    kernelParams = [
-      "quiet"
-      "scsi_mod.use_blk_mq=1"
-      "modeset"
-      "nofb"
-      "rd.systemd.show_status=auto"
-      "rd.udev.log_priority=3"
-      "pti=off"
-      "spectre_v2=off"
-    ];
-
-    extraModprobeConfig = lib.mkMerge [
-      "options ec_sys write_support=1"
-      "options iwlwifi power_save=0 uapsd_disable=1"
-    ];
-
-    initrd.availableKernelModules = [ "i915" ];
-  };
-
-  dns.zones."ctu.cx".subdomains.coladose = (pkgs.dns.lib.combinators.host "195.39.246.43" "2a0f:4ac0:acab:1234::43");
-
-  networking = {
-    dhcpcd.enable       = true;
-    wireless.iwd.enable = true;
-    firewall.enable     = true;
-  };
-
-  services = {
-    fwupd.enable         = true;
-    fprintd.enable       = true;
-  };
-
-  home-manager.users.leah.home.stateVersion = "21.05";
-  system.stateVersion = "21.05"; # Did you read the comment?
-}
diff --git a/machines/deprecated/coladose/hardware-configuration.nix b/machines/deprecated/coladose/hardware-configuration.nix
@@ -1,31 +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" "usb_storage" "sd_mod" "sr_mod" "sdhci_pci" ];
-  boot.initrd.kernelModules = [ ];
-  boot.kernelModules = [ ];
-  boot.extraModulePackages = [ ];
-
-  fileSystems."/" =
-    { device = "/dev/disk/by-uuid/1d97b287-1602-4b1d-8300-67d065f8b43b";
-      fsType = "ext4";
-    };
-
-  boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/61d7aff2-1d45-41cc-8e2b-0ac8dd17946e";
-
-  fileSystems."/boot" =
-    { device = "/dev/disk/by-uuid/863E-0E85";
-      fsType = "vfat";
-    };
-
-  swapDevices = [ ];
-
-  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
-}