Basic configuration for new servers and start modularizing config
This commit is contained in:
parent
82bb5b401c
commit
ca93d09059
38 changed files with 622 additions and 316 deletions
|
@ -3,7 +3,6 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./secret.nix
|
||||
../../configurations/eid.nix
|
||||
../../profiles/bluetooth.nix
|
||||
../../profiles/common.nix
|
||||
|
@ -17,24 +16,23 @@
|
|||
|
||||
time.timeZone = "Europe/Brussels";
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "20.09";
|
||||
|
||||
home-manager.users.charlotte = { ... }: {
|
||||
home.stateVersion = "20.09";
|
||||
};
|
||||
|
||||
# Machine-specific settings
|
||||
chvp = {
|
||||
stateVersion = "20.09";
|
||||
graphical = true;
|
||||
docker.enable = true;
|
||||
git.email = "charlotte@vanpetegem.me";
|
||||
zfs = {
|
||||
enable = true;
|
||||
encrypted = true;
|
||||
backups = [
|
||||
{
|
||||
path = "rpool/safe/data";
|
||||
remotePath = "zdata/recv/kholinar/safe/data";
|
||||
fast = true;
|
||||
location = "lasting-integrity.vanpetegem.me";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue