try to use watt (and quickshell)
This commit is contained in:
36
modules/home-manager/quickshell/default.nix
Normal file
36
modules/home-manager/quickshell/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
builtins,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.nix-config.quickshell;
|
||||
qs = inputs.quickshell.packages.x86_64-linux.default;
|
||||
in
|
||||
{
|
||||
options.nix-config.quickshell.enable = lib.mkEnableOption {
|
||||
name = "quickshell";
|
||||
description = "Whether to enable quickshell.";
|
||||
default = true;
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [
|
||||
qs
|
||||
pkgs.qt6.qtimageformats
|
||||
pkgs.qt6.qt5compat
|
||||
pkgs.qt6.qtmultimedia
|
||||
pkgs.qt6.qtdeclarative
|
||||
pkgs.qt6.qtsvg
|
||||
pkgs.qt6.qtwayland
|
||||
pkgs.qt6.qtbase
|
||||
|
||||
];
|
||||
|
||||
# add the quickshell config (whole directory) to XDG_CONFIG_HOME
|
||||
# home.file.".config/quickshell/config".source = ./config;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user