update cross-module package references, nuke execOnStart
This commit is contained in:
parent
6d61976106
commit
ff647de9ce
13 changed files with 135 additions and 73 deletions
|
@ -9,11 +9,6 @@ in {
|
|||
type = types.nullOr (types.enum ["x11" "wayland"]);
|
||||
description = "What display protocol to use";
|
||||
};
|
||||
execOnStart = mkOption {
|
||||
type = types.listOf types.str;
|
||||
description = "List of commands to run on startup";
|
||||
default = null;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkMerge [
|
||||
|
@ -57,9 +52,18 @@ in {
|
|||
SDL_VIDEODRIVER = "wayland";
|
||||
CLUTTER_BACKEND = "wayland";
|
||||
};
|
||||
|
||||
hm.home.packages = with pkgs; [
|
||||
wl-clipboard
|
||||
wl-clipboard-x11 # compat with xclip
|
||||
];
|
||||
})
|
||||
(mkIf (cfg.envProto == "x11") {
|
||||
services.xserver.excludePackages = [ pkgs.xterm ];
|
||||
|
||||
hm.home.packages = with pkgs; [
|
||||
xclip
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue