100 lines
2.4 KiB
Nix
100 lines
2.4 KiB
Nix
{ inputs, self, pkgs, pkgs-unstable, ... }: {
|
|
# 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
|
|
|
|
networking.hostName = "living-room";
|
|
|
|
system.stateVersion = "25.05";
|
|
|
|
home-manager = {
|
|
extraSpecialArgs = { inherit self pkgs-unstable; };
|
|
users."lauren_lagarde" = {
|
|
home.stateVersion = "25.05";
|
|
imports = self.homeManagerModules."lauren_lagarde@gui.mlaga97.space" ++ [
|
|
./home.nix
|
|
];
|
|
};
|
|
};
|
|
|
|
time.timeZone = "America/Chicago";
|
|
sops.defaultSopsFile = ../../secrets.yaml;
|
|
|
|
imports = [
|
|
inputs.disko.nixosModules.default
|
|
inputs.sops-nix.nixosModules.sops
|
|
inputs.lix-module.nixosModules.default
|
|
inputs.home-manager.nixosModules.home-manager
|
|
|
|
# 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
|
|
|
|
# Dotspace
|
|
../../dotspace/configuration.nix
|
|
../../nixos/features/stronghold-binary-cache.nix
|
|
|
|
# Users
|
|
../../users/lauren_lagarde/autologin.nix
|
|
../../users/lauren_lagarde/configuration.nix
|
|
|
|
# i3wm
|
|
../../nixos/features/i3wm.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 = "/";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|