add wsl config
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{ 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
|
||||
];
|
||||
|
||||
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?
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user