2023-05-12 05:26:48 -04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../modules
|
2023-05-14 06:10:44 -04:00
|
|
|
../../modules/services
|
2023-05-12 05:26:48 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
boot.loader = {
|
|
|
|
grub = {
|
|
|
|
enable = true;
|
|
|
|
configurationLimit = 3;
|
|
|
|
device = "/dev/sda";
|
|
|
|
useOSProber = false;
|
|
|
|
};
|
|
|
|
};
|
2023-05-14 02:01:41 -04:00
|
|
|
|
2023-05-12 05:26:48 -04:00
|
|
|
networking = {
|
|
|
|
hostName = "sakura";
|
|
|
|
};
|
|
|
|
|
|
|
|
services.xserver = {
|
|
|
|
layout = "us";
|
|
|
|
xkbVariant = "";
|
|
|
|
};
|
|
|
|
|
|
|
|
users = {
|
|
|
|
defaultUserShell = pkgs.nushell;
|
|
|
|
users.notoh = {
|
|
|
|
isNormalUser = true;
|
|
|
|
description = "notoh";
|
|
|
|
extraGroups = ["networkmanager" "wheel" "docker"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
wget
|
|
|
|
];
|
|
|
|
|
|
|
|
programs.gnupg.agent = {
|
|
|
|
enable = true;
|
|
|
|
enableSSHSupport = true;
|
|
|
|
pinentryFlavor = "curses";
|
|
|
|
};
|
|
|
|
}
|