Compare commits

...

5 Commits

Author SHA1 Message Date
Giulio De Pasquale
4c9df03d08 bump 2025-06-25 10:12:43 +01:00
Giulio De Pasquale
1cb9847286 refactor(home/git): remove gitEmail parameter and hardcode userEmail 2025-06-17 12:46:13 +01:00
Giulio De Pasquale
04ee412d1e refactor(home.git): make userEmail configurable and reorganize settings 2025-06-17 12:45:31 +01:00
Giulio De Pasquale
c466fdad7b refactor(user): make tmpfs Downloads configuration conditional on Linux 2025-06-17 12:29:11 +01:00
Giulio De Pasquale
41bfe1fa53 bump 2025-06-17 12:14:53 +01:00
4 changed files with 18 additions and 15 deletions

16
flake.lock generated
View File

@ -99,17 +99,17 @@
},
"nixos-unstable": {
"locked": {
"lastModified": 1749285348,
"narHash": "sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU=",
"lastModified": 1750506804,
"narHash": "sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3e3afe5174c561dee0df6f2c2b2236990146329f",
"rev": "4206c4cb56751df534751b058295ea61357bbbaa",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3e3afe5174c561dee0df6f2c2b2236990146329f",
"rev": "4206c4cb56751df534751b058295ea61357bbbaa",
"type": "github"
}
},
@ -147,17 +147,17 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1749494155,
"narHash": "sha256-FG4DEYBpROupu758beabUk9lhrblSf5hnv84v1TLqMc=",
"lastModified": 1750622754,
"narHash": "sha256-kMhs+YzV4vPGfuTpD3mwzibWUE6jotw5Al2wczI0Pv8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "88331c17ba434359491e8d5889cce872464052c2",
"rev": "c7ab75210cb8cb16ddd8f290755d9558edde7ee1",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "88331c17ba434359491e8d5889cce872464052c2",
"rev": "c7ab75210cb8cb16ddd8f290755d9558edde7ee1",
"type": "github"
}
},

View File

@ -1,7 +1,7 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/88331c17ba434359491e8d5889cce872464052c2";
nixos-unstable.url = "github:NixOS/nixpkgs/3e3afe5174c561dee0df6f2c2b2236990146329f";
nixpkgs.url = "github:NixOS/nixpkgs/c7ab75210cb8cb16ddd8f290755d9558edde7ee1";
nixos-unstable.url = "github:NixOS/nixpkgs/4206c4cb56751df534751b058295ea61357bbbaa";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
local-unstable.url = "path:///home/giulio/dev/nixpkgs";
pepeflake.url = "git+https://git.giugl.io/peperunas/pepeflake";

View File

@ -11,7 +11,7 @@
roles_mod = (map (r: mkHomeRole r) roles);
in
{
fileSystems."/home/${name}/Downloads" = {
fileSystems."/home/${name}/Downloads" = pkgs.lib.mkIf stdenv.isLinux {
device = "tmpfs";
fsType = "tmpfs";
options = [ "size=3G" ];

View File

@ -3,6 +3,9 @@
enable = true;
userName = "Giulio De Pasquale";
userEmail = "git@depasquale.giugl.io";
delta.enable = true;
lfs.enable = true;
extraConfig = {
filter."lfs" = {
process = "git-lfs filter-process";
@ -11,12 +14,12 @@
smudge = "git-lfs smudge -- %f";
};
};
delta.enable = true;
lfs.enable = true;
aliases = {
ai = ''! cd -- "''${GIT_PREFIX:-.}" && git diff HEAD -- "$@" | aichat -m ollama:pino-coder -r commitmessage #'';
ais = ''! cd -- "''${GIT_PREFIX:-.}" && git diff --staged HEAD -- "$@" | aichat -m ollama:pino-coder -r commitmessage #'';
ai = ''! cd -- "''${GIT_PREFIX:-.}" && git diff HEAD -- "$@" | aichat -m ollama:pino-coder -c -r commitmessage #'';
ais = ''! cd -- "''${GIT_PREFIX:-.}" && git diff --staged HEAD -- "$@" | aichat -m ollama:pino-coder -c -r commitmessage #'';
};
};
home.packages = [ pkgs.git-lfs ];
}