From 142dad8f688494bd92c9d02b473418dff46cbee6 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Thu, 10 Jul 2025 21:57:46 +1000 Subject: [PATCH 1/3] Computer now has VC modified by initrd --- hosts/myputer/default.nix | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/hosts/myputer/default.nix b/hosts/myputer/default.nix index 4cd836c..ad2cec1 100755 --- a/hosts/myputer/default.nix +++ b/hosts/myputer/default.nix @@ -54,9 +54,32 @@ in { # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; + # Enable initrd hook for virtual console customisation + # aka cool colours when bootting yay!! console = { - font = "Lat2-Terminus16"; + enable = true; + earlySetup = true; # initrd pre hook keyMap = "us"; + font = "Lat2-Terminus16"; + # ANSI 24-bit color definitions (theme: dracula) + colors = [ + "21222c" + "ff5555" + "50fa7b" + "f1fa8c" + "bd93f9" + "ff79c6" + "8be9fd" + "f8f8f2" + "6272a4" + "ff6e6e" + "69ff94" + "ffffa5" + "d6acff" + "ff92df" + "a4ffff" + "ffffff" + ]; }; # ----- NETWORKING SECTION ----- From 4b03d162c7affe0dc4a6a1b9acf9bc27c76161e6 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Thu, 10 Jul 2025 23:47:59 +1000 Subject: [PATCH 2/3] Added bluetooth support to PC --- hosts/myputer/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/myputer/default.nix b/hosts/myputer/default.nix index ad2cec1..4313abb 100755 --- a/hosts/myputer/default.nix +++ b/hosts/myputer/default.nix @@ -7,7 +7,7 @@ }: let home-manager = builtins.fetchTarball { url = "https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz"; - sha256 = "1dga3vsd60v9mfyhwgbil13mrchw5crbpgh4zjw9fghv1vyk89vq"; + sha256 = "1mwq9mzyw1al03z4q2ifbp6d0f0sx9f128xxazwrm62z0rcgv4na"; }; in { imports = [ @@ -200,6 +200,7 @@ in { easyeffects pavucontrol ani-cli + bluetui wl-clipboard # clipboard for wayland hyprpicker @@ -384,6 +385,11 @@ in { # Enable OpenGL hardware = { graphics.enable = true; + + bluetooth = { + enable = true; + powerOnBoot = true; + }; }; # DO NOT MODIFY From abed1dec09837639a94b139fa1699ab2ec56204a Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Thu, 10 Jul 2025 23:48:11 +1000 Subject: [PATCH 3/3] Added Steam and a couple cool games to the PC --- hosts/myputer/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/myputer/default.nix b/hosts/myputer/default.nix index 4313abb..337501f 100755 --- a/hosts/myputer/default.nix +++ b/hosts/myputer/default.nix @@ -14,6 +14,8 @@ in { ./hardware-configuration.nix (import "${home-manager}/nixos") inputs.spicetify-nix.nixosModules.default + + ../modules/steam.nix ]; programs.spicetify = let @@ -252,6 +254,11 @@ in { # Cryptography openssl libargon2 + + # Games + mindustry-wayland + dwarf-fortress + nethack ]; # DEBUG: configuring xdg portal here instead?