From c9a1d2da80bca0a85e8c18f6d2db71c4d1127eda Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Thu, 29 Jan 2026 20:15:19 -0600 Subject: Spring Cleaning - create new module, `system`, that consumes the `boot` module and takes in the more system-interested services from the `services` module - touch up left over services (which are more self-hosting interested) - touch up yo and yoshi configs --- hosts/mercury/config.nix | 26 +++++++++----------------- hosts/mercury/hjem.nix | 12 +++++++++++- 2 files changed, 20 insertions(+), 18 deletions(-) (limited to 'hosts/mercury') diff --git a/hosts/mercury/config.nix b/hosts/mercury/config.nix index b122e5e..abf38fb 100644 --- a/hosts/mercury/config.nix +++ b/hosts/mercury/config.nix @@ -2,10 +2,7 @@ collinux = { theme = "catppuccin"; - user = { - name = "collin"; - useRun0 = true; - }; + user.useRun0 = true; desktop = { wallpaper = ./wallpapers/abstract-swirls.jpg; @@ -32,16 +29,17 @@ }; }; - services = { - audio.enable = true; - networking = { - enable = true; + system = { + boot = { + systemd-boot.enable = true; + secureBoot.enable = true; + }; + network = { iwd.enable = true; - networkd = { - enable = true; - }; + networkd.enable = true; }; + audio.enable = true; bluetooth.enable = true; }; @@ -62,7 +60,6 @@ tmux.enable = true; lazygit.enable = true; - # nh.enable = true; git = { enable = true; userName = "Collin Williams"; @@ -71,10 +68,5 @@ }; }; }; - - boot = { - systemd-boot.enable = true; - secureBoot.enable = true; - }; }; } diff --git a/hosts/mercury/hjem.nix b/hosts/mercury/hjem.nix index a9d6d08..35f21b8 100644 --- a/hosts/mercury/hjem.nix +++ b/hosts/mercury/hjem.nix @@ -2,7 +2,16 @@ pkgs, inputs, ... -}: { +}: let + captiveBrowserDesktop = pkgs.makeDesktopItem { + name = "captive-browser"; + desktopName = "Captive Browser"; + exec = "${pkgs.captive-browser}/bin/captive-browser"; + icon = "web-browser"; + terminal = false; + categories = ["Application"]; + }; +in { packages = with pkgs; [ tor-browser # don't ask @@ -21,6 +30,7 @@ vital captive-browser # https://words.filippo.io/captive-browser + captiveBrowserDesktop inputs.glide-browser.packages."x86_64-linux".default (pkgs.callPackage ../../pkgs/yoshi.nix {inherit inputs;}) -- cgit v1.3.1