Mention secrets repo + some todos
This commit is contained in:
@@ -40,6 +40,11 @@ Note: If you're installing this to a VM, Hyprland won't work unless 3D accelerat
|
|||||||
|
|
||||||
Disclaimer: If you copy my =ori= host config to setup a sever with NixOS, /MAKE SURE YOU CHANGE OR REMOVE THE PUBLIC SSH KEYS UNLESS YOU WANT ME TO BE ABLE TO SSH INTO YOUR SERVER. YOU CAN CHANGE OR REMOVE THE SSH KEY IN THE RELEVANT CONFIGURATION.NIX/ (see [[./hosts/ori/configuration.nix][configuration.nix]]).
|
Disclaimer: If you copy my =ori= host config to setup a sever with NixOS, /MAKE SURE YOU CHANGE OR REMOVE THE PUBLIC SSH KEYS UNLESS YOU WANT ME TO BE ABLE TO SSH INTO YOUR SERVER. YOU CAN CHANGE OR REMOVE THE SSH KEY IN THE RELEVANT CONFIGURATION.NIX/ (see [[./hosts/ori/configuration.nix][configuration.nix]]).
|
||||||
|
|
||||||
|
*** Clone and Setup Secrets Config Repo
|
||||||
|
Clone and setup the =/etc/nixos.secrets= directory using my template [[https://gitlab.com/librephoenix/nixos-secrets-template][repo]]. Intructions on how to set it up can be found in that repository. This will allow you to track your main config to a public repo, without exposing /all/ of your configuration options publically.
|
||||||
|
|
||||||
|
If you'd rather not set that up, you can just delete all references to the =secrets= input in the =flake.nix= and it will stop complaining about the input not being found!
|
||||||
|
|
||||||
*** Rebuild and Switch System Config
|
*** Rebuild and Switch System Config
|
||||||
Once the variables are set, then switch into the system configuration by running:
|
Once the variables are set, then switch into the system configuration by running:
|
||||||
#+BEGIN_SRC sh :noeval
|
#+BEGIN_SRC sh :noeval
|
||||||
@@ -59,5 +64,8 @@ phoenix sync
|
|||||||
*** I installed this to a VM and when I log in, it crashes and sends me back to the login manager (SDDM)?
|
*** I installed this to a VM and when I log in, it crashes and sends me back to the login manager (SDDM)?
|
||||||
Enable 3D acceleration for your virtual machine. Hyprland doesn't work without it.
|
Enable 3D acceleration for your virtual machine. Hyprland doesn't work without it.
|
||||||
|
|
||||||
|
*** It's complaining about not finding an input called secrets?
|
||||||
|
Either setup the =/etc/nixos.secrets= directory using my template [[https://gitlab.com/librephoenix/nixos-secrets-template][repo]] or delete all references to the =secrets= input in the =flake.nix=!
|
||||||
|
|
||||||
*** You used to have an auto-install script! Where did it go?
|
*** You used to have an auto-install script! Where did it go?
|
||||||
My old [[https://www.youtube.com/watch?v=Dm11dcJ0vWY][auto-install script]] was kind of cool, but I found it wasn't really stable (even for me). I'll probably revisit this at some point (looking at you [[https://github.com/nix-community/nixos-anywhere][nixos-everywhere]] and [[https://github.com/nix-community/disko][disko]]).
|
My old [[https://www.youtube.com/watch?v=Dm11dcJ0vWY][auto-install script]] was kind of cool, but I found it wasn't really stable (even for me). I'll probably revisit this at some point (looking at you [[https://github.com/nix-community/nixos-anywhere][nixos-everywhere]] and [[https://github.com/nix-community/disko][disko]]).
|
||||||
|
@@ -10,3 +10,5 @@ imports = [ import1.nix
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Modules in this directory are used are system-level (root) configurations.
|
Modules in this directory are used are system-level (root) configurations.
|
||||||
|
|
||||||
|
# TODO add list of all options
|
||||||
|
@@ -10,3 +10,5 @@ imports = [ import1.nix
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Modules in this directory are used are user-level configurations.
|
Modules in this directory are used are user-level configurations.
|
||||||
|
|
||||||
|
# TODO add list of all options
|
||||||
|
Reference in New Issue
Block a user