Remove user-wide work-related packages

Instead, these are now installed via a work-specific devenv environment.
This commit is contained in:
Christopher Mühl 2025-11-19 00:39:04 +01:00
parent 0fa23fdd05
commit 71d2f7d5dd
No known key found for this signature in database
GPG key ID: E919B0F59E14FD47
8 changed files with 17 additions and 62 deletions

View file

@ -80,7 +80,8 @@ the config, but especially when trying out new tools the code could be a bit wil
Additionally, there's a couple of ideas I have for this:
- [ ] Deploy base tooling to all hosts. This mainly includes shell and `helix` configs. They should still be configurable per-host. Potential issue here could be hosts where I don't use home manager
- [ ] Make everything more composable. Can make use of the `elements` config some more, like how it's done for `quirks`
- [ ] Make everything more composable. Can make use of the `_elements` config some more, like how it's done for `quirks`
- [ ] Create custom live-ISO that has installation tooling/shortcuts pre-configured
[just]: https://github.com/casey/just
[snowfall]: https://snowfall.org/guides/lib/quickstart

17
flake.lock generated
View file

@ -156,22 +156,6 @@
"type": "github"
}
},
"docker-compose-1": {
"locked": {
"lastModified": 1624397714,
"narHash": "sha256-mtIXSGsYIIK8IM6bY02bZ9ENkOpPNQEMAoHE43Dg8HE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "b0f0b5c6c021ebafbd322899aa9a54b87d75a313",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixpkgs",
"rev": "b0f0b5c6c021ebafbd322899aa9a54b87d75a313",
"type": "github"
}
},
"elemental-wine-source": {
"flake": false,
"locked": {
@ -635,7 +619,6 @@
"agenix-rekey": "agenix-rekey",
"darwin": "darwin_2",
"disko": "disko",
"docker-compose-1": "docker-compose-1",
"home-manager": "home-manager_2",
"musnix": "musnix",
"nixpkgs": "nixpkgs_5",

View file

@ -100,6 +100,5 @@
affinity-nix.url = "github:mrshmllow/affinity-nix";
quadlet.url = "github:SEIAROTg/quadlet-nix";
musnix.url = "github:musnix/musnix";
docker-compose-1.url = github:nixos/nixpkgs/b0f0b5c6c021ebafbd322899aa9a54b87d75a313;
};
}

View file

@ -36,7 +36,10 @@
nodejs_20.pkgs.pnpm
];
programs.direnv.enable = true;
programs.direnv = {
enable = true;
config.global.log_filter = "^$";
};
programs.direnv.nix-direnv.enable = true;
programs.go.enable = true;

View file

@ -1,23 +0,0 @@
{
pkgs,
inputs,
...
}: {
home.packages = with pkgs; [
# docker has to be installed globally because we have to enable virtualization
inputs.docker-compose-1.legacyPackages."x86_64-linux".docker-compose
ruby_3_4
# Dev environment specifics
libxcrypt # maklerportal-frontend-test-suite
postgresql
geos
# mDNS support
nssmdns
avahi
slack
];
}

View file

@ -17,6 +17,7 @@
slurp # Region selection
# GUI
slack # Work chat
vesktop # Discord client
vlc # Video player
obsidian # Note taking

View file

@ -15,7 +15,6 @@ in {
# clean up ~
LESSHISTFILE = "${cache}/less/history";
LESSKEY = "${conf}/less/lesskey";
DIRENV_LOG_FORMAT = "";
BROWSER = "firefox";
TERMINAL = "kitty";

View file

@ -1,17 +1,10 @@
{
config,
inputs,
lib,
...
}: {
config = lib.mkIf (builtins.elem "avahi" config.elements.quirks) {
# Use legacy docker compose v1
environment.systemPackages = [
inputs.docker-compose-1.legacyPackages."x86_64-linux".docker-compose
];
virtualisation = {
docker = {
config = lib.mkIf (builtins.elem "docker" config.elements.quirks) {
virtualisation.docker = {
enable = true;
# https://github.com/hausgold/knowledge/blob/master/troubleshooting/local-env-quirks.md#haproxy--docker-ulimit-glitch
@ -26,5 +19,4 @@
};
};
};
};
}