feat: replace waybar/mako/anyrun/wlogout/swaylock with noctolia-shell, remove hyprland (#240)

This commit is contained in:
Ryan Yin
2026-01-03 23:36:54 +08:00
committed by GitHub
parent 847adc7d63
commit fb7a0cd178
74 changed files with 684 additions and 1721 deletions

View File

@@ -1,13 +1,6 @@
{ mylib, pkgs, ... }:
{
config,
pkgs,
...
}:
{
imports = [
./anyrun.nix
./nvidia.nix
];
imports = mylib.scanPaths ./.;
# wayland related
home.sessionVariables = {
@@ -39,37 +32,9 @@
wf-recorder # screen recording
];
xdg.configFile =
let
mkSymlink = config.lib.file.mkOutOfStoreSymlink;
confPath = "${config.home.homeDirectory}/nix-config/home/linux/gui/base/desktop/conf";
in
{
"mako".source = mkSymlink "${confPath}/mako";
"waybar".source = mkSymlink "${confPath}/waybar";
"wlogout".source = mkSymlink "${confPath}/wlogout";
"hypr/hypridle.conf".source = mkSymlink "${confPath}/hypridle.conf";
};
# status bar
programs.waybar = {
enable = true;
systemd.enable = true;
};
# Disable catppuccin to avoid conflict with my non-nix config.
catppuccin.waybar.enable = false;
# screen locker
programs.swaylock.enable = true;
# Logout Menu
programs.wlogout.enable = true;
catppuccin.wlogout.enable = false;
# Hyprland idle daemon
services.hypridle.enable = true;
# notification daemon, the same as dunst
services.mako.enable = true;
catppuccin.mako.enable = false;
}