2021-11-21 19:07:12 +01:00
|
|
|
|
{ self, ... }:
|
|
|
|
|
{
|
2021-11-27 16:01:21 +01:00
|
|
|
|
imports = [ ./hardware-configuration.nix ../../users/erwin ../../users/root ];
|
2021-11-21 19:07:12 +01:00
|
|
|
|
|
|
|
|
|
eboskma = {
|
2021-12-06 09:58:39 +01:00
|
|
|
|
backscrub.enable = true;
|
2021-11-21 19:07:12 +01:00
|
|
|
|
base = {
|
|
|
|
|
plymouth.enable = true;
|
|
|
|
|
work = false;
|
|
|
|
|
};
|
2021-11-22 08:04:54 +01:00
|
|
|
|
bluetooth.enable = true;
|
2021-11-21 19:07:12 +01:00
|
|
|
|
desktop = {
|
|
|
|
|
enable = true;
|
|
|
|
|
home-manager = true;
|
|
|
|
|
};
|
2021-11-27 16:01:21 +01:00
|
|
|
|
docker.enable = true;
|
|
|
|
|
fonts.enable = true;
|
|
|
|
|
gnome.enable = true;
|
|
|
|
|
greetd.enable = true;
|
2021-11-27 16:02:15 +01:00
|
|
|
|
# home-manager = {
|
|
|
|
|
# inherit (users) users;
|
|
|
|
|
# enable = true;
|
|
|
|
|
# };
|
2021-11-21 19:07:12 +01:00
|
|
|
|
networking = {
|
|
|
|
|
enable = true;
|
|
|
|
|
dhcpInterfaces = [ "enp4s0" ];
|
2021-12-06 09:58:39 +01:00
|
|
|
|
hosts = {
|
|
|
|
|
"10.0.0.252" = [ "pve.datarift.nl" ];
|
|
|
|
|
};
|
2021-11-21 19:07:12 +01:00
|
|
|
|
};
|
2021-11-27 16:01:21 +01:00
|
|
|
|
nix-common = {
|
|
|
|
|
enable = true;
|
|
|
|
|
};
|
2021-11-21 19:07:12 +01:00
|
|
|
|
sound.enable = true;
|
2021-12-06 09:58:39 +01:00
|
|
|
|
systemd.enable = true;
|
2021-11-21 19:07:12 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
|
hostName = "loki";
|
|
|
|
|
useDHCP = false;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# nix = {
|
|
|
|
|
# package = pkgs.nixUnstable;
|
|
|
|
|
# extraOptions = ''
|
|
|
|
|
# experimental-features = nix-command flakes
|
|
|
|
|
# '';
|
|
|
|
|
# };
|
|
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
2021-11-26 22:21:16 +01:00
|
|
|
|
|
|
|
|
|
sops.defaultSopsFile = ./secrets.yaml;
|
|
|
|
|
sops.secrets.ha_now_playing_token = {
|
|
|
|
|
owner = "erwin";
|
|
|
|
|
};
|
|
|
|
|
|
2021-11-21 19:07:12 +01:00
|
|
|
|
# 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 = "21.11"; # Did you read the comment?
|
|
|
|
|
}
|