snowflake/hosts/hime/default.nix

53 lines
854 B
Nix
Raw Normal View History

2023-04-23 17:45:37 -04:00
{pkgs, ...}: {
imports = [
2023-01-31 11:58:43 -05:00
./hardware-configuration.nix
../../modules
2023-04-23 17:45:37 -04:00
];
2023-01-31 11:58:43 -05:00
2023-02-17 01:15:46 -05:00
boot.loader = {
grub = {
enable = true;
configurationLimit = 5;
device = "/dev/sda";
useOSProber = false;
};
};
2023-04-23 17:45:37 -04:00
2023-04-02 09:12:41 -04:00
networking = {
hostName = "hime";
};
2023-04-23 17:45:37 -04:00
services.xserver = {
2023-01-31 11:58:43 -05:00
layout = "us";
xkbVariant = "";
};
services.openssh = {
2023-04-23 17:45:37 -04:00
enable = true;
settings = {
PasswordAuthentication = true;
};
2023-01-31 11:58:43 -05:00
};
virtualisation.docker.enable = true;
2023-04-23 17:45:37 -04:00
users = {
defaultUserShell = pkgs.nushell;
users.oh = {
isNormalUser = true;
description = "oh";
extraGroups = ["networkmanager" "wheel"];
packages = with pkgs; [
hugo
yt-dlp
];
};
2023-01-31 11:58:43 -05:00
};
environment.systemPackages = with pkgs; [
2023-04-23 17:45:37 -04:00
docker-compose
wget
python3Full
nfs-utils
2023-01-31 11:58:43 -05:00
];
}