add quadshell
This commit is contained in:
parent
442a8071a1
commit
e912fd156b
3 changed files with 41 additions and 0 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
16
modules/mobile/quadshell.nix
Normal file
16
modules/mobile/quadshell.nix
Normal 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}"
|
||||
'';
|
||||
}
|
||||
Loading…
Reference in a new issue