···127127 }
128128 ]
129129 ++ [{id = "KeepAwake";}]
130130- # Show the battery widget when enabled.
131131- ++ (optional cfgBattery {
132132- id = "Battery";
133133- showPowerProfiles = true;
134134- DisplayMode = "icon-hover";
135135- })
130130+ # Show the plugin battery widget when enabled.
131131+ ++ (optional cfgBattery {id = "plugin:battery-monitor-plus";})
136132 ++ [
137133 {id = "plugin:github-feed";}
138134
+16-5
modules/desktop/noctalia/delobotomize.nix
···2020 inherit (pkgs.stdenv.hostPlatform) system;
21212222 cfg = config.programs.noctalia-shell;
2323+2324 basePackage =
2425 if cfg.packageOverrides.package != null
2526 then cfg.packageOverrides.package
2627 else inputs.noctalia.packages.${system}.default;
2828+2729 overrideArgs = removeAttrs cfg.packageOverrides ["package"];
2830 locationFileEnv = optionals (cfg.systemd.locationFile != null) ["NOCTALIA_LOCATION_FILE=${cfg.systemd.locationFile}"];
2931 in {
···3234 # keep-sorted start block=yes newline_separated=yes
3335 # Keep a base package and overrides for local patches.
3436 packageOverrides = mkOption {
3737+ description = "Override arguments applied to the base package.";
3838+3539 type = types.submodule {
3640 # keep-sorted start block=yes newline_separated=yes
3741 freeformType = types.attrs;
38423943 # Add runtime tools directly to the wrapped shell package path.
4044 options.extraPackages = mkOption {
4545+ description = "Additional runtime packages prepended to the shell wrapper PATH.";
4646+4147 type = types.listOf types.package;
4248 default = [];
4343- description = "Additional runtime packages prepended to the shell wrapper PATH.";
4449 };
45504651 options.package = mkOption {
5252+ description = "Optional base package used before applying local patches.";
5353+4754 type = types.nullOr types.package;
4855 default = null;
4949- description = "Optional base package used before applying local patches.";
5056 };
5157 # keep-sorted end
5258 };
5959+5360 default = {};
5454- description = "Override arguments applied to the base package.";
5561 };
56625763 # Keep gui settings writes outside the nix store.
5864 systemd = {
5965 # keep-sorted start block=yes newline_separated=yes
6066 locationFile = mkOption {
6767+ description = ''
6868+ Optional file whose trimmed contents override `settings.location.name` before the shell starts.
6969+ Point this at a sops secret path to keep the location out of the nix store.
7070+ '';
7171+6172 type = types.nullOr types.path;
6273 default = null;
6363- description = "Optional file whose trimmed contents override `settings.location.name` before the shell starts. Point this at a sops secret path to keep the location out of the nix store.";
6474 };
65756676 mutableRuntimeSettings = mkOption {
7777+ description = "Whether noctalia-shell creates a gui-settings.json to store setting changes made within the GUI at runtime.";
7878+6779 type = types.bool;
6880 default = true;
6969- description = "Whether noctalia-shell creates a gui-settings.json to store setting changes made within the GUI at runtime.";
7081 };
7182 # keep-sorted end
7283 };
···22222323 cfgLocation = config.programs.noctalia-shell.location.source;
2424 in {
2525- imports = [
2525+ imports = with self.modules; [
2626 # keep-sorted start
2727- self.modules.generic.vars
2828- self.modules.homeManager.sops
2727+ generic.vars
2828+ homeManager.sops
2929 # keep-sorted end
3030 ];
31313232 # Control whether Noctalia reads weather data from autolocation or sops.
3333 options.programs.noctalia-shell.location.source = mkOption {
3434+ description = ''
3535+ Configure the Noctalia location source.
3636+ Set to "autolocate" to use automatic location detection, or to "sops"
3737+ to read the location from the `noctalia/location` secret.
3838+ '';
3939+3440 type = types.nullOr (types.enum [
3541 # keep-sorted start
3642 "autolocate"
···3844 # keep-sorted end
3945 ]);
4046 default = "autolocate";
4141- description = ''
4242- Configure the Noctalia location source.
4343- Set to "autolocate" to use automatic location detection, or to "sops"
4444- to read the location from the `noctalia/location` secret.
4545- '';
4647 };
47484849 config = mkMerge [
···1919 cfgTimezone = config.optServices.timezone;
2020 in {
2121 options.optServices.timezone = mkOption {
2222- type = types.nullOr types.str;
2323- default = null;
2424- example = "Europe/Amsterdam";
2522 description = ''
2623 Configure the system time zone or enable automatic adjustment.
2724 Set to a time zone string (for example "Europe/Amsterdam") to use a fixed time zone,
2825 or to "automatic-timezoned" to enable the automatic-timezoned service.
2926 '';
2727+2828+ type = types.nullOr types.str;
2929+ default = null;
3030+ example = "Europe/Amsterdam";
3031 };
31323233 config = mkMerge [
···2424 options.zen-browser = {
2525 # keep-sorted start block=yes newline_separated=yes
2626 commit-space = mkOption {
2727+ description = "Memory threshold (in MiB) at which tabs are unloaded when available commit space is low";
2828+2729 type = types.int;
2828- description = "Memory threshold (in MiB) at which tabs are unloaded when available commit space is low";
2930 };
30313132 travel.enable = mkEnableOption "Enable travel specific preferences.";
+3-3
modules/programs/ssh.nix
···88 }: let
99 inherit (vars) username;
1010 in {
1111- imports = [
1111+ imports = with self.modules; [
1212 # keep-sorted start
1313- self.modules.generic.vars
1414- self.modules.homeManager.sops
1313+ generic.vars
1414+ homeManager.sops
1515 # keep-sorted end
1616 ];
1717
+2-1
modules/programs/tui/btop.nix
···2828 else pkgs.btop;
2929 in {
3030 options.btop.gpuBackends = mkOption {
3131+ description = "Select GPU backends to enable in btop.";
3232+3133 type = types.listOf (
3234 types.enum [
3335 # keep-sorted start
···3739 ]
3840 );
3941 default = [];
4040- description = "Select GPU backends to enable in btop.";
4142 };
42434344 config.programs.btop = {