added quickshell
This commit is contained in:
17
flake.lock
generated
17
flake.lock
generated
@@ -932,6 +932,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"quickshell": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1783436659,
|
||||||
|
"narHash": "sha256-rh0BJlcRM8nFet9aYIaZMxe7M6BMNJOrSgJi3cPQ+Tc=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "68d4240fcbc605ee36a0e71797c04c0ac33f3e19",
|
||||||
|
"revCount": 25,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.voidarc.co.uk/voidarc/quickshell"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.voidarc.co.uk/voidarc/quickshell"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"davinci": "davinci",
|
"davinci": "davinci",
|
||||||
@@ -942,6 +958,7 @@
|
|||||||
"nixpkgs": "nixpkgs_5",
|
"nixpkgs": "nixpkgs_5",
|
||||||
"nvim": "nvim",
|
"nvim": "nvim",
|
||||||
"otter-launcher": "otter-launcher_2",
|
"otter-launcher": "otter-launcher_2",
|
||||||
|
"quickshell": "quickshell",
|
||||||
"sls-steam": "sls-steam",
|
"sls-steam": "sls-steam",
|
||||||
"wrappers": "wrappers_3"
|
"wrappers": "wrappers_3"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,6 +21,10 @@
|
|||||||
};
|
};
|
||||||
sls-steam.url = "github:AceSLS/SLSsteam";
|
sls-steam.url = "github:AceSLS/SLSsteam";
|
||||||
davinci.url = "git+https://git.voidarc.co.uk/voidarc/nixos.davinci";
|
davinci.url = "git+https://git.voidarc.co.uk/voidarc/nixos.davinci";
|
||||||
|
quickshell = {
|
||||||
|
url = "git+https://git.voidarc.co.uk/voidarc/quickshell";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
|
||||||
# Flake parts
|
# Flake parts
|
||||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
|
|||||||
29
modules/features/quickshell/default.nix
Normal file
29
modules/features/quickshell/default.nix
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
self,
|
||||||
|
moduleWithSystem,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
flake.nixosModules.quickshell = moduleWithSystem ({
|
||||||
|
pkgs,
|
||||||
|
self',
|
||||||
|
inputs',
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
environment.systemPackages = with self'.packages; [
|
||||||
|
quickshell
|
||||||
|
];
|
||||||
|
});
|
||||||
|
perSystem = {
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
self',
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
packages.quickshell = inputs.wrappers.wrappers.quickshell.wrap {
|
||||||
|
inherit pkgs;
|
||||||
|
configDir = inputs.quickshell;
|
||||||
|
configFile = "${inputs.quickshell}/shell.qml";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user