blob: f524bd1fd5eed932e15f54662d88a312b44c5051 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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>";
}
```
Adding a new File is as simple as
```bash
echo '{ config, pkgs, ... }:
{
}' > yourNewFile.nix
```
|