79 lines
1.8 KiB
Nix
79 lines
1.8 KiB
Nix
{ config, pkgs, ... }: {
|
|
# System Info:
|
|
# - Model: Dell OptiPlex 3040 Micro
|
|
# - CPU: Intel Core i3-6100T (2C/4T, Passmark: 1859/3642)
|
|
# - RAM: 16GB
|
|
# - Storage:
|
|
# - ADATA SP550 2G3720040332 240GB SATA SSD
|
|
|
|
imports = [
|
|
# Core Features
|
|
../../nixos/features/base.nix
|
|
../../nixos/features/tui-apps.nix
|
|
../../nixos/features/openssh-server.nix
|
|
|
|
# Core Tweaks
|
|
../../nixos/tweaks/zram.nix
|
|
../../nixos/tweaks/enable_flakes.nix
|
|
../../nixos/tweaks/disable_nixos_user.nix
|
|
../../nixos/tweaks/systemd-resolved_nonsense.nix
|
|
|
|
# Users
|
|
../../users/lauren_lagarde/autologin.nix
|
|
../../users/lauren_lagarde/lauren_lagarde.nix
|
|
|
|
# i3wm
|
|
../../nixos/features/i3wm.nix
|
|
|
|
# Dotspace
|
|
../../secrets/dotspace.nix
|
|
../../secrets/dotspace_shares.nix
|
|
../../nixos/features/stronghold-binary-cache.nix
|
|
|
|
# living-room
|
|
../../nixos/features/gpu/intel.nix
|
|
../../nixos/features/systemd-boot.nix
|
|
|
|
# TODO: Composable Disko Config
|
|
];
|
|
|
|
hardware.cpu.intel.updateMicrocode = true;
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
image.modules = {
|
|
iso = {
|
|
};
|
|
};
|
|
|
|
disko.devices = {
|
|
disk = {
|
|
vda = {
|
|
#device = "/dev/vda";
|
|
type = "disk";
|
|
content = {
|
|
type = "gpt";
|
|
partitions = {
|
|
ESP = {
|
|
type = "EF00";
|
|
size = "1G";
|
|
content = {
|
|
type = "filesystem";
|
|
format = "vfat";
|
|
mountpoint = "/boot";
|
|
mountOptions = [ "umask=0077" ];
|
|
};
|
|
};
|
|
root = {
|
|
size = "100%";
|
|
content = {
|
|
type = "filesystem";
|
|
format = "ext4";
|
|
mountpoint = "/";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|