this works
This commit is contained in:
commit
b8d59e664d
7 changed files with 433 additions and 0 deletions
51
systems/x86_64-linux/workvm/default.nix
Normal file
51
systems/x86_64-linux/workvm/default.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
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
|
||||
vim
|
||||
vivaldi
|
||||
|
||||
fd
|
||||
tree
|
||||
ripgrep
|
||||
|
||||
nixfmt
|
||||
];
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.sddm.enable = true;
|
||||
desktopManager.plasma5.enable = true;
|
||||
layout = "us";
|
||||
xkbVariant = "";
|
||||
};
|
||||
|
||||
# Configure Home-Manager options from NixOS.
|
||||
snowfallorg.user.cholli.home.config = {};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue