1
0
Fork 0
nix-configuration/hosts/Khanda/default.nix

97 lines
2.1 KiB
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
}:
let
# Do not change this value! This tracks when NixOS was installed on your system.
stateVersion = "24.05";
in
{
imports = [ ./hardware-configuration.nix ];
system.stateVersion = stateVersion;
###*** Configure your system below this line. ***###
# Set your time zone.
# To see all available timezones, run `timedatectl list-timezones`.
time.timeZone = "America/New_York";
# Configure the system.
aux.system = {
# Enable to allow unfree (e.g. closed source) packages.
# Some settings may override this (e.g. enabling Nvidia GPU support).
# https://nixos.org/manual/nixpkgs/stable/#sec-allow-unfree
2024-06-24 16:24:21 +00:00
allowUnfree = true;
2024-06-24 18:01:51 +00:00
apps = {
development.enable = true;
media.enable = true;
office.enable = true;
recording.enable = true;
social.enable = true;
2024-06-25 18:27:58 +00:00
writing.enable = true;
2024-06-24 18:01:51 +00:00
};
2024-06-24 18:01:51 +00:00
# Enable Secure Boot support.
bootloader = {
enable = true;
2024-06-24 18:01:51 +00:00
secureboot.enable = true;
tpm2.enable = true;
};
2024-06-24 18:01:51 +00:00
# Change the default text editor. Options are "emacs", "nano", or "vim".
editor = "nano";
# Enable GPU support.
gpu.intel.enable = true;
2024-06-24 18:01:51 +00:00
# Change how long old generations are kept for.
retentionPeriod = "14d";
2024-06-25 18:13:15 +00:00
services = {
autoUpgrade.enable = false;
virtualization.enable = true;
};
2024-06-24 16:24:21 +00:00
2024-06-24 18:01:51 +00:00
ui = {
desktops.gnome = {
enable = true;
tripleBuffering.enable = true;
};
2024-06-24 18:01:51 +00:00
flatpak = {
# Enable Flatpak support.
enable = true;
# Define Flatpak packages to install.
packages = [
"com.github.tchx84.Flatseal"
"com.github.wwmm.easyeffects"
"md.obsidian.Obsidian"
"org.keepassxc.KeePassXC"
2024-06-30 17:54:55 +00:00
"org.mozilla.firefox"
2024-06-24 18:01:51 +00:00
];
};
};
users.aires = {
enable = true;
services = {
syncthing = {
enable = true;
autostart = true;
enableTray = false;
};
};
};
};
# Build remotely
nix.distributedBuilds = true;
2024-04-28 15:54:53 +00:00
# Limit the number of cores Nix can use
nix.settings.cores = 10;
}