From 44b8624d201e70c8418ada5db3c46e9ba130ea30 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Thu, 24 Sep 2026 03:42:34 +0530 Subject: refactor(naming): use kebab-case option names and consistent gopass secret naming --- users/arpit/default.nix | 4 ++-- users/arpit/private.example.nix | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'users') diff --git a/users/arpit/default.nix b/users/arpit/default.nix index c2dec0e..7b02d30 100644 --- a/users/arpit/default.nix +++ b/users/arpit/default.nix @@ -36,7 +36,7 @@ development.delta.enable = true; development.direnv.enable = true; development.git.enable = true; - development.git.signing.signByDefault = true; + development.git.signing.sign-by-default = true; development.lazygit.enable = true; development.nixvim.enable = true; development.opencode.enable = true; @@ -101,7 +101,7 @@ web.aria2.enable = true; web.chawan.enable = true; web.chromium.enable = true; - web.chromium.useOpenGL = false; + web.chromium.use-opengl = false; programs.home-manager.enable = true; } diff --git a/users/arpit/private.example.nix b/users/arpit/private.example.nix index 3752f68..54fd972 100644 --- a/users/arpit/private.example.nix +++ b/users/arpit/private.example.nix @@ -5,16 +5,16 @@ remote = "YOUR_REPOSITORY_URL"; credential = { username = "example"; - passwordGopassPath = "websites/github.com/example/tokens/calendar"; + password-gopass-secret = "websites/github.com/example/tokens/calendar"; }; }; # Email - Template for configuring neomutt email accounts config.communication.neomutt.accounts = { "example@gmail.com" = { - realName = "Example User"; + real-name = "Example User"; address = "user@gmail.com"; - passwordGopassSecret = "mail/user@gmail.com"; + password-gopass-secret = "mail/user@gmail.com"; flavor = "gmail.com"; primary = true; neomutt.extraConfig = '' @@ -22,8 +22,8 @@ ''; gpg = { key = "YOUR_GPG_KEY_ID"; - signByDefault = true; - encryptByDefault = false; # set true only if you also want auto-encrypt + sign-by-default = true; + encrypt-by-default = false; # set true only if you also want auto-encrypt }; }; }; @@ -35,7 +35,7 @@ }; identity = { nickname = "example"; - passwordGopassSecret = "irc/user@irc.example.com"; + password-gopass-secret = "irc/user@irc.example.com"; }; }; @@ -45,19 +45,19 @@ email = "you@example.com"; signing = { key = "EXAMPLE_GPG_KEY_ID"; - signByDefault = true; + sign-by-default = true; }; }; # SSH key to load into the gpg-agent from gopass (entry in the gopass store) - config.security.ssh.sshKeyGopassPath = "ssh/hostname/username"; + config.security.ssh.ssh-key-gopass-secret = "ssh/hostname/username"; # Gopass - Template for configuring gopass, specially syncing config.security.gopass.sync = { remote = "YOUR_REPOSITORY_URL"; credential = { username = "example"; - passwordGopassPath = "websites/github.com/example/tokens/calendar"; + password-gopass-secret = "websites/github.com/example/tokens/calendar"; }; }; } -- cgit v1.2.3 From 748669e19daa3afc8f0cfe10eedc19ae9766ed2c Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Thu, 24 Sep 2026 03:59:42 +0530 Subject: refactor: link packaged icons into the hicolor theme --- modules/communication/neomutt/default.nix | 4 +++- modules/development/git/default.nix | 2 +- modules/gaming/heroic/default.nix | 5 ++++- users/arpit/private.example.nix | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) (limited to 'users') diff --git a/modules/communication/neomutt/default.nix b/modules/communication/neomutt/default.nix index 385c290..e091a7d 100644 --- a/modules/communication/neomutt/default.nix +++ b/modules/communication/neomutt/default.nix @@ -70,6 +70,8 @@ in xdg.configFile."neomutt/mailcap".text = builtins.replaceStrings [ "@@HTML_VIEWER@@" ] [ (lib.getExe config.web.chawan.package) ] (builtins.readFile ./mailcap); + home.file.".local/share/icons/hicolor/scalable/apps/neomutt.svg".source = + config.lib.file.mkOutOfStoreSymlink "${config.programs.neomutt.package}/share/neomutt/logo/neomutt.svg"; programs.neomutt = { enable = true; package = pkgs.symlinkJoin { @@ -99,7 +101,7 @@ in xdg.desktopEntries."neomutt" = { name = "NeoMutt"; exec = "${lib.getExe config.terminal.kitty.package} --class neomutt -e ${lib.getExe config.programs.neomutt.package}"; - icon = "${config.programs.neomutt.package}/share/neomutt/logo/neomutt.svg"; + icon = "neomutt"; categories = [ "Network" "Email" diff --git a/modules/development/git/default.nix b/modules/development/git/default.nix index 593c8a3..f2a0d64 100644 --- a/modules/development/git/default.nix +++ b/modules/development/git/default.nix @@ -56,7 +56,7 @@ in enable = true; signing = { key = cfg.signing.key; - sign-by-default = cfg.signing.sign-by-default; + signByDefault = cfg.signing.sign-by-default; }; settings = lib.mkMerge [ { diff --git a/modules/gaming/heroic/default.nix b/modules/gaming/heroic/default.nix index 3378932..61eceb5 100644 --- a/modules/gaming/heroic/default.nix +++ b/modules/gaming/heroic/default.nix @@ -34,10 +34,13 @@ in config = lib.mkIf cfg.enable { home.packages = [ cfg.package ]; + home.file.".local/share/icons/hicolor/scalable/apps/com.heroicgameslauncher.hgl.svg".source = + config.lib.file.mkOutOfStoreSymlink "${pkgs.heroic}/share/icons/hicolor/scalable/apps/com.heroicgameslauncher.hgl.svg"; + xdg.desktopEntries."heroic" = { name = "Heroic Games Launcher"; exec = "${lib.getExe' cfg.package "heroic"} %u"; - icon = "${pkgs.heroic}/share/icons/hicolor/scalable/apps/com.heroicgameslauncher.hgl.svg"; + icon = "com.heroicgameslauncher.hgl"; comment = "An Open Source Launcher for GOG, Epic Games and Amazon Games"; categories = [ "Game" ]; mimeType = [ "x-scheme-handler/heroic" ]; diff --git a/users/arpit/private.example.nix b/users/arpit/private.example.nix index 54fd972..c854982 100644 --- a/users/arpit/private.example.nix +++ b/users/arpit/private.example.nix @@ -22,7 +22,7 @@ ''; gpg = { key = "YOUR_GPG_KEY_ID"; - sign-by-default = true; + sign-by-default = false; encrypt-by-default = false; # set true only if you also want auto-encrypt }; }; -- cgit v1.2.3