adjusted workvm configuration

This commit is contained in:
christoph.hollizeck 2024-03-26 22:05:03 +01:00 committed by Christoph Hollizeck
parent 08f6189869
commit 21774ac23a
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
36 changed files with 466 additions and 326 deletions

View file

@ -1,33 +1,20 @@
{ pkgs, config, lib, ... }:
with lib;
with lib.wyrdgard;
{
imports = [ ./hardware.nix ];
pkgs,
config,
lib,
...
}:
with lib;
with lib.wyrdgard; {
imports = [./hardware.nix];
boot.blacklistedKernelModules = [ "hyperv-fb" ];
boot.blacklistedKernelModules = ["hyperv-fb"];
virtualisation.hypervGuest.videoMode = "1920x1080";
environment.systemPackages = with pkgs; [
kitty
fish
fishPlugins.tide
fd
tree
ripgrep
];
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";
@ -41,12 +28,13 @@ with lib.wyrdgard;
wyrdgard = {
apps = {
discord = enabled;
vivaldi = enabled;
};
submodules = {
basics = enabled;
graphical-interface = enabled;
socials = enabled;
};
};

View file

@ -1,18 +1,19 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config
, lib
, pkgs
, modulesPath
, ...
{
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [ ];
imports = [];
boot.initrd.availableKernelModules = [ "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = ["sd_mod" "sr_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = [];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/c58c66b3-4e0f-4393-8d7b-871d934856e3";
@ -24,7 +25,7 @@
fsType = "vfat";
};
swapDevices = [ ];
swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's