Add library definition

This commit is contained in:
2023-05-09 19:02:35 +01:00
parent 9f12cd514a
commit 7e02d58328
5 changed files with 187 additions and 0 deletions

36
hosts/library/default.nix Normal file
View File

@ -0,0 +1,36 @@
{ 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;
};
};
}