2024-12-27 00:17:49 -08:00
|
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports = [ ./modules ];
|
|
|
|
|
|
|
|
|
|
# Bootloader.
|
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
|
boot.loader.grub.device = "/dev/vda";
|
|
|
|
|
|
2024-12-27 01:46:11 -08:00
|
|
|
|
permafrost.nyazoom.enable = true;
|
|
|
|
|
|
2024-12-27 00:17:49 -08:00
|
|
|
|
networking.hostName = "virtmsi"; # Define your hostname.
|
|
|
|
|
|
2024-12-27 04:40:39 -08:00
|
|
|
|
# Allowing ssh auth
|
|
|
|
|
security.pam.sshAgentAuth.enable = true;
|
|
|
|
|
|
2024-12-27 03:18:40 -08:00
|
|
|
|
# Allow unfree packages
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
2024-12-27 00:17:49 -08:00
|
|
|
|
nix.settings = {
|
|
|
|
|
auto-optimise-store = true;
|
|
|
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
|
|
|
|
|
|
trusted-users = [
|
|
|
|
|
"ravenshade"
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Enable networking
|
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
|
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
|
|
|
|
users.users.ravenshade = {
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
description = "Zynh Ludwig";
|
|
|
|
|
extraGroups = [ "networkmanager" "wheel" ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# List packages installed in system profile. To search, run:
|
|
|
|
|
# $ nix search wget
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
neovim
|
|
|
|
|
git
|
|
|
|
|
curl
|
|
|
|
|
];
|
|
|
|
|
|
2024-12-27 03:18:40 -08:00
|
|
|
|
system.stateVersion = "24.05";
|
2024-12-27 00:17:49 -08:00
|
|
|
|
|
|
|
|
|
}
|