noctalia with fingerprint lock screen

This commit is contained in:
Miguel Palhas
2026-02-17 11:28:12 +00:00
parent 0993a23874
commit b6efd4d27b
23 changed files with 849 additions and 478 deletions
+12 -6
View File
@@ -22,11 +22,11 @@
export XCURSOR_THEME="Nordzy-cursors"
# Update Hyprland cursor theme
${pkgs.hyprland}/bin/hyprctl setcursor Nordzy-cursors 42
${pkgs.hyprland}/bin/hyprctl setcursor Nordzy-cursors 24
'';
kitty-theme = ''
# Switch all Kitty instances to dark theme
${pkgs.kitty}/bin/kitten themes --reload-in=all Catppuccin-Mocha
# Reload kitty config to pick up noctalia theme changes
kill -SIGUSR1 $(pidof kitty) 2>/dev/null || true
'';
claude-theme = ''
# Switch Claude Code to dark theme
@@ -35,6 +35,9 @@
${pkgs.jq}/bin/jq '.theme = "dark"' "$CLAUDE_CONFIG" > "$CLAUDE_CONFIG.tmp" && mv "$CLAUDE_CONFIG.tmp" "$CLAUDE_CONFIG"
fi
'';
noctalia-theme = ''
noctalia-shell ipc call darkMode setDark
'';
};
lightModeScripts = {
gtk-theme = ''
@@ -52,11 +55,11 @@
export XCURSOR_THEME="Nordzy-white"
# Update Hyprland cursor theme
${pkgs.hyprland}/bin/hyprctl setcursor Nordzy-white 42
${pkgs.hyprland}/bin/hyprctl setcursor Nordzy-white 24
'';
kitty-theme = ''
# Switch all Kitty instances to light theme
${pkgs.kitty}/bin/kitten themes --reload-in=all Catppuccin-Latte
# Reload kitty config to pick up noctalia theme changes
kill -SIGUSR1 $(pidof kitty) 2>/dev/null || true
'';
claude-theme = ''
# Switch Claude Code to light theme
@@ -65,6 +68,9 @@
${pkgs.jq}/bin/jq '.theme = "light"' "$CLAUDE_CONFIG" > "$CLAUDE_CONFIG.tmp" && mv "$CLAUDE_CONFIG.tmp" "$CLAUDE_CONFIG"
fi
'';
noctalia-theme = ''
noctalia-shell ipc call darkMode setLight
'';
};
};
+27 -3
View File
@@ -1,14 +1,13 @@
{ pkgs, ... }:
{ config, lib, pkgs, ... }:
{
imports = [
./darkman.nix
./spicetify.nix
];
home.packages = with pkgs; [
# various
google-chrome
spotify
spicetify-cli
thunar
obsidian
mpv
@@ -19,6 +18,8 @@
imv
pavucontrol
zathura
libsForQt5.qt5ct
kdePackages.qt6ct
nwg-look
xournalpp
jq
@@ -66,4 +67,27 @@
package = pkgs.numix-cursor-theme;
name = "Numix-Cursor-Light";
};
# zathura: include noctalia-generated theme
xdg.configFile."zathura/zathurarc".text = ''
include noctaliarc
'';
# gtk: include noctalia-generated css (mkForce to override gtk module)
xdg.configFile."gtk-3.0/gtk.css".text = lib.mkForce ''
@import url("noctalia.css");
'';
xdg.configFile."gtk-4.0/gtk.css".text = lib.mkForce ''
@import url("noctalia.css");
'';
# qt: use noctalia color scheme
xdg.configFile."qt5ct/qt5ct.conf".text = ''
[Appearance]
color_scheme_path=${config.home.homeDirectory}/.config/qt5ct/colors/noctalia.conf
'';
xdg.configFile."qt6ct/qt6ct.conf".text = ''
[Appearance]
color_scheme_path=${config.home.homeDirectory}/.config/qt6ct/colors/noctalia.conf
'';
}
@@ -0,0 +1,17 @@
{ inputs, pkgs, ... }:
let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in
{
imports = [ inputs.spicetify-nix.homeManagerModules.default ];
programs.spicetify = {
enable = true;
enabledExtensions = with spicePkgs.extensions; [
adblock
hidePodcasts
shuffle
];
theme = spicePkgs.themes.bloom;
};
}