ctucx.git: nixfiles

ctucx' nixfiles

commit 4c107badbf27337b9fa32ae2e706f2151b7f727c
parent 5a5033f34c6fdfb3f59faebbbc3d83dc48a25b52
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 9 Jun 2022 21:25:17 +0200

machines: remove briefkasten
2 files changed, 0 insertions(+), 91 deletions(-)
D
machines/briefkasten/configuration.nix
|
60
------------------------------------------------------------
D
machines/briefkasten/hardware-configuration.nix
|
31
-------------------------------
diff --git a/machines/briefkasten/configuration.nix b/machines/briefkasten/configuration.nix
@@ -1,60 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-{
-  imports = [
-    ./hardware-configuration.nix
-    ../../configurations/mobile-device.nix
-    ../../configurations/common.nix
-    ../../configurations/bluetooth.nix
-    ../../configurations/desktop-sway.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" ];
-    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" ];
-  };
-
-  networking = {
-    hostName                       = "briefkasten";
-#   domain                         = "ctu.cx";
-    useDHCP                        = true;
-
-    wireless = {
-      iwd.enable = true;
-    };
-
-    firewall = {
-      enable = true;
-#      allowedTCPPorts = [ ];
-    };
-  };
-
-  home-manager.users.leah.home.stateVersion = "21.05";
-  system.stateVersion = "21.05"; # Did you read the comment?
-}
diff --git a/machines/briefkasten/hardware-configuration.nix b/machines/briefkasten/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" "rtsx_pci_sdmmc" ];
-  boot.initrd.kernelModules = [ ];
-  boot.kernelModules = [ "kvm-intel" ];
-  boot.extraModulePackages = [ ];
-
-  fileSystems."/" =
-    { device = "/dev/disk/by-uuid/2ee191ed-3aa8-4906-92dd-78a51763177e";
-      fsType = "ext4";
-    };
-
-  boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/e72d3d95-48ce-4c6a-ae85-42bf97e64c88";
-
-  fileSystems."/boot" =
-    { device = "/dev/disk/by-uuid/BAA8-C5F6";
-      fsType = "vfat";
-    };
-
-  swapDevices = [ ];
-
-  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
-}