flake.nix update
This commit is contained in:
parent
178ad2ac8a
commit
c2ca05b117
3 changed files with 4 additions and 88 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1755615617,
|
"lastModified": 1756125398,
|
||||||
"narHash": "sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs+StOp19xNsbqdOg=",
|
"narHash": "sha256-XexyKZpf46cMiO5Vbj+dWSAXOnr285GHsMch8FBoHbc=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "20075955deac2583bb12f07151c2df830ef346b4",
|
"rev": "3b9f00d7a7bf68acd4c4abb9d43695afb04e03a5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,6 @@
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
defaultPackage = eachSystem (system: self.packages.${system}.default);
|
defaultPackage = eachSystem (system: self.packages.${system});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,84 +0,0 @@
|
||||||
{
|
|
||||||
rev,
|
|
||||||
lib,
|
|
||||||
stdenv,
|
|
||||||
makeWrapper,
|
|
||||||
makeFontsConf,
|
|
||||||
ddcutil,
|
|
||||||
brightnessctl,
|
|
||||||
cava,
|
|
||||||
networkmanager,
|
|
||||||
wl-clipboard,
|
|
||||||
libnotify,
|
|
||||||
bluez,
|
|
||||||
bash,
|
|
||||||
coreutils,
|
|
||||||
findutils,
|
|
||||||
file,
|
|
||||||
material-symbols,
|
|
||||||
roboto,
|
|
||||||
inter-nerdfont,
|
|
||||||
matugen,
|
|
||||||
cliphist,
|
|
||||||
swww,
|
|
||||||
gpu-screen-recorder,
|
|
||||||
gcc,
|
|
||||||
qt6,
|
|
||||||
quickshell,
|
|
||||||
xkeyboard-config,
|
|
||||||
extraRuntimeDeps ? [],
|
|
||||||
}: let
|
|
||||||
runtimeDeps =
|
|
||||||
[
|
|
||||||
bash
|
|
||||||
bluez
|
|
||||||
brightnessctl
|
|
||||||
cava
|
|
||||||
cliphist
|
|
||||||
coreutils
|
|
||||||
ddcutil
|
|
||||||
file
|
|
||||||
findutils
|
|
||||||
gpu-screen-recorder
|
|
||||||
libnotify
|
|
||||||
matugen
|
|
||||||
networkmanager
|
|
||||||
swww
|
|
||||||
wl-clipboard
|
|
||||||
]
|
|
||||||
++ extraRuntimeDeps;
|
|
||||||
|
|
||||||
fontconfig = makeFontsConf {
|
|
||||||
fontDirectories = [
|
|
||||||
material-symbols
|
|
||||||
roboto
|
|
||||||
inter-nerdfont
|
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "noctalia-shell";
|
|
||||||
version = "${rev}";
|
|
||||||
src = ./..;
|
|
||||||
|
|
||||||
nativeBuildInputs = [gcc makeWrapper qt6.wrapQtAppsHook];
|
|
||||||
buildInputs = [quickshell xkeyboard-config qt6.qtbase];
|
|
||||||
propagatedBuildInputs = runtimeDeps;
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/share/noctalia-shell
|
|
||||||
cp -r ./* $out/share/noctalia-shell
|
|
||||||
|
|
||||||
makeWrapper ${quickshell}/bin/qs $out/bin/noctalia-shell \
|
|
||||||
--prefix PATH : "${lib.makeBinPath runtimeDeps}" \
|
|
||||||
--set FONTCONFIG_FILE "${fontconfig}" \
|
|
||||||
--add-flags "-p $out/share/noctalia-shell"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A sleek and minimal desktop shell thoughtfully crafted for Wayland, built with Quickshell.";
|
|
||||||
homepage = "https://github.com/noctalia-dev/noctalia-shell";
|
|
||||||
license = lib.licenses.mit;
|
|
||||||
mainProgram = "noctalia-shell";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue