use some unstable pkgs, reorganize hw
This commit is contained in:
parent
996ed9e026
commit
61419b3559
17 changed files with 133 additions and 69 deletions
20
README.md
20
README.md
|
|
@ -1,11 +1,13 @@
|
|||
# nixos-configuration
|
||||
|
||||
When adding a new host:
|
||||
1. install NixOS via the graphical installer
|
||||
2. `mv /etc/hardware-configuration ./devicename-hardware-configuration.nix`
|
||||
3. copy an existing devicename.nix
|
||||
5. change import to `new-devicename-hardware-configuration.nix`
|
||||
6. set the hostname and optional imports in `new-devicename.nix`
|
||||
7. `ln -s ./new-devicename.nix /etc/nixos/configuration.nix`
|
||||
8. `sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager`
|
||||
9. apply
|
||||
/
|
||||
├── modules
|
||||
│ ├── desktop
|
||||
│ ├── hardware (includes hostname.nix)
|
||||
│ └── users
|
||||
└── hostname.nix (imports modules)
|
||||
|
||||
When adding a new host: `ln -s ./new-devicename.nix /etc/nixos/configuration.nix`
|
||||
|
||||
Use `sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager` to add home manager support.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue