compat: update deprecated config formats
This commit is contained in:
parent
9afcb20494
commit
c6be7e059e
2 changed files with 14 additions and 10 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue