No description
Find a file
Tristan 7b70408842 Add desk-arch (#1)
Reviewed-on: #1
Co-authored-by: Tristan <tristan@vault81.mozmail.com>
Co-committed-by: Tristan <tristan@vault81.mozmail.com>
2023-11-02 23:22:08 +01:00
ext/doom wip 2023-10-30 15:06:59 +01:00
home-mods WIP #2 2023-10-30 19:00:58 +01:00
os-mods WIP #2 2023-10-30 19:00:58 +01:00
systems Add desk-arch (#1) 2023-11-02 23:22:08 +01:00
users WIP #2 2023-10-30 19:00:58 +01:00
.directory WIP: Add qemu 2023-09-26 11:22:33 +02:00
flake.lock WIP #2 2023-10-30 19:00:58 +01:00
flake.nix Add desk-arch (#1) 2023-11-02 23:22:08 +01:00
README.md Refactor as prep for multiple hosts 2023-10-17 01:08:43 +02:00

My nix conf

🏠 Home Setup

nix run home-manager/release-23.05 -- switch --flake .

🏗️ System Setup

👷 "Manual"

  1. Boot Installer
  2. Clone repo
  3. Setup partitions
    sudo nix run --extra-experimental-features flakes --extra-experimental-features nix-command github:nix-community/disko -- --mode disko --flake path:$PWD#nixos-pulse
    
  4. Run installer
    sudo nixos-install --flake .#nixos-pulse
    

🚀 Fully-Automated

🚨 This will WIPE EVERYTHING on the specified system
⚠️ ensure proper sshd & firewall key setup for remote systems

nix run github:numtide/nixos-anywhere -- --flake path:$PWD#nixos-pulse root@1.2.3.4

🔄 Updates

Run this to keep your system up-to-date.

nix flake update
sudo nixos-rebuild  --flake .#nixos-pulse switch

Run this to keep your home up-to-date.

nix flake update
home-manager switch --flake .

Plasma

Add GUI settings to plasma.nix

nix run github:pjones/plasma-manager | rg -v khotkeysrc | rg -v "\[ \]" > plasma.new.nix
diff plasma.nix plasma.new.nix
# copy over as needed

🛠️ Nix Configuration Structure

Here's a brief rundown of the directory structure:

Top-Level Files

  • flake.nix: Nix Flake configuration file.

home-mods Directory

Stores modules related to specific user applications or environments.

os-mods Directory

Holds system-level modules for network, virtualization, desktop etc.

users Directory

Holds home-manager configuration for the users listed in users.nix

systems Directory

Holds system specific nixos configuration (e.g. hardware quirks).

🙏 Made possible by