Reorganize for zfs

This commit is contained in:
Charlotte Van Petegem 2020-05-23 09:59:32 +02:00
parent 2933964680
commit cfb48de40c
57 changed files with 817 additions and 492 deletions

View file

@ -0,0 +1,49 @@
{ pkgs, lib, ... }:
{
imports = [
<home-manager/nixos>
./hardware.nix
./secret.nix
../../configurations/eid.nix
../../profiles/bluetooth/default.nix
../../profiles/common/default.nix
../../profiles/graphical/default.nix
];
# Use the systemd-boot EFI boot loader.
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
networking = {
hostId = "3cc1a4b2";
hostName = "kholinar";
};
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. Its 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
custom = {
git.email = "charlotte@vanpetegem.me";
zfs = {
enable = true;
encrypted = true;
};
};
}