Skip to content

Latest commit

 

History

1,363 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-config

.github/workflows/check-no-build.yml .github/workflows/build.yml

Structure

---
config:
  flowchart:
    nodeSpacing: 25
    rankSpacing: 25
---
flowchart LR
    flake["flake.nix"]

    flake --> hosts["hosts/"]

    hosts --> server["server/configuration.nix"]
    hosts --> desktop["desktop/configuration.nix"]

    server --> modules["modules/"]
    desktop --> modules
  
Loading

Note

NOT exhaustive.

Usage

  1. Clone, or download the repository:
curl -L -O https://github.com/zzzealed/nix-config/archive/refs/heads/main.tar.gz
  1. Unzip with:
tar -xzf main.tar.gz
  1. Enter shell:
cd nix-config-main && nix-shell
  1. Rebuild and switch with a host's (eg. desktop's) configuration:
sudo nixos-rebuild switch --flake .#desktop

Important

You need to use nixos-generate-config and replace hosts/foo/hardware-configuration.nix.

Important

You also need a valid SSH-key defined in secrets/secrets.nix to decrypt any secrets.

To-do

  • Init: services.octodns blocker: NixOS/nixpkgs#517510
  • Init: services.crowdsec blocker: NixOS/nixpkgs#535319
  • Init: sops.secrets blocker: Mic92/sops-nix#970
  • Init: base24-scheme blocker: nix-community/stylix#252
  • Switch hosts server, pi to boot.loader.limine
  • Make all files+dirs kebab-case
  • More pkgs.navi docs
  • services.*: Unique ports?
  • Just rawdog dnsmasq instead of Pihole
  • home.nix -> hm.nix & <other>.hm.nix
  • <name>.l.zzzealed.com -> <name>.i.zzzealed.com

About

She Nix on my module till I flake

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages