compat: update deprecated config formats

This commit is contained in:
Kiana Sheibani 2025-10-22 13:06:06 -04:00
parent 9afcb20494
commit c6be7e059e
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
2 changed files with 14 additions and 10 deletions

View file

@ -31,11 +31,9 @@ in
networking.networkmanager.enable = true;
# Power button settings
services.logind = {
extraConfig = ''
HandlePowerKey=ignore
HandlePowerKeyLongPress=poweroff
'';
services.logind.settings.Login = {
HandlePowerKey = "ignore";
HandlePowerKeyLongPress = "poweroff";
};
# Set your time zone.

View file

@ -23,13 +23,14 @@
programs.git = {
enable = true;
userName = fullname;
userEmail = email;
signing.key = "6CB106C25E86A9F7";
signing.signByDefault = true;
extraConfig = {
settings = {
user.name = fullname;
user.email = email;
github.user = "kiana-S";
credential.helper = "store";
safe.directory = [ "/etc/nixos" ];
@ -38,8 +39,13 @@
init.defaultBranch = "main";
};
delta.enable = true;
delta.options = {
};
programs.delta = {
enable = true;
enableGitIntegration = true;
options = {
features = "decorations";
relative-paths = true;