diff options
author | sils <sils@sils.li> | 2022-12-04 18:20:29 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2022-12-04 18:34:14 +0100 |
commit | 6faed86ea6e5518ff186ca1ec4104d5eefe21091 (patch) | |
tree | dba56dac7845b5ce50bf9837f4080d0ddfdea20f /Readme.md | |
parent | Initial nix-config (diff) | |
download | nix-config-6faed86ea6e5518ff186ca1ec4104d5eefe21091.tar.gz nix-config-6faed86ea6e5518ff186ca1ec4104d5eefe21091.zip |
Modularize config
Diffstat (limited to '')
-rw-r--r-- | Readme.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..3abc877 --- /dev/null +++ b/Readme.md @@ -0,0 +1,22 @@ +# Configuration Files for NixOS + +This is my system configuration, targeting workstations. +It's intended to be private while not containing sensitive information. + + +To use, clone Repository in `/etc/nix-config` and put the following in +`/etc/nixos/configuration.nix`: +```nix +{ config, pkgs, ... }: + +{ + imports = + [ + ./hardware-configuration.nix + /etc/nix-config/config.nix + ]; + + system.stateVersion = "<intital stateVersion from nixos-generate-config>"; + +} +``` |