Compare commits

..

6 Commits

3 changed files with 23 additions and 7 deletions

View File

@ -7,7 +7,11 @@
{ {
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
# boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
# boot.kernelPackages = pkgs.linuxPackages_6_6;
# boot.extraModulePackages = [ pkgs.zfsUnstable ];
# boot.kernelModules = [ "zfs" ];
boot.supportedFilesystems = [ "zfs" ];
imports = [ imports = [
./modules/networking.nix ./modules/networking.nix
@ -63,13 +67,22 @@
desktopManager = { desktopManager = {
xterm.enable = false; xterm.enable = false;
gnome.enable = true; gnome.enable = true;
# xfce = {
# enable = true;
# # noDesktop = true;
# enableXfwm = false;
# };
# plasma6.enable = true; # plasma6.enable = true;
}; };
displayManager.gdm.enable = true; displayManager.gdm.enable = true;
# displayManager.defaultSession = "plasmax11"; # displayManager.defaultSession = "xfce+stumpwm";
# windowManager = {
# stumpwm.enable = true;
# # xmonad.enable = true;
# };
}; };
# console.useXkbConfig = true; # console.useXkbConfig = true;
console.keyMap = ./galvatron/keys.map; # console.keyMap = ./galvatron/keys.map;
environment.gnome.excludePackages = with pkgs.gnome; [ environment.gnome.excludePackages = with pkgs.gnome; [
baobab baobab
cheese cheese
@ -90,7 +103,7 @@
services.avahi = { services.avahi = {
enable = true; enable = true;
nssmdns4 = true; nssmdns = true;
publish = { publish = {
enable = true; enable = true;
addresses = true; addresses = true;
@ -154,7 +167,6 @@
vim vim
emacs29-pgtk emacs29-pgtk
nfs-utils nfs-utils
devenv
cmake cmake
fontconfig fontconfig
harfbuzz harfbuzz
@ -186,6 +198,7 @@
ACTION=="add", ATTRS{idProduct}=="1500", ATTRS{idVendor}=="05ac", DRIVERS=="usb", RUN+="${pkgs.sg3_utils}/bin/sg_raw /dev/$kernel EA 00 00 00 00 00 01" ACTION=="add", ATTRS{idProduct}=="1500", ATTRS{idVendor}=="05ac", DRIVERS=="usb", RUN+="${pkgs.sg3_utils}/bin/sg_raw /dev/$kernel EA 00 00 00 00 00 01"
''; '';
xdg.portal.enable = true;
services.flatpak.enable = true; services.flatpak.enable = true;
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are

View File

@ -142,7 +142,10 @@
./configuration.nix { ./configuration.nix {
services.xserver.videoDrivers = [ "modesetting" "displaylink" ]; services.xserver.videoDrivers = [ "modesetting" "displaylink" ];
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "knockout"; networking = {
hostName = "knockout";
hostId = "499130bf";
};
sound.enable = true; sound.enable = true;
} }
./modules/droidcam-obs.nix # only this machine ./modules/droidcam-obs.nix # only this machine

View File

@ -10,7 +10,7 @@
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" "zfs" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =