Files
nixos-config/nixos-configurations/shared.nix
2023-07-13 08:13:03 +00:00

30 lines
606 B
Nix

{ ... }:
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
time.timeZone = "Europe/Amsterdam";
nixpkgs.config.allowUnfree = true;
networking.networkmanager.enable = true;
virtualisation.docker.enable = true;
users.users.thiloho = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "docker" ];
};
fileSystems = {
"/".options = [ "compress=zstd" ];
"/home".options = [ "compress=zstd" ];
"/nix".options = [ "compress=zstd" "noatime" ];
};
}