From 0e966c620128f3e577c984f16cb24356b9ec0ee7 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Tue, 16 Sep 2025 21:09:26 +0200 Subject: [PATCH] chore: Updates --- colors.sh | 144 ++++++++++++++++++ nixos/hosts/Tibo-NixFat/default.nix | 13 +- .../Tibo-NixFat/hardware-configuration.nix | 6 +- nixos/modules/services/pipewire/default.nix | 6 +- .../virtualisation/virtualbox/default.nix | 2 + 5 files changed, 163 insertions(+), 8 deletions(-) diff --git a/colors.sh b/colors.sh index d7ccfdc..e51c155 100644 --- a/colors.sh +++ b/colors.sh @@ -79,3 +79,147 @@ printf "\033]4;14;#74C7EC\007" # FFFFFF # White 15 printf "\033]4;15;#FFFFFF\007" + +# NEW COLORS 20241101 +# +# Nr # R G B H S B # Name +# FG # 250 250 250 0 0 98 # Daisy (White) +printf "\033]10;#FAFAFA\007" +# BG # 19 19 19 0 0 7 # - +printf "\033]11;#131313\007" + +# Regular colors (0-7) + +# Nr # R G B H S B # Name +# 0 # 61 61 61 0 0 24 # - (Black) +printf "\033]4;0;#3D3D3D\007" +# 1 # 186 19 61 345 90 73 # - (Red) +printf "\033]4;1;#BA133D\007" +# 2 # 61 186 19 105 90 73 # - (Green) +printf "\033]4;2;#3DBA13\007" +# 3 # 186 144 19 45 90 73 # - (Yellow) +printf "\033]4;3;#BA9013\007" +# 4 # 19 61 186 225 90 73 # - (Blue) +printf "\033]4;4;#133DBA\007" +# 5 # 144 19 186 285 90 73 # - (Magenta) +printf "\033]4;5;#9013BA\007" +# 6 # 19 186 144 165 90 73 # - (Cyan) +printf "\033]4;6;#13BA90\007" +# 7 # 186 186 186 0 0 73 # - (White) +printf "\033]4;7;#BABABA\007" + +# Bright colors (8-15) + +# Nr # R G B H S B # Name +# 8 # 122 122 122 0 0 48 # - (Black) +printf "\033]4;8;#363636\007" +# 9 # 250 25 81 345 90 98 # - (Red) +printf "\033]4;9;#FA1951\007" +# 10 # 81 250 25 105 90 98 # - (Green) +printf "\033]4;10;#51FA19\007" +# 11 # 250 194 25 45 90 98 # - (Yellow) +printf "\033]4;11;#FAC219\007" +# 12 # 25 81 250 225 90 98 # - (Blue) +printf "\033]4;12;#1951FA\007" +# 13 # 194 25 250 285 90 98 # - (Magenta) +printf "\033]4;13;#C219FA\007" +# 14 # 25 259 194 165 90 98 # - (Cyan) +printf "\033]4;14;#19FAC2\007" +# 15 # 250 250 250 0 0 98 # - (White) +printf "\033]4;15;#FAFAFA\007" + +# BRIGHTER +# +# Nr # R G B H S B # Name +# FG # 250 250 250 0 0 98 # Daisy (White) +printf "\033]11;#FAFAFA\007" +# BG # 19 19 19 0 0 7 # - +printf "\033]10;#131313\007" + +# Regular colors (0-7) + +# Nr # R G B H S B # Name +# 0 # 61 61 61 0 0 24 # - (Black) +printf "\033]4;0;#3D3D3D\007" +# 1 # 186 19 61 345 90 73 # - (Red) +printf "\033]4;1;#E62E4D\007" +# 2 # 61 186 19 105 90 73 # - (Green) +printf "\033]4;2;#4DE62E\007" +# 3 # 186 144 19 45 90 73 # - (Yellow) +printf "\033]4;3;#E6C72E\007" +# 4 # 19 61 186 225 90 73 # - (Blue) +printf "\033]4;4;#2E4CE6\007" +# 5 # 144 19 186 285 90 73 # - (Magenta) +printf "\033]4;5;#C52DE3\007" +# 6 # 19 186 144 165 90 73 # - (Cyan) +printf "\033]4;6;#2EE6C7\007" +# 7 # 186 186 186 0 0 73 # - (White) +printf "\033]4;7;#BABABA\007" + +# Bright colors (8-15) + +# Nr # R G B H S B # Name +# 8 # 122 122 122 0 0 48 # - (Black) +printf "\033]4;8;#7A7A7A\007" +# 9 # 250 25 81 345 90 98 # - (Red) +printf "\033]4;9;#FF002B\007" +# 10 # 81 250 25 105 90 98 # - (Green) +printf "\033]4;10;#2BFF00\007" +# 11 # 250 194 25 45 90 98 # - (Yellow) +printf "\033]4;11;#FFd500\007" +# 12 # 25 81 250 225 90 98 # - (Blue) +printf "\033]4;12;#002AFF\007" +# 13 # 194 25 250 285 90 98 # - (Magenta) +printf "\033]4;13;#D400FF\007" +# 14 # 25 259 194 165 90 98 # - (Cyan) +printf "\033]4;14;#00FFC0\007" +# 15 # 250 250 250 0 0 98 # - (White) +printf "\033]4;15;#FAFAFA\007" + +# TEsting again + +# Nr # R G B H S B # Name +# FG # 250 250 250 0 0 98 # Daisy (White) +# FAFAFA # Daisy (Foreground) +printf "\033]10;#FAFAFA\007" +# 171717 # Background +printf "\033]11;#171717\007" + +# Nr # R G B H S B # Name +# 0 # 61 61 61 0 0 24 # - (Black) +printf "\033]4;0;#202124\007" +# 1 # 186 19 61 345 90 73 # - (Red) +printf "\033]4;1;#EA4335\007" +# 2 # 61 186 19 105 90 73 # - (Green) +printf "\033]4;2;#34A853\007" +# 3 # 186 144 19 45 90 73 # - (Yellow) +printf "\033]4;3;#FBBC04\007" +# 4 # 19 61 186 225 90 73 # - (Blue) +printf "\033]4;4;#4285F4\007" +# 5 # 144 19 186 285 90 73 # - (Magenta) +printf "\033]4;5;#A142F4\007" +# 6 # 19 186 144 165 90 73 # - (Cyan) +printf "\033]4;6;#24C1E0\007" +# 7 # 186 186 186 0 0 73 # - (White) +printf "\033]4;7;#FBFCF8\007" + +# Bright colors (8-15) + +# Nr # R G B H S B # Name +# 8 # 122 122 122 0 0 48 # - (Black) +printf "\033]4;8;#5F6368\007" +# 9 # 250 25 81 345 90 98 # - (Red) +printf "\033]4;9;#EA4335\007" +# 10 # 81 250 25 105 90 98 # - (Green) +printf "\033]4;10;#34A853\007" +# 11 # 250 194 25 45 90 98 # - (Yellow) +printf "\033]4;11;#FBBC05\007" +# 12 # 25 81 250 225 90 98 # - (Blue) +printf "\033]4;12;#4285F4\007" +# 13 # 194 25 250 285 90 98 # - (Magenta) +printf "\033]4;13;#A142F4\007" +# 14 # 25 259 194 165 90 98 # - (Cyan) +printf "\033]4;14;#24C1E0\007" +# 15 # 250 250 250 0 0 98 # - (White) +printf "\033]4;15;#FFFFFF\007" + diff --git a/nixos/hosts/Tibo-NixFat/default.nix b/nixos/hosts/Tibo-NixFat/default.nix index 44554f0..0d2fcd6 100644 --- a/nixos/hosts/Tibo-NixFat/default.nix +++ b/nixos/hosts/Tibo-NixFat/default.nix @@ -19,7 +19,7 @@ networking = { networkmanager.enable = true; - # openconnect-sso.enable = true; + openconnect-sso.enable = true; }; nix = { @@ -87,7 +87,10 @@ powerOnBoot = false; }; - networking.hostName = "Tibo-NixFat"; + networking = { + hostName = "Tibo-NixFat"; + networkmanager.wifi.powersave = true; + }; services = { logind = { @@ -108,9 +111,13 @@ # Touchpad libinput.enable = true; + + thermald.enable = true; }; - system.stateVersion = "24.05"; + system.stateVersion = "24.11"; + + systemd.coredump.enable = false; time.timeZone = "Europe/Brussels"; diff --git a/nixos/hosts/Tibo-NixFat/hardware-configuration.nix b/nixos/hosts/Tibo-NixFat/hardware-configuration.nix index 30ba69a..b0dfd70 100644 --- a/nixos/hosts/Tibo-NixFat/hardware-configuration.nix +++ b/nixos/hosts/Tibo-NixFat/hardware-configuration.nix @@ -49,5 +49,9 @@ # networking.interfaces.wlp111s0.useDHCP = lib.mkDefault true; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + nixpkgs.config.allowUnfree = true; + hardware = { + enableAllFirmware = true; + cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + }; } diff --git a/nixos/modules/services/pipewire/default.nix b/nixos/modules/services/pipewire/default.nix index b83eedc..68985d3 100644 --- a/nixos/modules/services/pipewire/default.nix +++ b/nixos/modules/services/pipewire/default.nix @@ -29,10 +29,8 @@ in { # Headphone jack on laptop { "node.name" = "alsa_output.pci-0000_00_1f.3.analog-stereo"; } ]; - actions = { - update-props = { - "session.suspend-timeout-seconds" = 0; - }; + actions.update-props = { + "session.suspend-timeout-seconds" = 0; }; } ]; diff --git a/nixos/modules/virtualisation/virtualbox/default.nix b/nixos/modules/virtualisation/virtualbox/default.nix index ccd8fca..a86ada5 100644 --- a/nixos/modules/virtualisation/virtualbox/default.nix +++ b/nixos/modules/virtualisation/virtualbox/default.nix @@ -10,11 +10,13 @@ in { host = { enable = true; enableExtensionPack = true; + enableHardening = true; }; guest = { enable = true; clipboard = true; seamless = true; + vboxsf = false; # Module not found?... }; };