commit 354d1fb15d81af10239cc3e5dd906b417371e23d
parent 7ed1a8da457f0eaf748ada7cc3e6d1fa3291bb80
Author: maydayv7 <maydayv7@gmail.com>
Date: Wed, 17 Jun 2026 22:03:29 +0530
feat(Hyprland): Use Noctalia Greeter
Diffstat:
10 files changed, 42 insertions(+), 89 deletions(-)
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
@@ -11,12 +11,6 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- - name: Maximize Build Space
- run: |
- sudo rm -rf /usr/share/dotnet
- sudo rm -rf /opt/ghc
- sudo rm -rf "/usr/local/share/boost"
- sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Clone Repo
uses: actions/checkout@v6
with:
@@ -30,4 +24,4 @@ jobs:
accept-flake-config = true
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Check Syntax
- run: nix flake check . --keep-going
+ run: nix flake check --no-build --keep-going
diff --git a/CHANGELOG.md b/CHANGELOG.md
@@ -2,7 +2,7 @@
### June
-- Use Noctalia Shell (v5) with Hyprland
+- Use Noctalia Shell & Greeter (v5) with Hyprland
- Per-user secrets
- Use `zellij` instead of `tmux`
- Add `auth`, `syncthing`, `mouse`
diff --git a/files/_module.nix b/files/_module.nix
@@ -79,7 +79,6 @@ in {
pypr = readFile ./hyprland/pypr.toml;
waycorner = readFile ./hyprland/waycorner.toml;
kebihelp = readFile ./hyprland/kebihelp.json;
- greeter = readFile ./hyprland/greeter.conf;
};
# Pictures
diff --git a/files/hyprland/greeter.conf b/files/hyprland/greeter.conf
@@ -1,20 +0,0 @@
-exec-once = @greeter; hyprctl dispatch exit
-
-windowrule = fullscreen on, stay_focused on, match:class ^(.*)$
-monitor = , preferred, auto, 1
-
-animations:enabled = false
-misc {
- background_color = rgb(@base00)
- disable_autoreload = true
- disable_hyprland_logo = true
- disable_splash_rendering = true
- disable_hyprland_guiutils_check = true
- enable_anr_dialog = false
- force_default_wallpaper = 0
-}
-
-ecosystem {
- no_update_news = true
- no_donation_nag = true
-}
diff --git a/flake.lock b/flake.lock
@@ -1742,6 +1742,26 @@
"type": "github"
}
},
+ "noctalia-greeter": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1781614784,
+ "narHash": "sha256-xP7OXSz9xWZyqqhoeBMxvOBiLXoh+pFCgH1kcwQlNr8=",
+ "owner": "noctalia-dev",
+ "repo": "noctalia-greeter",
+ "rev": "773e322418f904ffb9f0b1b4d378e7766bc1847e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "noctalia-dev",
+ "repo": "noctalia-greeter",
+ "type": "github"
+ }
+ },
"nur": {
"inputs": {
"flake-parts": [
@@ -1858,6 +1878,7 @@
"stable"
],
"noctalia": "noctalia",
+ "noctalia-greeter": "noctalia-greeter",
"proprietary": "proprietary",
"sops": "sops",
"spicetify": "spicetify",
diff --git a/flake.nix b/flake.nix
@@ -222,6 +222,12 @@
url = "github:noctalia-dev/noctalia";
inputs.nixpkgs.follows = "nixpkgs";
};
+
+ # Login Greeter
+ noctalia-greeter = {
+ url = "github:noctalia-dev/noctalia-greeter";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
};
## Configuration ##
diff --git a/modules/desktop/hyprland/_features/login.nix b/modules/desktop/hyprland/_features/login.nix
@@ -1,36 +1,18 @@
# Login Greeter
-_: {
+{inputs ? null, ...}: {
nixos = {
config,
- lib,
pkgs,
...
- }: let
- inherit (lib) mkForce;
- in {
- stylix.targets.regreet.enable = true;
- environment.persist.directories = ["/var/lib/regreet"];
- programs.regreet = {
+ }: {
+ imports = [inputs.noctalia-greeter.nixosModules.default];
+ environment.persist.directories = ["/var/lib/noctalia-greeter"];
+ programs.noctalia-greeter = {
enable = true;
- package = pkgs.regreet;
- settings.commands = {
- reboot = [
- "systemctl"
- "reboot"
- ];
- poweroff = [
- "systemctl"
- "poweroff"
- ];
+ settings.cursor = {
+ theme = config.stylix.cursor.name;
+ inherit (config.stylix.cursor) size package;
};
-
- extraCss = mkForce "";
- theme = mkForce config.gui.gtk.theme;
- iconTheme = with config.stylix.icons;
- mkForce {
- name = dark;
- inherit package;
- };
};
};
}
diff --git a/modules/desktop/hyprland/_features/main.nix b/modules/desktop/hyprland/_features/main.nix
@@ -1,23 +1,6 @@
# Compositor
-{
- util ? null,
- files ? null,
- ...
-}: {
- nixos = {
- config,
- lib,
- pkgs,
- ...
- }: let
- inherit
- (lib)
- getExe
- getExe'
- mkForce
- replaceStrings
- ;
- in {
+_: {
+ nixos = {pkgs, ...}: {
# WM
programs.hyprland = {
enable = true;
@@ -27,18 +10,6 @@
portalPackage = pkgs.hyprworld.xdg-desktop-portal-hyprland;
};
- # Greeter
- services.greetd.settings.default_session.command = mkForce "${getExe' config.programs.hyprland.package "start-hyprland"} -- --config ${
- pkgs.writeText "greeter.conf" (
- replaceStrings ["@greeter"] [(getExe config.programs.regreet.package)] (
- util.build.theme {
- inherit (config.lib.stylix) colors;
- file = files.hyprland.greeter;
- }
- )
- )
- } &> /dev/null";
-
# App Environment
xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-gtk];
};
diff --git a/modules/gui/qt.nix b/modules/gui/qt.nix
@@ -73,7 +73,7 @@ _: {
systemPackages = [package];
etc."xdg/Kvantum/kvantum.kvconfig".text = ''
[General]
- Theme=${name}
+ theme=${name}
'';
};
})
diff --git a/modules/hosts/valkyrie/default.nix b/modules/hosts/valkyrie/default.nix
@@ -46,7 +46,7 @@
"latex"
#"wine"
"games"
- "hyprland"
+ "gnome"
];
hmImports =
@@ -112,7 +112,7 @@ in {
# GUI
gui = {
display = "eDP-1";
- wallpaper = "Quasar";
+ wallpaper = "Bluewatch";
fancy = true;
};