37 lines
658 B
Nix
37 lines
658 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib.my;
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../server.nix
|
|
];
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
networking.hostName = "library";
|
|
networking.domain = "mesh.vimium.net";
|
|
networking.hostId = "d24ae953";
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
nix.package = pkgs.nixFlakes;
|
|
nix.extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
|
|
users.defaultUserShell = pkgs.zsh;
|
|
|
|
system.stateVersion = "22.11";
|
|
|
|
modules = {
|
|
security = {
|
|
gpg.enable = true;
|
|
};
|
|
shell = {
|
|
zsh.enable = true;
|
|
};
|
|
};
|
|
}
|