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,13 +1,15 @@
{ pkgs, config, lib, ... }:
with lib;
with lib.wyrdgard;
{
imports = [ ./hardware.nix ];
pkgs,
config,
lib,
...
}:
with lib;
with lib.wyrdgard; {
imports = [./hardware.nix];
environment.systemPackages = with pkgs; [
fd
tree
ripgrep
filelight
];
# nvidia
@ -26,9 +28,7 @@ with lib.wyrdgard;
package = config.boot.kernelPackages.nvidiaPackages.beta;
};
environment.pathsToLink = [ "/libexec" ];
services.xserver.videoDrivers = [ "nvidia" ];
environment.pathsToLink = ["/libexec"];
wyrdgard = {
archetypes = {
@ -45,6 +45,9 @@ with lib.wyrdgard;
};
};
services.xserver.videoDrivers = ["nvidia"];
services.xserver.displayManager.sddm.wayland.enable = lib.mkForce false;
# Configure Home-Manager options from NixOS.
snowfallorg.user.cholli.home.config = {
programs.kitty = {

View file

@ -1,20 +1,21 @@
# 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 = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/444a9216-59d1-46e0-9643-0b716a42ba0b";
@ -26,7 +27,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