From 7f060d86968ba3fa84b608677f95145e601e050e Mon Sep 17 00:00:00 2001 From: Alexandre Date: Sun, 19 Jul 2026 00:10:03 +0200 Subject: [PATCH] Rewriting the config in pure nix (noctalia) --- .../features/desktop/rice/niri.nix | 8 +++- .../features/desktop/rice/noctalia.nix | 40 +++++++++++++++++-- result | 2 +- 3 files changed, 45 insertions(+), 5 deletions(-) diff --git a/modules_dentritic/features/desktop/rice/niri.nix b/modules_dentritic/features/desktop/rice/niri.nix index 7f6436c..e270d1a 100644 --- a/modules_dentritic/features/desktop/rice/niri.nix +++ b/modules_dentritic/features/desktop/rice/niri.nix @@ -9,6 +9,8 @@ systemPackages = with pkgs; [ wofi firefox + syncthing + self.packages.${pkgs.stdenv.hostPlatform.system}.myNoctalia ]; }; }; @@ -23,6 +25,10 @@ spawn-at-startup = [ noctaliaPath ]; + spawn-sh-at-startup = [ + "syncthing --no-browser" + ]; + screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"; prefer-no-csd = {}; input = { @@ -45,7 +51,7 @@ "Mod+Return".spawn-sh = lib.getExe pkgs.kitty; "Mod+Space".spawn = [ "wofi" "--show" "drun"]; "Mod+Shift+R".spawn = [ "zen" ]; - "Mod".spawn-sh = "${noctaliaPath} ipc call controlCenter toggle"; + "Mod+I".spawn-sh = "${noctaliaPath} ipc call controlCenter toggle"; "Mod+L".spawn-sh = "${noctaliaPath} ipc call sessionMenu lock"; # Default binds diff --git a/modules_dentritic/features/desktop/rice/noctalia.nix b/modules_dentritic/features/desktop/rice/noctalia.nix index 3bc238b..4ca2d3e 100644 --- a/modules_dentritic/features/desktop/rice/noctalia.nix +++ b/modules_dentritic/features/desktop/rice/noctalia.nix @@ -3,9 +3,43 @@ perSystem = { pkgs, lib, ... }: { packages.myNoctalia = inputs.wrapper-modules.wrappers.noctalia-shell.wrap { inherit pkgs; - settings = - (builtins.fromJSON - (builtins.readFile ./noctalia.json)).settings; + settings = { + bar = { + barType = "floating"; + position = "left"; + monitors = []; + density = "compact"; + showOutline = false; + showCapsule = true; + capsuleOpacity = 1; + capsuleColorKey = "none"; + widgetSpacing = 6; + contentPadding = 2; + fontScale = 1; + enableExclusionZoneInset = true; + backgroundOpacity = 0.93; + useSeparateOpacity = false; + marginVertical = 4; + marginHorizontal = 4; + frameThickness = 8; + frameRadius = 12; + outerCorners = true; + hideOnOverview = false; + displayMode = "always_visible"; + autoHideDelay = 500; + autoShowDelay = 150; + showOnWorkspaceSwitch = true; + widgets = { + left = [ + { + colorizedDistroLogo = false; + } + ]; + }; + }; + }; + #(builtins.fromJSON + # (builtins.readFile ./noctalia.json)).settings; }; }; } diff --git a/result b/result index b17f1b7..b0ade87 120000 --- a/result +++ b/result @@ -1 +1 @@ -/nix/store/yqdzrhnxhsp4y1vfd4xnv8vwvs99v19s-nixos-system-framework-26.11.20260610.9ae611a \ No newline at end of file +/nix/store/nbaf6c3ada2qpnp1nm0iig1gvgzrn0w8-noctalia-shell-4.7.7 \ No newline at end of file