mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
1.3 KiB
1.3 KiB
NixOS Config
What is this repository?
These are my dotfiles (configuration files) for my NixOS setup(s).
Here is my main setup:
Install
I wrote some reinstall notes for myself here (install.org).
Modules
Separate Nix files can be imported as modules using an import block:
imports = [ import1.nix
import2.nix
...
];
This conveniently allows configurations to be separated and swapped around quickly.
I have my modules separated into two groups:
-
System-level - stored in the system directory
- System-level modules are imported into configuration.nix, which is what is sourced into my flake (flake.nix)
-
User-level - stored in the user directory (managed by home-manager)
- User-level modules are imported into home.nix, which is also sourced into my flake (flake.nix)
More detailed information on these specific modules are in the system directory and user directory respectively.