bonfire/hosts/elnafo/default.nix

93 lines
2.1 KiB
Nix
Raw Normal View History

2023-06-06 23:18:09 +05:00
{ pkgs, config, lib, ... }:
{
imports = [
../common.nix
./hardware-configuration.nix
];
## Modules
modules = {
desktop = {
gnome.enable = true;
audio.enable = true;
browsers = {
default = "firefox";
firefox.enable = true;
};
communication = {
discord.enable = true;
};
2023-06-15 11:05:31 +05:00
documents.enable = true;
editors = {
vscodium.enable = true;
};
gaming = {
steam.enable = true;
lutris.enable = true;
};
2023-06-29 15:59:03 +05:00
graphics = {
enable = true;
models.enable = true;
};
media = {
recording.enable = true;
};
term = {
default = "kgx";
};
vm = {
qemu.enable = true;
};
};
dev = {
cc.enable = true;
rust.enable = true;
python.enable = true;
};
editors = {
default = "nvim";
emacs = {
2023-06-15 11:05:31 +05:00
enable = true;
doom.enable = true;
};
vim.enable = true;
};
shell = {
direnv.enable = true;
git.enable = true;
gnupg.enable = true;
tmux.enable = true;
zsh.enable = true;
2023-06-15 11:05:31 +05:00
taskwarrior.enable = true;
};
services = {
ssh.enable = true;
2023-06-15 11:05:31 +05:00
nginx.enable = true;
2023-06-29 15:59:03 +05:00
podman.enable = true;
};
2023-06-06 23:18:09 +05:00
};
networking = {
networkmanager.enable = true;
useDHCP = lib.mkDefault true;
firewall.enable = true;
};
## Local config
programs = {
dconf.enable = true;
ssh.startAgent = true;
};
## Services
services.printing.enable = true;
services.xserver = {
layout = "us";
xkbVariant = "";
videoDrivers = [ "nvidia" ];
};
services.openssh.startWhenNeeded = true;
}