nix-config/nixos/viridian/configuration.nix
jasmine e18635be43
refactor(home-manager): refine CLI feature configurations
- Add direnv module with nix-direnv integration, replacing manual hook
- Disable starship's add_newline for more compact prompt
- Clean up comments across CLI features for better readability
2025-10-27 13:56:01 +08:00

57 lines
1.1 KiB
Nix

{...}: {
imports = [
# Global configuration for all our systems
../common/global
# Our user configuration and optional user units
../common/users/sajenim
# Services
./services
# Multimedia
./multimedia
# Setup our hardware
./hardware-configuration.nix
];
# Networking configuration
networking = {
hostName = "viridian";
networkmanager.enable = true;
};
# Firewall configuration
networking.firewall = {
enable = true;
allowPing = true;
allowedTCPPorts = [
80 # http
443 # https
6600 # mpd
6667 # inspircd
];
};
# Configure programs
programs = {
zsh.enable = true;
};
# Manage linux containers
virtualisation = {
docker = {
enable = true;
liveRestore = false;
};
# Implementation to use for containers
oci-containers.backend = "docker";
};
# Required for smooth remote deployments
security.sudo.wheelNeedsPassword = false;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.05";
}