first commit

This commit is contained in:
alyx 2025-07-15 21:03:35 +01:00
commit 37b1818720
No known key found for this signature in database
12 changed files with 1054 additions and 0 deletions

25
home/default.nix Normal file
View file

@ -0,0 +1,25 @@
{config, pkgs, lib, inputs, vars, ...}:{
imports = [
#aux files to make finding specific things easier
./packages.nix #general user packages not managed by home-manager but i want to install via hm anyways
];
home = rec {
username = vars.user; #this is set in flake.nix
homeDirectory = "/home/${username}"; #change this if you use a non-standard home dir
stateVersion = "23.11";
shell.enableBashIntegration = true;
};
programs.home-manager.enable = true;
programs.git = {
enable = true;
userName = "yourgitusername";
userEmail = "your@gitemail.com";
extraConfig = {
commit.gpgsign = true;
gpg.format = "ssh";
user.signingkey = "~/.ssh/id_ed25519.pub";
init.defaultBranch = "main";
};
};
}