No description
Find a file
Tristan D 32bf88339e Update systems/nixos-fw16/disks.nix
Signed-off-by: Tristan D. <tristan@gitea@vault81.de>
2024-06-20 16:34:21 +00:00
ext Switch to groq as default gptel backend 2024-05-08 14:31:04 +02:00
home-mods Switch to plasma6 version of some pkgs 2024-05-29 19:02:30 +02:00
os-mods WIP Some tweaks 2024-05-12 19:57:23 +02:00
pkgs Add spotube & some tweaks 2024-01-22 15:50:26 +01:00
systems Update systems/nixos-fw16/disks.nix 2024-06-20 16:34:21 +00:00
users Add waypipe & fix ssh conf for it 2024-05-03 18:56:35 +02:00
.directory WIP: Add qemu 2023-09-26 11:22:33 +02:00
flake.lock Update flakes 2024-06-20 15:08:35 +02:00
flake.nix Add llama.cpp 2024-05-03 22:40:09 +02:00
NOTES.md Make MozillaVPN work with tailscale/netmaker/etc 2024-01-23 01:11:11 +01:00
README.md Update README.md 2024-02-14 10:34:02 +01:00

My nix conf

🏗️ 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 # this assumes your hostname is the same as in the config

Run this to keep your home up-to-date. (Assuming you manage home-manager seperately and don't have it integrated into your osConfiguration)

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