My Nix Infra
nix nixos
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix make command arg + update readme

ydcjeff 2f1afc54 920f7fab

+9 -19
+1 -1
Makefile
··· 1 1 nixos: 2 - bash scripts/nixos-install.sh $1 2 + bash scripts/nixos-install.sh $(hostname) 3 3 4 4 nixos-post: 5 5 $(MAKE) sw
+8 -17
README.md
··· 3 3 Includes: 4 4 5 5 - NixOS config (KDE) 6 - - Arch Linux (KDE) 6 + - Arch Linux setup (KDE) 7 + - dotfiles of CLI tools 7 8 8 9 Requires: 9 10 10 11 - git 11 - - fish 12 + - make 12 13 13 14 NixOS setup: 14 15 15 - 1. Boot into NixOS installer, passwd for `nixos` user 16 + 1. `make nixos hostname=<hostname>` 16 17 17 - 2. ``` 18 - git clone https://codeberg.org/ydcjeff/dotfiles 19 - ``` 18 + 2. `make nixos-post` 20 19 21 - 3. Change `disk-config.nix` if required 20 + Arch Linux setup: 22 21 23 - 4. ``` 24 - echo -n <DISK_ENCRYPTION_KEY> > /tmp/key 25 - ``` 26 - 27 - 5. ``` 28 - nix run --extra-experimental-features 'nix-command flakes' github:nix-community/nixos-anywhere -- --flake .#<HOSTNAME> --generate-hardware-config nixos-generate-config ./hosts/<HOSTNAME>/hardware-configuration.nix 29 - ``` 22 + 1. Install Arch Linux via archinstall 30 23 31 - 6. ``` 32 - nix run --extra-experimental-features 'nix-command flakes' github:nix-community/nixos-anywhere -- --flake .#<HOSTNAME> 33 - ``` 24 + 2. `make arch` 34 25 35 26 Arch Linux Post Installation: 36 27
-1
modules/nixos.nix
··· 134 134 dates = "weekly"; 135 135 }; 136 136 channel.enable = false; 137 - registry.nixpkgs.flake = nixpkgs; 138 137 }; 139 138 140 139 # virtualisation