308 current 2025-01-02 00:33:12 24.11.20241231.edf04b7 6.12.2-zen1 *
This commit is contained in:
parent
447fa2e841
commit
5a84295dc7
2 changed files with 80 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
|
./qtile.nix
|
||||||
./components/dbus.nix
|
./components/dbus.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
79
modules/wm_and_de/qtile.nix
Normal file
79
modules/wm_and_de/qtile.nix
Normal file
|
@ -0,0 +1,79 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(self: super: {
|
||||||
|
qtile-unwrapped = super.qtile-unwrapped.overrideAttrs (_: rec {
|
||||||
|
postInstall = let
|
||||||
|
qtileSession = ''
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Qtile Wayland
|
||||||
|
Comment=Qtile on Wayland
|
||||||
|
Exec=qtile start -b wayland
|
||||||
|
Type=Application
|
||||||
|
'';
|
||||||
|
in ''
|
||||||
|
mkdir -p $out/share/wayland-sessions
|
||||||
|
echo "${qtileSession}" > $out/share/wayland-sessions/qtile.desktop
|
||||||
|
'';
|
||||||
|
passthru.providedSessions = ["qtile"];
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
services.xserver.displayManager.sessionPackages = [pkgs.qtile-unwrapped];
|
||||||
|
services.xserver.windowManager.qtile.enable = true;
|
||||||
|
|
||||||
|
# for mounting stuff, also needs a auth agent like lxqt.lxqt-policykit
|
||||||
|
services.gvfs.enable = true;
|
||||||
|
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
platformTheme = "qt5ct";
|
||||||
|
style = "kvantum";
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.pathsToLink = ["/share/foot"];
|
||||||
|
|
||||||
|
# List packages installed in system profile. To search, run:
|
||||||
|
# $ nix search wget
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
# for tiling window manager
|
||||||
|
foot
|
||||||
|
foot.themes
|
||||||
|
wofi
|
||||||
|
wl-clipboard # for waydroid and maybe more
|
||||||
|
wlogout
|
||||||
|
pamixer
|
||||||
|
#unstable.kanshi
|
||||||
|
shikane
|
||||||
|
dunst
|
||||||
|
|
||||||
|
# audio
|
||||||
|
mixxc
|
||||||
|
ncpamixer
|
||||||
|
|
||||||
|
# for screenshot + annotation
|
||||||
|
grim
|
||||||
|
slurp
|
||||||
|
satty
|
||||||
|
flameshot
|
||||||
|
|
||||||
|
# theming
|
||||||
|
gruvbox-plus-icons
|
||||||
|
gruvbox-gtk-theme
|
||||||
|
kde-gruvbox
|
||||||
|
capitaine-cursors-themed
|
||||||
|
libsForQt5.qtstyleplugin-kvantum
|
||||||
|
kdePackages.qtstyleplugin-kvantum
|
||||||
|
|
||||||
|
# polkit auth agent
|
||||||
|
lxqt.lxqt-policykit
|
||||||
|
|
||||||
|
# file manager
|
||||||
|
nautilus
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue