12 Commits

Author SHA1 Message Date
f11ecc8792
Fix: Remove unused input. 2025-02-18 02:42:58 -08:00
630fa3d971
Fix: Consolidate modules for fighter.
- Adds `systemd.enableEmergencyMode = false;` to system.nix module; removes from all redundant locations.
  - Removes configuration.nix for fighter.
  - Removes network-shares.nix for fighter (replaced by calling smb and iscsi modules).
2025-02-16 15:30:01 -08:00
1b610bc9eb
Fix (Huge): Re-enable desktop.
- Enable desktop system in flake with all modules imported in flake file, and arguments for those modules passed via specialArgs.
  - Disable fileSystems mounts for iscsi.
  - Refactor smb.nix to define all working shares. (TODO: Figure out how to enable a subset of shares by arguments passed to module).
  - Roll cloudflare_stream.token.
  - Extract all module calls out of configuration.nix for desktop. Remove configuration nodes duplicated in system.nix.
  - Fix dependence on deprecated "sys" subattributes in desktop-environment.nix.
  - Remove iscsi configuration from filesystems.nix. Using iscsi module instead.
  - Update terminal-environment.nix to use git attrset where appropriate.
  - Hardcode wallpaper file in theme.nix.
  -
2025-02-16 15:14:46 -08:00
93e8426a43
Feature: Implement new modules for fighter.
- Fighter uses: system, git, sops, docker, networking, and iscsi modules; plus its own stacks module which we've updated to use the new design concept.
  - I can't figure out how to put all of the module code together (importing and defining the vars), so we're compromising.
2025-02-16 01:26:30 -08:00
fff1d2c480
Enhancement (WIP): Consolidate system configurations into modules.
- system: Module describes core Linux system configuration parameters, and NixOS system parameters.
  - networking: Basic networking config for metal hosts.
  - sops: Configures sops-nix to decrypt secrets as appropriate, and provides a useful shell helper.
  - smb: Reusable module that returns one smb mount.
  - iscsi: Autoconnect and auto-mount iscsi target.
  - git: Basic Git config.
  - docker: Configure Docker.
  - hardware: Set of modules for physical hardware devices and their related configurations.
2025-02-16 00:13:27 -08:00
6bbd0b2f8c
Enhancement (WIP): Split clips config into separate file; include secrets required by script.
TODO: Refactor scripts to use new secret locations, create zipline token.
2025-02-10 11:51:53 -08:00
b70c0bb56b
Fix: Disable systemd's emergency mode, which caused a failure to boot when our iscsi disk was not mounted during boot. 2025-02-05 17:41:09 -08:00
a9290d0189
Update: Refactor fileSystems, module imports; Init ai.nix.
- ai.nix for all LLM/AI/ML programs/services/configurations.
  - Flatten module tree to 2 levels: configuration.nix, and modules imported by configuration.nix
  - Split fileSystems from hardware, mount /mnt/iscsi/joey-desktop, rename fedora drive to data.
2025-02-02 02:19:35 -08:00
efa8265c3b
Feature: Implement sops-nix:
- .sops.yaml: Rotate keys, narrow path_regex to secrets.
  - sops.nix: Init module, init `sops-nix` script.
  - configuration.nix: Add sops-nix to desktop configuration.
2025-01-30 14:55:56 -08:00
71deb2f3a7
Update system
- Switch back to a reasonable home-manager.backupFileExtension
- Extract defaultApplications to its own file, fix default apps not being "sticky" by using the `.desktop` file alone (without absolute path).
- Run "fastfetch" by name in zsh.initExtra.
2025-01-08 21:20:39 -08:00
4507b52ca1
Fix: Backup file extension collision 2025-01-08 12:11:30 -08:00
4e9d6dec6a
Refactor flake:
- Delete homeManagerConfigurations from flake.
- Delete laptop nixosConfiguration.
- Delete `home-manager/` and `nixos/` directories.
- Switch from one general "vars" attrset for variables to using built-for-purpose attrsets for variables, each declared where it makes most sense (e.g. the "sys" attrset will be used for system-specific attributes).
- Create `systems/` directory for root-level system configurations and `modules/` directory for re-usable config files.
- Consolidate most app and system configuration into the `desktop-environment.nix` and `terminal-environment.nix` files.
- Standardize all `.nix` files to nixos config nodes, as opposed to home-manager. May reverse this decision.
- Use `${sys.username}` for the username of the primary user of the system.
- Use `${usr.${sys.username}}` for attributes related to that user (e.g. realname, email).
2025-01-08 12:04:28 -08:00