No description
Find a file
2023-12-17 22:08:07 +08:00
darwin treewide: shorten module option names 2023-12-16 02:40:18 +08:00
nixos nixos: modules: hardware: simplify 2023-12-17 20:43:24 +08:00
pkgs metacubexd: init at 1.134.0 2023-12-13 18:21:45 +08:00
users/guanranwang secrets: slight adjustment 2023-12-17 18:19:27 +08:00
.gitattributes secrets: add clear text differ to git 2023-09-23 07:28:05 +08:00
.gitignore repo: ignore nix build result 2023-12-17 22:08:07 +08:00
.sops.yaml secrets: slight adjustment 2023-12-17 18:19:27 +08:00
flake.lock nixos: hardware: use nixos-hardware 2023-12-16 17:50:08 +08:00
flake.nix flake: simplify 2023-12-17 22:00:56 +08:00
README.md nixos: remove ./flake-modules 2023-12-13 13:59:13 +08:00

nix{os,-darwin} config

It just works™

Infomation

  • Flakes: Yes
  • Home Manager: Yes

Machine-specific (Aristotle)

  • File system: Btrfs
  • System encryption: Yes (LUKS)

User-specific (me)

  • Secrets: sops-nix
  • Display server: Wayland
  • Desktop-environment: Sway

Structure

 .
│   ### System configuration
├──  darwin
├──  nixos
│  ├──  hardware
│  ├──  modules
│  └──  profiles
│
│   ### User configuration
│   # Adds user account, home-manager stuff, etc.
│   # Do whatever you want here.
├──  users
│  ├──  guanranwang
│  ├──  foo
│  └──  bar
│
├──  flake.nix
├──  flake.lock
│
└──  README.md

Installation:

Please don't.

Clone this repository
`$ git clone https://github.com/Guanran928/flake.git`
Add your device's hardware configuration in `./ (nixos/darwin) /hardware` and `./flake.nix`
Install NixOS
`$ nixos-install --flake <this flake's directory>#<hostname>`