Compare commits

...

4 commits

9 changed files with 52 additions and 29 deletions

21
flake.lock generated
View file

@ -739,6 +739,26 @@
"type": "github"
}
},
"quickshell": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1745709547,
"narHash": "sha256-xfP/NVZomh+L2ka0omPkhA9mB+4PJXGPMCv/bh+G4YA=",
"ref": "refs/heads/master",
"rev": "67524f9d8e4ac5e09ea4427e11f2284e6a6f93fe",
"revCount": 506,
"type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
},
"original": {
"type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
}
},
"root": {
"inputs": {
"helix": "helix",
@ -746,6 +766,7 @@
"impermanence": "impermanence",
"lanzaboote": "lanzaboote",
"nixpkgs": "nixpkgs_2",
"quickshell": "quickshell",
"schizofox": "schizofox",
"systems": "systems_3"
}

View file

@ -61,5 +61,12 @@
};
helix.url = "github:helix-editor/helix";
quickshell = {
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
# THIS IS IMPORTANT
# Mismatched system dependencies will lead to crashes and other issues.
inputs.nixpkgs.follows = "nixpkgs";
};
};
}

View file

@ -7,7 +7,6 @@ in {
anki
asciinema
beets
brave
bubblewrap
cachix
calc

View file

@ -118,7 +118,7 @@
foot-wrapped = pkgs.symlinkJoin {
name = "foot-wrapped";
paths = [pkgs.foot];
buildInputs = [pkgs.makeWrapper];
nativeBuildInputs = [pkgs.makeWrapper];
postBuild = ''
wrapProgram $out/bin/foot --add-flags "--config=${foot-config} --working-directory=/home/${username}"
'';

View file

@ -27,7 +27,7 @@
btop-wrapped = pkgs.symlinkJoin {
name = "btop-wrapped";
paths = [pkgs.btop];
buildInputs = [pkgs.makeWrapper];
nativeBuildInputs = [pkgs.makeWrapper];
postBuild = ''
wrapProgram $out/bin/btop --set XDG_CONFIG_HOME "${btop-settings}"
'';

View file

@ -2,7 +2,7 @@
mako-wrapped = pkgs.symlinkJoin {
name = "mako-wrapped";
paths = [pkgs.mako];
buildInputs = [pkgs.makeWrapper];
nativeBuildInputs = [pkgs.makeWrapper];
postBuild = ''
wrapProgram $out/bin/mako --add-flags "\
--font 'Lexend 11' \

View file

@ -5,22 +5,16 @@
pkgs,
...
}: let
# inherit (inputs) quickshell;
# inherit (lib.generators) toKeyValue;
inherit (inputs) quickshell;
in {
# environment.systemPackages = [
# qt6.qtimageformats # amog
# qt6.qt5compat # shader fx
# (quickshell.packages.x86_64-linux.default.override {
# withJemalloc = true;
# withQtSvg = true;
# withX11 = true;
# withPipewire = true;
# withPam = true;
# withHyprland = true;
# })
# pamtester # lockscreen
# grim
# imagemagick # screenshot
# ];
environment.systemPackages = with pkgs; [
quickshell.packages.x86_64-linux.default
qt6.qtimageformats
qt6.qt5compat
qt6.qtmultimedia
qt6.qtdeclarative
];
# taken from outfoxxed.
qt.enable = true;
}

View file

@ -26,6 +26,7 @@
shellcheck,
shfmt,
superhtml,
kdePackages,
taplo,
tinymist,
typescript-language-server,
@ -137,7 +138,7 @@
}
{
name = "nix";
language-servers = ["nixd" "nil"];
language-servers = ["nil"];
}
{
name = "qml";
@ -241,12 +242,8 @@
nil = {
command = getExe nil;
};
nixd = {
command = getExe nixd;
# alejandro
config.nixd.formatting.command = ["${getExe alejandra}" "-q"];
config.nil.formatting.command = ["${getExe alejandra}" "-q"];
};
typescript-language-server = {
@ -266,6 +263,11 @@
command = lib.getExe ruff;
args = ["server"];
};
qmlls = {
command = lib.getExe' kdePackages.qtdeclarative "qmlls";
args = ["-E"];
};
basedpyright.command = "${basedpyright}/bin/basedpyright-langserver";
vscode-css-language-server = {
@ -309,7 +311,7 @@
# typst lsp
vscode-langservers-extracted
];
buildInputs = [makeWrapper];
nativeBuildInputs = [makeWrapper];
postBuild = ''
mkdir -p $out/config/helix
cp "${toml.generate "config.toml" helix-config}" $out/config/helix/config.toml

View file

@ -25,7 +25,7 @@ in
(pkgs.symlinkJoin {
name = "fish";
paths = [custom-fish] ++ packages;
buildInputs = [pkgs.makeWrapper];
nativeBuildInputs = [pkgs.makeWrapper];
postBuild = ''
wrapProgram $out/bin/fish --set STARSHIP_CONFIG "${toml.generate "starship.toml" starship-config}" \
'';