add quadshell

This commit is contained in:
Henry Hiles 2026-11-17 16:53:26 -05:00
commit e912fd156b
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
3 changed files with 41 additions and 0 deletions

21
flake.lock generated
View file

@ -1227,6 +1227,26 @@
"type": "github"
}
},
"quadshell": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1794952294,
"narHash": "sha256-vRU0fxynA0W6KnH4eN4wp0FP1YWtU9jDhamrfNX7T3I=",
"ref": "refs/heads/main",
"rev": "7f2794a630be74129ea6a4e9717d97378d1224ee",
"revCount": 1,
"type": "git",
"url": "https://git.federated.nexus/Henry-Hiles/quadshell"
},
"original": {
"type": "git",
"url": "https://git.federated.nexus/Henry-Hiles/quadshell"
}
},
"root": {
"inputs": {
"agenix": "agenix",
@ -1250,6 +1270,7 @@
"nix-maid": "nix-maid",
"nixphone": "nixphone",
"nixpkgs": "nixpkgs",
"quadshell": "quadshell",
"run0-sudo-shim": "run0-sudo-shim",
"sable": "sable",
"sable-next": "sable-next",

View file

@ -12,6 +12,10 @@
url = "git+https://git.federated.nexus/Henry-Hiles/app-grid";
inputs.nixpkgs.follows = "nixpkgs";
};
quadshell = {
url = "git+https://git.federated.nexus/Henry-Hiles/quadshell";
inputs.nixpkgs.follows = "nixpkgs";
};
niri-mobile = {
url = "github:Henry-Hiles/niri/quad/mobile";
inputs.nixpkgs.follows = "nixpkgs";

View file

@ -0,0 +1,16 @@
{
lib,
pkgs,
inputs,
...
}:
{
nixpkgs.overlays = [ inputs.quadshell.overlays.default ];
# The flashlight LED's brightness is writable by this group
users.users.quadradical.extraGroups = [ "feedbackd" ];
environment.etc."niri/config.kdl".text = ''
spawn-at-startup "${lib.getExe pkgs.quadshell}"
'';
}