From 1c14eaeccfc02bd349cac4ddbdf7744c8c72297d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=BCde?= Date: Sun, 14 Jun 2026 14:31:54 +0200 Subject: [PATCH] add trollshell --- flake.lock | 56 +++++++++++++++++++++---- flake.nix | 7 ++++ homeConfigurations/muede/default.nix | 9 ++-- homeConfigurations/muede/trollshell.nix | 7 ++++ nixosConfigurations.nix | 2 + nixosModules/muede-desktop-settings.nix | 7 +++- 6 files changed, 73 insertions(+), 15 deletions(-) create mode 100644 homeConfigurations/muede/trollshell.nix diff --git a/flake.lock b/flake.lock index c39a5ac..bd6bf4a 100644 --- a/flake.lock +++ b/flake.lock @@ -188,6 +188,21 @@ "type": "github" } }, + "crane_5": { + "locked": { + "lastModified": 1780532242, + "narHash": "sha256-D+BsdpxmtUwtqGoY0IXPhHgTlmqgcZKCEo1oMyn7ep0=", + "owner": "ipetkov", + "repo": "crane", + "rev": "59a82a1222dd3b2080b5cc52a1a2e8d5f1b77f37", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, "fenix": { "inputs": { "nixpkgs": [ @@ -365,11 +380,11 @@ ] }, "locked": { - "lastModified": 1781111556, - "narHash": "sha256-9UgMLHOYdzA7iUIIWw6BMpuO/wiobz6A52b6vx6i76I=", + "lastModified": 1781363820, + "narHash": "sha256-lFNcwThfHAzZj2/deblauzgG5BE4PuDT6JraQAhn8Tw=", "ref": "refs/heads/main", - "rev": "8792db942489e9e2ca6560902ef8b05ce5301039", - "revCount": 1830, + "rev": "f21a812f5fe462a6d0c699a78ebb86c64783ddb2", + "revCount": 1862, "type": "git", "url": "https://forge.darkest.space/hyperhive/hyperhive.git" }, @@ -717,11 +732,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1778182618, - "narHash": "sha256-1KzLskWhgJZu0jL03UZZtmHBgk11HMhLFvO9mCWnCao=", + "lastModified": 1781358440, + "narHash": "sha256-vpTo/CFzMJSR3wnFP6T9wri3MLnjUe8P5OQpc5myM9o=", "ref": "refs/heads/main", - "rev": "628ae67b7def027553c287cfd71f840570469bce", - "revCount": 627, + "rev": "0d0a3fd71892687b9890cdfee614a065e9e6b045", + "revCount": 628, "type": "git", "url": "https://git.berlin.ccc.de/vinzenz/nova-shell" }, @@ -819,6 +834,7 @@ "servicepoint-tanks": "servicepoint-tanks", "stylix": "stylix", "treefmt-nix": "treefmt-nix_2", + "trollshell": "trollshell", "zerforschen-plus": "zerforschen-plus" } }, @@ -1091,6 +1107,30 @@ "type": "github" } }, + "trollshell": { + "inputs": { + "crane": "crane_5", + "nixpkgs": [ + "nixpkgs" + ], + "treefmt-nix": [ + "treefmt-nix" + ] + }, + "locked": { + "lastModified": 1781446553, + "narHash": "sha256-LwKul36gRb8FGCOrNPwXoAzOFhynmmg1zwXUu/jE7kw=", + "owner": "vibec0re", + "repo": "trollshell", + "rev": "8b118d1df2447118ba48b0886abe351444394d98", + "type": "github" + }, + "original": { + "owner": "vibec0re", + "repo": "trollshell", + "type": "github" + } + }, "xwayland-satellite-stable": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index f3be089..178bc1a 100644 --- a/flake.nix +++ b/flake.nix @@ -100,6 +100,13 @@ url = "github:numtide/treefmt-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; + trollshell = { + url = "github:vibec0re/trollshell"; + inputs = { + nixpkgs.follows = "nixpkgs"; + treefmt-nix.follows = "treefmt-nix"; + }; + }; zerforschen-plus = { url = "git+https://git.berlin.ccc.de/vinzenz/zerforschen.plus"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/homeConfigurations/muede/default.nix b/homeConfigurations/muede/default.nix index 8a5690e..c77b369 100644 --- a/homeConfigurations/muede/default.nix +++ b/homeConfigurations/muede/default.nix @@ -15,6 +15,7 @@ ./swayidle.nix #./swaylock.nix #./swaync.nix + ./trollshell.nix ./vscode.nix # ./waybar.nix # ./wlogout.nix @@ -59,12 +60,8 @@ chromium.enable = true; nova-shell = { - enable = true; - theme = { - fontSize = 14; - }; - #modules.backgroundOverlay.enable = false; - #modules.screenCorners.enable = false; + #enable = true; + theme.fontSize = 14; }; }; diff --git a/homeConfigurations/muede/trollshell.nix b/homeConfigurations/muede/trollshell.nix new file mode 100644 index 0000000..8c83a20 --- /dev/null +++ b/homeConfigurations/muede/trollshell.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + programs.trollshell = { + enable = true; + weather.fallbackCity = "Berlin"; + }; +} diff --git a/nixosConfigurations.nix b/nixosConfigurations.nix index 1cfb029..b020cf7 100644 --- a/nixosConfigurations.nix +++ b/nixosConfigurations.nix @@ -13,6 +13,7 @@ let servicepoint-simulator servicepoint-tanks stylix + trollshell zerforschen-plus ; forDevice = f: lib.mapAttrs (device: value: f (value // { inherit device; })) allDevices; @@ -46,6 +47,7 @@ forDevice ( home-manager.nixosModules.home-manager lanzaboote.nixosModules.lanzaboote stylix.nixosModules.stylix + trollshell.nixosModules.default zerforschen-plus.nixosModules.default # keep-sorted end diff --git a/nixosModules/muede-desktop-settings.nix b/nixosModules/muede-desktop-settings.nix index 980af13..99790a2 100644 --- a/nixosModules/muede-desktop-settings.nix +++ b/nixosModules/muede-desktop-settings.nix @@ -5,12 +5,17 @@ ... }: { - options.my.muedeDesktopSettings.enable = lib.mkEnableOption "muede desktop settings (Firefox, Logitech, RDP)"; + options.my.muedeDesktopSettings.enable = lib.mkEnableOption "muede desktop settings (Firefox, Logitech, RDP, trollshell)"; config = lib.mkIf config.my.muedeDesktopSettings.enable { my.overlays.niri.enable = true; programs.niri.enable = true; + programs.trollshell = { + enable = true; + enableRecommendedServices = false; + }; + programs.firefox.enable = true; environment.systemPackages = with pkgs; [