This commit is contained in:
ari committed 2026-08-25 22:28:21 -04:00
1 parent 0efe1cac36
commit 0b210da0c7
7 files changed
+50 -9

No files matched your search

+5 -2
View File
@@ -27,7 +27,10 @@ split under `conf/` and pulled in with `require()`.
- **Layout:** Hyprland's native `scrolling` layout (0.54+), no plugins required.
This mirrors niri's scrollable-tiling model. See `conf/general.lua`.
- **Shell:** noctalia (`noctalia-shell`), autostarted in `conf/autostart.lua`
via `hl.on("hyprland.start", ...)`. There is intentionally no waybar/hyprpanel.
via `hl.on("hyprland.start", ...)`. Launched with `setpriv --ambient-caps -all`
to drop capabilities inherited from the compositor; without it, D-Bus calls
inside quickshell-based apps fail silently (hyprwm/Hyprland#14844). There is
intentionally no waybar/hyprpanel.
- **Keybinds:** `conf/keybindings.lua` mirrors `configs/niri/shared/binds.kdl`
and `configs/niri/noctalia/binds.kdl` as closely as Hyprland allows.
- **Overview:** there is no native Hyprland overview, and no overview plugin that
@@ -54,7 +57,7 @@ everything else stays on Hyprland defaults. Other `workspaces` styles available:
├── inputs.lua # touchpad tap + natural scroll, kb us, hl.gesture
├── window-rules.lua # hl.window_rule floats for small dialogs/utilities
├── keybindings.lua # niri + noctalia binds, scrolling dispatchers (hl.bind/hl.dsp)
└── autostart.lua # noctalia, hypridle via UWSM (hl.on hyprland.start)
└── autostart.lua # noctalia, hypridle via setpriv (hl.on hyprland.start; drops compositor caps)
```
## Bindings without a clean 1:1 niri mapping
+4 -2
View File
@@ -6,7 +6,9 @@
hl.on("hyprland.start", function()
-- noctalia shell (bar / launcher / control center / notifications)
hl.exec_cmd("uwsm app -- noctalia-shell")
-- setpriv drops ambient capabilities inherited from the compositor;
-- without it, D-Bus calls inside quickshell-based apps fail silently.
hl.exec_cmd("setpriv --ambient-caps -all -- noctalia-shell")
-- Idle management
hl.exec_cmd("uwsm app -- hypridle")
hl.exec_cmd("setpriv --ambient-caps -all -- hypridle")
end)
File renamed without changes.
File renamed without changes.
+2 -5
View File
@@ -3,7 +3,6 @@
, lib
, user
, unstablePkgs
, noctalia
, claude-desktop
, flox
, ...
@@ -15,7 +14,7 @@ let
8000
8001
];
noctaliaPkg = noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default;
in
{
# Skyg
@@ -44,6 +43,7 @@ in
tiler = {
enable = true;
hyprland.enable = true;
noctalia.enable = true;
niri = {
enable = true;
touchscreen-gestures = {
@@ -218,9 +218,6 @@ in
# Iphone Management
idevicerestore # optional, to mount using 'ifuse'
# Misc
noctaliaPkg
# coding agents
claude-desktop
grok-cli
+1
View File
@@ -12,6 +12,7 @@ in
./hyprland.nix
./niri.nix
./niri-touchscreen-gestures.nix
./noctalia.nix
./swww.nix
];
options = {
+38
View File
@@ -0,0 +1,38 @@
{ config
, lib
, pkgs
, skygUtils
, noctalia
, ...
}:
let
cfg = config.skyg.nixos.desktop.tiler.noctalia;
system = pkgs.stdenv.hostPlatform.system;
noctaliaPkg = noctalia.packages.${system}.default;
in
{
options = {
skyg.nixos.desktop.tiler.noctalia = {
enable = lib.mkEnableOption "noctalia";
configName = lib.mkOption {
type = lib.types.str;
default = config.skyg.core.hostName;
description = ''
Name of the per-host noctalia config directory under `configs/`.
The module symlinks `~/.config/noctalia` -> `configs/<configName>/noctalia`.
Defaults to the machine's hostName (e.g. `fwbook` -> `configs/fwbook/noctalia`).
'';
};
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = [ noctaliaPkg ];
# Symlink ~/.config/noctalia -> configs/<configName>/noctalia (host-specific).
system.userActivationScripts.noctaliaCfg.text = skygUtils.makeHyperlinkScriptToConfigs {
filePath = "${cfg.configName}/noctalia";
targetPath = "noctalia";
configSource = "/home/${config.skyg.user.name}/nixos-setup/configs";
};
};
}