add trollshell

This commit is contained in:
müde 2026-06-14 14:31:54 +02:00
commit 1c14eaeccf
6 changed files with 73 additions and 15 deletions

56
flake.lock generated
View file

@ -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": {

View file

@ -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";

View file

@ -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;
};
};

View file

@ -0,0 +1,7 @@
{ ... }:
{
programs.trollshell = {
enable = true;
weather.fallbackCity = "Berlin";
};
}

View file

@ -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

View file

@ -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; [