2023-06-06 23:18:09 +05:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../common.nix
|
|
|
|
./hardware-configuration.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
## Modules
|
|
|
|
modules = {
|
2023-06-07 16:30:32 +05:00
|
|
|
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;
|
2023-06-07 16:30:32 +05:00
|
|
|
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;
|
|
|
|
};
|
2023-06-07 16:30:32 +05:00
|
|
|
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;
|
|
|
|
};
|
2023-06-07 16:30:32 +05:00
|
|
|
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;
|
2023-06-07 16:30:32 +05:00
|
|
|
};
|
|
|
|
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-07 16:30:32 +05:00
|
|
|
};
|
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;
|
|
|
|
}
|