Refactor programs

This commit is contained in:
♥ Minnie ♥ 2024-07-26 09:13:04 +08:00
parent 3de981c7dd
commit 6fd81e3a16
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 13 additions and 6 deletions

View file

@ -10,6 +10,7 @@
../common/optional/key.nix ../common/optional/key.nix
./programs
./services ./services
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
@ -51,12 +52,6 @@
networkmanager.enable = true; networkmanager.enable = true;
}; };
programs = {
zsh.enable = true;
direnv.enable = true;
adb.enable = true;
};
# Use docker instead of podman for our containers. # Use docker instead of podman for our containers.
virtualisation.docker = { virtualisation.docker = {
enable = true; enable = true;

View file

@ -0,0 +1,12 @@
{ ... }:
{
programs = {
zsh.enable = true;
# Load and unload environment variables.
direnv.enable = true;
# Android debug bridge: communicate with devices.
adb.enable = true;
};
}