From c6a8e1928aab3fc117e1c16af71204df1884b453 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Wed, 29 Jan 2025 19:46:35 -0600 Subject: [PATCH] task | add/update book configs --- home/common/files/tmuxinator/book.yml | 13 ++++++++++ hosts/book/default.nix | 2 +- hosts/book/hardware-configuration.nix | 36 +++++++++++++-------------- 3 files changed, 32 insertions(+), 19 deletions(-) create mode 100644 home/common/files/tmuxinator/book.yml diff --git a/home/common/files/tmuxinator/book.yml b/home/common/files/tmuxinator/book.yml new file mode 100644 index 0000000..03dfbef --- /dev/null +++ b/home/common/files/tmuxinator/book.yml @@ -0,0 +1,13 @@ +# /home/don/.config/tmuxinator/test.yml +name: book +root: ~/ +windows: + - main: + - second: + - mua: + layout: 5ae0,213x55,0,0{73x55,0,0[73x27,0,0,3,73x27,0,28,4],139x55,74,0,5} + panes: + - domailtask.sh + - domailcal.sh + - neomutt + - rss: newsboat diff --git a/hosts/book/default.nix b/hosts/book/default.nix index 5623657..c9f1e23 100644 --- a/hosts/book/default.nix +++ b/hosts/book/default.nix @@ -12,7 +12,7 @@ networking.hostName = "book"; roles = { - citrix.enable = false; + citrix.enable = true; zoom.enable = true; gui.enable = true; kvm.enable = false; diff --git a/hosts/book/hardware-configuration.nix b/hosts/book/hardware-configuration.nix index 8f7b379..beba79a 100644 --- a/hosts/book/hardware-configuration.nix +++ b/hosts/book/hardware-configuration.nix @@ -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; }