nixos-config/systems/x86_64-linux/workvm/default.nix

72 lines
1.3 KiB
Nix

{ pkgs , config , lib, ... }:
with lib;
with lib.wyrdgard;
{
imports = [ ./hardware.nix ];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.blacklistedKernelModules = [ "hyperv-fb" ];
virtualisation.hypervGuest.videoMode = "1920x1080";
users.users.cholli = {
isNormalUser = true;
extraGroups = [ "wheel" ];
};
environment.systemPackages = with pkgs; [
neovim
snowfallorg.flake
git
gitAndTools.gh
kitty
fish
vivaldi
fd
tree
ripgrep
nixfmt
];
home-manager.useGlobalPkgs = true;
networking.networkmanager.enable = true;
services.xserver = {
enable = true;
displayManager.sddm = {
enable = true;
wayland.enable = true;
};
desktopManager.plasma5.enable = true;
layout = "us";
xkbVariant = "";
};
environment.variables.EDITOR = "nvim";
environment.variables.SUDOEDITOR = "nvim";
# Configure Home-Manager options from NixOS.
snowfallorg.user.cholli.home.config = {
programs.kitty= {
theme = "Tokyo Night";
shellIntegration.enableFishIntegration = true;
};
};
wyrdgard = {
apps = {
discord = enabled;
vivaldi = enabled;
};
submodules = {
basics = enabled;
};
};
system.stateVersion = "23.11";
}