Compare commits

..

No commits in common. "f5477289c4375b8780dcc3829c01b1c86f6cd697" and "9b56e8daaadb63d618a509e4bc115ea5c6e457f7" have entirely different histories.

9 changed files with 29 additions and 52 deletions

21
flake.lock generated
View file

@ -739,26 +739,6 @@
"type": "github" "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": { "root": {
"inputs": { "inputs": {
"helix": "helix", "helix": "helix",
@ -766,7 +746,6 @@
"impermanence": "impermanence", "impermanence": "impermanence",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"quickshell": "quickshell",
"schizofox": "schizofox", "schizofox": "schizofox",
"systems": "systems_3" "systems": "systems_3"
} }

View file

@ -61,12 +61,5 @@
}; };
helix.url = "github:helix-editor/helix"; 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,6 +7,7 @@ in {
anki anki
asciinema asciinema
beets beets
brave
bubblewrap bubblewrap
cachix cachix
calc calc

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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