modified: common/configuration.nix

This commit is contained in:
2025-07-16 18:59:02 +10:00
parent cca2260bf4
commit b45aafcf3c

View File

@@ -23,6 +23,7 @@
vim vim
btop btop
git git
gcr
]; ];
#Set root password #Set root password
users.users.root = { users.users.root = {
@@ -50,6 +51,11 @@ users.users.root = {
nix.settings.experimental-features = "nix-command flakes"; nix.settings.experimental-features = "nix-command flakes";
services.gnome.gnome-keyring.enable = true;
security.pam.services.login.enableGnomeKeyring = true;
nix.settings = { nix.settings = {
substituters = [ substituters = [
"http://nix-cache" "http://nix-cache"
@@ -65,8 +71,8 @@ nix.settings = {
programs.git = { programs.git = {
enable = true; enable = true;
package = pkgs.git.override { withLibsecret = true; }; package = pkgs.git.override { withLibsecret = true; };
extraConfig = { config = {
credential.helper = "libsecret"; credential.helper = "/etc/profiles/per-user/nixos/bin/git-credential-libsecret";
}; };
}; };