snowflake/hosts/sutakku/default.nix

51 lines
803 B
Nix
Raw Normal View History

2023-02-27 21:38:27 -05:00
{
2023-04-23 17:45:37 -04:00
config,
pkgs,
...
}: {
imports = [
2023-02-27 21:38:27 -05:00
./hardware-configuration.nix
../../modules
2023-04-23 17:45:37 -04:00
];
2023-02-27 21:38:27 -05:00
2023-02-28 06:30:53 -05:00
boot.loader = {
grub = {
enable = true;
configurationLimit = 3;
device = "/dev/sda";
useOSProber = false;
};
};
2023-04-23 17:45:37 -04:00
networking = {
2023-04-02 09:12:41 -04:00
hostName = "sutakku";
};
2023-04-23 17:45:37 -04:00
2023-02-27 21:38:27 -05:00
services.xserver = {
layout = "us";
xkbVariant = "";
};
2023-04-23 17:45:37 -04:00
2023-02-27 21:48:08 -05:00
virtualisation.docker.enable = true;
2023-02-27 21:44:06 -05:00
users = {
2023-04-23 17:45:37 -04:00
defaultUserShell = pkgs.nushell;
users.oh = {
isNormalUser = true;
description = "oh";
2023-05-12 02:07:29 -04:00
extraGroups = ["networkmanager" "wheel" "docker"];
2023-04-23 17:45:37 -04:00
};
2023-02-27 21:38:27 -05:00
};
environment.systemPackages = with pkgs; [
wget
nfs-utils
pinentry-curses
];
2023-04-23 17:45:37 -04:00
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "curses";
};
2023-02-27 21:38:27 -05:00
}