100 lines
2.3 KiB
Nix
100 lines
2.3 KiB
Nix
{ self, nixpkgs, ... }:
|
||
let
|
||
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||
in
|
||
{
|
||
imports = [ ./hardware-configuration.nix ../../users/erwin ../../users/root ];
|
||
|
||
eboskma = {
|
||
# backscrub.enable = true;
|
||
base = {
|
||
plymouth.enable = true;
|
||
work = false;
|
||
kernel = pkgs.linuxKernel.packages.linux_5_17;
|
||
};
|
||
bluetooth.enable = true;
|
||
desktop = {
|
||
enable = true;
|
||
home-manager = true;
|
||
};
|
||
docker.enable = true;
|
||
element-web.enable = false;
|
||
fonts.enable = true;
|
||
gnome.enable = true;
|
||
greetd.enable = true;
|
||
# home-manager = {
|
||
# inherit (users) users;
|
||
# enable = true;
|
||
# };
|
||
livebook = {
|
||
enable = true;
|
||
dataDir = "/home/erwin/workspace/livebook";
|
||
userMapping = "1000:100";
|
||
};
|
||
networking = {
|
||
enable = true;
|
||
dhcpInterfaces = [ "enp4s0" ];
|
||
hosts = {
|
||
"10.0.0.252" = [ "pve.datarift.nl" ];
|
||
};
|
||
};
|
||
nix-common = {
|
||
enable = true;
|
||
disable-cache = true;
|
||
};
|
||
nix-serve = {
|
||
enable = true;
|
||
};
|
||
tablet.enable = false;
|
||
sound.enable = true;
|
||
systemd.enable = true;
|
||
};
|
||
|
||
boot.loader = {
|
||
systemd-boot = {
|
||
enable = true;
|
||
configurationLimit = 25;
|
||
};
|
||
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;
|
||
|
||
sops.defaultSopsFile = ./secrets.yaml;
|
||
sops.secrets = {
|
||
ha_now_playing_token = {
|
||
owner = "erwin";
|
||
};
|
||
gh_token = {
|
||
owner = "erwin";
|
||
};
|
||
renovate_env = {
|
||
owner = "erwin";
|
||
};
|
||
livebook_cookie = {
|
||
owner = "erwin";
|
||
};
|
||
};
|
||
|
||
# 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?
|
||
}
|