No description
Find a file
2024-01-16 11:55:15 +08:00
.helix repo: set helix's default formatter 2023-12-27 20:02:25 +08:00
darwin sed 's/_: {/{/g' 2024-01-16 10:02:44 +08:00
nixos nixos/clash: add cfg.tunMode 2024-01-16 10:02:47 +08:00
pkgs mpvScripts.modernx: init at 0.2.4 2024-01-16 11:55:15 +08:00
users/guanranwang home: neochat -> fractal 2024-01-16 10:02:46 +08:00
.gitattributes nixos: clash-meta-client: refactor 2023-12-31 20:29:48 +08:00
.gitignore repo: ignore .DS_Store 2023-12-18 14:11:05 +08:00
.sops.yaml secrets: slight adjustment 2023-12-17 18:19:27 +08:00
flake.lock flake: update lock file 2024-01-16 10:02:41 +08:00
flake.nix flake: update lock file 2024-01-16 10:02:41 +08:00
README.md docs: update readme 2023-12-29 23:34:58 +08:00

nix{os,-darwin} config

It just works™

Structure

 .
│   ### System configuration
│   # Darwin configuration is not actively maintained and sometimes it might break.
├──  darwin
├──  nixos
│  ├──  hosts
│  ├──  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.

NixOS:

  1. Clone this repository

    $ git clone https://github.com/Guanran928/flake.git

  2. Add your device's hardware configuration in ./flake.nix and ./nixos/hosts/<hostname>

  3. Install NixOS

    $ nixos-install --flake <this flake's directory>#<hostname>