chore: autoformat
This commit is contained in:
parent
337ee6db4a
commit
be381d1ebd
18 changed files with 158 additions and 116 deletions
|
|
@ -5,7 +5,18 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
pkgsUnstable = inputs.nixpkgs-unstable.legacyPackages.x86_64-linux;
|
||||
pkgsUnstable = import inputs.nixpkgs-unstable {
|
||||
system = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"code-cursor"
|
||||
"cursor"
|
||||
"cursor-cli"
|
||||
"vscode"
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -80,45 +91,45 @@ in
|
|||
xorg.xhost
|
||||
];
|
||||
sessionVariables = {
|
||||
|
||||
# DBUS_SESSION_BUS_ADDRESS = "unix:path=${config.home.homeDirectory}/.dbus-session-bus";
|
||||
|
||||
# DBUS_SESSION_BUS_ADDRESS = "unix:path=${config.home.homeDirectory}/.dbus-session-bus";
|
||||
};
|
||||
username = "thiago";
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
||||
|
||||
git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
aliases = {
|
||||
br = "branch";
|
||||
ca = "commit --amend";
|
||||
can = "commit --amend --no-edit";
|
||||
ci = "commit";
|
||||
co = "checkout";
|
||||
lg = "log --oneline --graph --decorate --all";
|
||||
st = "status";
|
||||
};
|
||||
extraConfig = {
|
||||
color.ui = "auto";
|
||||
core = {
|
||||
editor = "nvim";
|
||||
autocrlf = "input";
|
||||
aliases = {
|
||||
br = "branch";
|
||||
ca = "commit --amend";
|
||||
can = "commit --amend --no-edit";
|
||||
ci = "commit";
|
||||
co = "checkout";
|
||||
lg = "log --oneline --graph --decorate --all";
|
||||
st = "status";
|
||||
};
|
||||
extraConfig = {
|
||||
color.ui = "auto";
|
||||
core = {
|
||||
editor = "nvim";
|
||||
autocrlf = "input";
|
||||
};
|
||||
init.defaultBranch = "main";
|
||||
pull.rebase = true;
|
||||
};
|
||||
lfs.enable = true;
|
||||
signing = {
|
||||
key = "EC7C84664FF515B63AD510B63065EA73A976D430";
|
||||
signByDefault = false;
|
||||
};
|
||||
user = {
|
||||
email = "th.spo@pm.me";
|
||||
name = "Thiago Sposito";
|
||||
};
|
||||
init.defaultBranch = "main";
|
||||
pull.rebase = true;
|
||||
};
|
||||
lfs.enable = true;
|
||||
signing = {
|
||||
key = "EC7C84664FF515B63AD510B63065EA73A976D430";
|
||||
signByDefault = false;
|
||||
};
|
||||
user = {
|
||||
email = "th.spo@pm.me";
|
||||
name = "Thiago Sposito";
|
||||
};};
|
||||
};
|
||||
|
||||
gpg = {
|
||||
|
|
@ -172,4 +183,4 @@ in
|
|||
# age.keyFile = "/home/thiago/.config/sops/age/keys.txt";
|
||||
# gnupg.home = "/home/thiago/.gnupg";
|
||||
# };
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue