Set-up marabethia as a development machine
Some checks failed
Cachix / build (elendel) (push) Successful in 1m25s
Cachix / build (kholinar) (push) Failing after 1m34s
Cachix / build (marabethia) (push) Failing after 1m12s

This commit is contained in:
Charlotte Van Petegem 2025-01-26 13:10:08 +01:00
parent f4eab84ac2
commit 6a795ac029
Signed by: chvp
SSH key fingerprint: SHA256:+xxExaZKfphaPBA/f79I53pATM1GM3mRUFmOl/ChUbM
6 changed files with 54 additions and 36 deletions

View file

@ -22,6 +22,6 @@
zfs.homeLinks = [{ path = ".android"; type = "cache"; }];
};
programs.adb.enable = true;
users.users.charlotte.extraGroups = [ "adbusers" ];
users.users.charlotte.extraGroups = [ "adbusers" "dialout" "uucp" ];
};
}

View file

@ -4,13 +4,13 @@
imports = [
./android
./docker
./git
];
config = lib.mkIf config.chvp.development.enable {
chvp.development.docker.enable = lib.mkDefault true;
users.users.charlotte.extraGroups = [ "dialout" "uucp" ];
chvp = {
base.zfs.homeLinks = [{ path = "repos"; type = "cache"; }];
development.docker.enable = lib.mkDefault true;
};
boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288;
};

View file

@ -1,6 +0,0 @@
{ config, lib, pkgs, ... }:
{
home-manager.users.charlotte.programs.git = lib.mkIf config.chvp.development.git.enable {
};
}

View file

@ -13,7 +13,6 @@
{ path = "downloads"; type = "cache"; }
{ path = "music"; type = "data"; }
{ path = "pictures"; type = "cache"; }
{ path = "repos"; type = "cache"; }
{ path = "templates"; type = "data"; }
{ path = "videos"; type = "data"; }
];

View file

@ -65,31 +65,55 @@ in
''
];
home-manager.users.${username} = {
programs.git = {
enable = true;
lfs.enable = true;
extraConfig = {
branch.autosetuprebase = "always";
commit.gpgSign = true;
github.user = "chvp";
gpg.format = "ssh";
merge.conflictStyle = "diff3";
pull.rebase = true;
rebase.autoStash = true;
rerere.enabled = true;
tag.gpgSign = true;
user.signingKey = sshKeyFile;
programs = {
gh = {
enable = true;
extensions = [
(pkgs.buildGoModule {
pname = "gh-skyline";
version = "0.1.2";
src = pkgs.fetchFromGitHub {
owner = "github";
repo = "gh-skyline";
tag = "v0.1.2";
hash = "sha256-fe2mM46DM7LhbZP2QhcwkXUWp8o4iY/LLgALJ+H60P0=";
};
vendorHash = "sha256-rfv9KTTWs68pqSdgWo9dIn+PTe+77ZMOEhG0P37QwKo=";
ldflags = [
"-s"
"-w"
"-X main.Version=0.1.2"
];
})
];
};
git = {
enable = true;
lfs.enable = true;
extraConfig = {
branch.autosetuprebase = "always";
commit.gpgSign = true;
github.user = "chvp";
gpg.format = "ssh";
merge.conflictStyle = "diff3";
pull.rebase = true;
rebase.autoStash = true;
rerere.enabled = true;
tag.gpgSign = true;
user.signingKey = sshKeyFile;
};
ignores = [
".DS_Store"
".data"
".direnv"
".envrc"
".idea"
".dir-locals.el"
];
userEmail = config.chvp.development.git.email;
userName = "Charlotte Van Petegem";
};
ignores = [
".DS_Store"
".data"
".direnv"
".envrc"
".idea"
".dir-locals.el"
];
userEmail = config.chvp.development.git.email;
userName = "Charlotte Van Petegem";
};
};
};