diff --git a/modules/home/programs/terminal/bash/default.nix b/modules/home/programs/terminal/bash/default.nix index b951fe5..0e1a4fb 100755 --- a/modules/home/programs/terminal/bash/default.nix +++ b/modules/home/programs/terminal/bash/default.nix @@ -1,6 +1,7 @@ { pkgs, lib, config, namespace, ... }: let - inherit (lib) mkIf; + inherit (lib) mkIf optionalAttrs; + inherit (pkgs.stdenv) isLinux; cfg = config.${namespace}.programs.terminal.bash; in { @@ -14,6 +15,8 @@ in shellAliases = { grep = "grep --color"; ssh = "TERM=xterm-256color ssh"; + } // optionalAttrs isLinux { + sync-watch = "watch -d grep -e Dirty: -e Writeback: /proc/meminfo"; }; profileExtra = '' export COLORTERM=truecolor diff --git a/systems/x86_64-linux/lin-va-thinkpad/default.nix b/systems/x86_64-linux/lin-va-thinkpad/default.nix index 4253682..2224c6c 100755 --- a/systems/x86_64-linux/lin-va-thinkpad/default.nix +++ b/systems/x86_64-linux/lin-va-thinkpad/default.nix @@ -5,14 +5,26 @@ in { system.stateVersion = "25.05"; time.timeZone = "America/New_York"; - hardware.enableRedistributableFirmware = true; - hardware.bluetooth.enable = true; - hardware.amdgpu.initrd.enable = lib.mkDefault true; - services.xserver.videoDrivers = [ "modesetting" ]; - boot.kernelParams = [ - # Mask GPE03 (EC wakeup events) to allow hibernation without spurious CPU wakeups - "acpi_mask_gpe=0x03" - ]; + + + boot = { + supportedFilesystems = [ "nfs" ]; + kernelParams = [ + # Mask GPE03 (EC wakeup events) to allow hibernation without spurious CPU wakeups + "acpi_mask_gpe=0x03" + ]; + }; + + hardware = { + enableRedistributableFirmware = true; + bluetooth.enable = true; + amdgpu.initrd.enable = lib.mkDefault true; + }; + + services = { + xserver.videoDrivers = [ "modesetting" ]; + fwupd.enable = true; + }; # System Config reichard = { @@ -74,5 +86,7 @@ in # Additional System Packages environment.systemPackages = with pkgs; [ mosh + rclone + unzip ]; }