Large refactor to clean up flake.nix

This commit is contained in:
Lauren Lagarde 2025-08-12 22:53:14 -05:00
parent 916595caa3
commit 67f0d12fc4
11 changed files with 206 additions and 362 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: {
{ inputs, self, pkgs, pkgs-unstable, ... }: {
# System Info:
# - Model: Dell OptiPlex 3040 Micro
# - CPU: Intel Core i3-6100T (2C/4T, Passmark: 1859/3642)
@ -6,7 +6,29 @@
# - 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