35 lines
503 B
Nix
35 lines
503 B
Nix
|
{ lib, ... }:
|
||
|
{
|
||
|
imports = [
|
||
|
./hardware.nix
|
||
|
];
|
||
|
|
||
|
boot.loader = {
|
||
|
systemd-boot.enable = true;
|
||
|
efi.canTouchEfiVariables = true;
|
||
|
};
|
||
|
|
||
|
networking = {
|
||
|
hostName = "raindog";
|
||
|
networkmanager.enable = true;
|
||
|
};
|
||
|
|
||
|
motd = {
|
||
|
networkInterfaces = lib.lists.singleton "eno1";
|
||
|
servicesToCheck = [
|
||
|
"searx"
|
||
|
];
|
||
|
};
|
||
|
|
||
|
users = {
|
||
|
users.share = {
|
||
|
uid = 994;
|
||
|
isSystemUser = true;
|
||
|
group = "share";
|
||
|
};
|
||
|
groups.share = {
|
||
|
gid = 994;
|
||
|
};
|
||
|
};
|
||
|
}
|