No description
Find a file
Guanran Wang 4ad2ef60c0
nixos, modules, hardware, nvidia: downgrade to nvidia 470
with nvidia's latest driver (545.29.02), games behave extremely laggy when fps is not limited (for example. vsync is disabled)
this commit temporarily reverts nvidia driver to version 470
2023-11-28 12:11:43 +08:00
darwin treewide: sorting 2023-11-22 10:19:11 +08:00
nixos nixos, modules, hardware, nvidia: downgrade to nvidia 470 2023-11-28 12:11:43 +08:00
users/guanranwang flake: update lock file 2023-11-28 12:11:36 +08:00
.gitattributes secrets: add clear text differ to git 2023-09-23 07:28:05 +08:00
.sops.yaml initial commit 2023-09-19 08:17:43 +08:00
flake.lock flake: update lock file 2023-11-28 12:11:36 +08:00
flake.nix flake, inputs: remove tokyonight 2023-11-22 10:20:21 +08:00
README.md treewide: sorting 2023-11-17 13:38:25 +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
│  ├──  flake-modules
│  ├──  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>`