some more work laptop things

This commit is contained in:
CherryKitten 2024-04-06 12:19:07 +02:00
parent b1a2cd686f
commit 566ec67fdd
Signed by: sammy
GPG key ID: 98D8F75FB0658276
3 changed files with 8 additions and 1 deletions

View file

@ -65,7 +65,7 @@
mkHome = { user ? "sammy", hostname ? null }:
lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./users/${user} ] ++ lib.optional (!isNull hostname) (./. + "/users/${user}@${hostname}");
modules = [ ./users/${user}/home.nix ] ++ lib.optional (!isNull hostname) (./. + "/users/${user}@${hostname}/home.nix");
extraSpecialArgs = {
inherit inputs outputs;
pkgs-unstable = import nixpkgs-unstable { system = "x86_64-linux"; };

View file

@ -5,6 +5,7 @@
init = { defaultBranch = "main"; };
core = { editor = "nvim"; };
pull.rebase = true;
push.autoSetupRemote = true;
};
aliases = {
a = "add";

View file

@ -2,4 +2,10 @@
programs.ssh.includes = [
"./famedly-config"
];
programs.git.includes = [
{
path = "~/famedly/.gitconfig";
condition = "gitdir:~/famedly/";
}
];
}