{ inputs, ... }: { # noctalia shell module declaration flake.nixosModules.noctalia = { pkgs, user-parts, ... }: { # binary cache to reduce rebuild time nix.settings = { extra-substituters = [ "https://noctalia.cachix.org" ]; extra-trusted-public-keys = [ "noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4=" ]; }; # noctalia power management services = { power-profiles-daemon.enable = true; upower.enable = true; }; # system packages for noctalia environment.systemPackages = with pkgs; [ nix-search-tv # adds nix search function to noctalia ]; # home manager options home-manager.users.${user-parts.user.username} = { # for noctalia home manager functionality imports = [ inputs.noctalia.homeModules.default ]; programs.noctalia = { # enables noctalia enable = true; systemd.enable = true; # noctalia settings settings = { general = { avatarImage = "../../../assets/media/avatar.png"; radiusRatio = 0.2; showSessionButtonOnLockScreen = false; showHibernateButtonOnLockScreen = true; }; # for calendar/weather location = { name = "Brisbane, Australia"; monthBeforeDay = false; }; # launcher appLauncher = { terminalCommand = "kitty"; showCategories = false; }; # no want dock :( dock = { enabled = false; }; # status bar settings bar = { # monitors to display on monitors = [ "DP-4" ]; # position and density position = "top"; floating = true; density = "comfortable"; marginVertical = 0.25; marginHorizontal = 0.5; }; }; }; }; }; }