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

@ -82,6 +82,7 @@
rootPool = "zroot"; rootPool = "zroot";
}; };
}; };
development.enable = true;
games = { games = {
particles.server = true; particles.server = true;
tetris.server = true; tetris.server = true;

View file

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

View file

@ -4,13 +4,13 @@
imports = [ imports = [
./android ./android
./docker ./docker
./git
]; ];
config = lib.mkIf config.chvp.development.enable { config = lib.mkIf config.chvp.development.enable {
chvp.development.docker.enable = lib.mkDefault true; chvp = {
base.zfs.homeLinks = [{ path = "repos"; type = "cache"; }];
users.users.charlotte.extraGroups = [ "dialout" "uucp" ]; development.docker.enable = lib.mkDefault true;
};
boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288; 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 = "downloads"; type = "cache"; }
{ path = "music"; type = "data"; } { path = "music"; type = "data"; }
{ path = "pictures"; type = "cache"; } { path = "pictures"; type = "cache"; }
{ path = "repos"; type = "cache"; }
{ path = "templates"; type = "data"; } { path = "templates"; type = "data"; }
{ path = "videos"; type = "data"; } { path = "videos"; type = "data"; }
]; ];

View file

@ -65,7 +65,30 @@ in
'' ''
]; ];
home-manager.users.${username} = { home-manager.users.${username} = {
programs.git = { 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; enable = true;
lfs.enable = true; lfs.enable = true;
extraConfig = { extraConfig = {
@ -93,4 +116,5 @@ in
}; };
}; };
}; };
};
} }