misc general changes / nixpkgs break fixes
This commit is contained in:
parent
4b90113a54
commit
a5b19fc918
15 changed files with 272 additions and 67 deletions
|
@ -1,11 +1,15 @@
|
|||
{ system, inputs, impurity, lib, config, pkgs, ... }: let
|
||||
inherit (inputs) hyprland hyprland-hy3 quickshell;
|
||||
inherit (inputs) hyprland hyprsunset hyprpicker hyprland-hy3 quickshell;
|
||||
|
||||
exe = hyprland.packages.${system}.default.overrideAttrs (final: prev: {
|
||||
dontStrip = true;
|
||||
});
|
||||
|
||||
# I blame home manager
|
||||
wrapper = pkgs.callPackage ({ ... }: pkgs.writeShellScriptBin "hyprland" ''
|
||||
${builtins.readFile ./session.sh}
|
||||
${config.hyprland-session.prerun}
|
||||
${hyprland.packages.${system}.default}/bin/Hyprland $@
|
||||
${lib.getExe exe} $@
|
||||
'') {};
|
||||
in {
|
||||
imports = [ hyprland.nixosModules.default ];
|
||||
|
@ -20,6 +24,12 @@ in {
|
|||
type = types.separatedString "\n";
|
||||
default = "";
|
||||
};
|
||||
|
||||
# same as above but no impurity so the greeter works
|
||||
extraConfigStatic = mkOption {
|
||||
type = types.separatedString "\n";
|
||||
default = "";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
|
@ -54,7 +64,10 @@ in {
|
|||
grim
|
||||
slurp
|
||||
playerctl
|
||||
wf-recorder
|
||||
wl-screenrec
|
||||
|
||||
hyprsunset.packages.${system}.default
|
||||
hyprpicker.packages.${system}.default
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue