59 lines
1.0 KiB
Nix
59 lines
1.0 KiB
Nix
{ config, lib, stable_pkgs, unstable_pkgs, ... }:
|
|
|
|
let
|
|
pkgs = stable_pkgs.x86_64;
|
|
unstable = unstable_pkgs.x86_64;
|
|
in
|
|
{
|
|
imports =
|
|
[
|
|
./hardware-configuration.nix
|
|
../../nixos
|
|
../../../users/blake
|
|
../../../modules/system
|
|
#../../../modules/homelab
|
|
];
|
|
|
|
home-manager.users.blake.imports = [
|
|
../../../users/blake/hosts/wsl.nix
|
|
];
|
|
|
|
wsl = {
|
|
enable = true;
|
|
defaultUser = "blake";
|
|
};
|
|
|
|
system = {
|
|
ssh.enable = true;
|
|
sops.enable = true;
|
|
};
|
|
|
|
boot = {
|
|
loader = {
|
|
efi.canTouchEfiVariables = true;
|
|
grub = {
|
|
enable = true;
|
|
forceInstall = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
# define shell
|
|
programs.zsh.enable = true;
|
|
users.defaultUserShell = pkgs.zsh;
|
|
|
|
# packages reccomended by linode
|
|
environment.systemPackages = with pkgs; [
|
|
];
|
|
|
|
# setup the network forwarding this host is designed for
|
|
# general networking config
|
|
networking = {
|
|
hostName = "zygarde"; # Define your hostname.
|
|
};
|
|
|
|
system.stateVersion = "25.05"; # Did you read the comment?
|
|
|
|
}
|
|
|