forked from Zynh0722/permafrost
48 lines
1,008 B
Nix
48 lines
1,008 B
Nix
{ pkgs, ... }:
|
||
|
||
{
|
||
imports = [ ./modules ];
|
||
|
||
# Bootloader.
|
||
boot.loader.grub.enable = true;
|
||
boot.loader.grub.device = "/dev/vda";
|
||
|
||
permafrost.nyazoom.enable = true;
|
||
|
||
networking.hostName = "virtmsi"; # Define your hostname.
|
||
|
||
# Allowing ssh auth
|
||
security.pam.sshAgentAuth.enable = true;
|
||
|
||
# Allow unfree packages
|
||
nixpkgs.config.allowUnfree = true;
|
||
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
|
||
];
|
||
|
||
system.stateVersion = "24.05";
|
||
|
||
}
|