task | add/update book configs

This commit is contained in:
Don Harper 2025-01-29 19:46:35 -06:00
parent 64ecd7a45d
commit c6a8e1928a
3 changed files with 32 additions and 19 deletions

View file

@ -12,7 +12,7 @@
networking.hostName = "book";
roles = {
citrix.enable = false;
citrix.enable = true;
zoom.enable = true;
gui.enable = true;
kvm.enable = false;

View file

@ -1,28 +1,30 @@
# 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") ];
{ config, lib, pkgs, modulesPath, ... }:
boot.initrd.availableKernelModules =
[ "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ];
{
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 = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/mmcblk0p2";
fsType = "ext4";
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/e0e211d5-30a0-4b9e-b1ba-971cdd7a4d23";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/mmcblk0p1";
fsType = "vfat";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/6957-B177";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
# swapDevices =
# [ { device = "/dev/disk/by-uuid/a7ae7629-f44f-4298-bf31-59c51cd95658"; }
# ];
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
@ -31,8 +33,6 @@
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}