diff --git a/hardware/alien.nix b/hardware/alien.nix index 7bcb7de..38c4775 100755 --- a/hardware/alien.nix +++ b/hardware/alien.nix @@ -1,43 +1,68 @@ # 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") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "xhci_pci" + "ahci" + "nvme" + "usbhid" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; + boot.kernelModules = [ + "v4l2loopback" + "snd-aloop" + "kvm-intel" + ]; + boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback.out ]; + boot.extraModprobeConfig = '' + # exclusive_caps: Skype, Zoom, Teams etc. will only show device when actually streaming + # card_label: Name of virtual camera, how it'll show up in Skype, Zoom, Teams + # https://github.com/umlaeute/v4l2loopback + options v4l2loopback exclusive_caps=1 card_label="Virtual Camera" + ''; - fileSystems."/" = - { device = "/dev/disk/by-uuid/d83ec136-df01-4b9e-a523-6d75726fb904"; - fsType = "btrfs"; - options = [ "subvol=@" ]; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/d83ec136-df01-4b9e-a523-6d75726fb904"; + fsType = "btrfs"; + options = [ "subvol=@" ]; + }; - fileSystems."/nix" = - { device = "/dev/disk/by-uuid/e369d905-a82b-45c5-838a-323169233583"; - fsType = "btrfs"; - }; + fileSystems."/nix" = { + device = "/dev/disk/by-uuid/e369d905-a82b-45c5-838a-323169233583"; + fsType = "btrfs"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/6444-169A"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - fileSystems."/home" = - { device = "/dev/disk/by-uuid/881bdf55-1e43-4bfc-a1bf-3b2f72dbc122"; - fsType = "btrfs"; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/056af100-9382-4cbd-b3d5-90df7da69585"; } + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/6444-169A"; + fsType = "vfat"; + options = [ + "fmask=0077" + "dmask=0077" ]; + }; + + fileSystems."/home" = { + device = "/dev/disk/by-uuid/881bdf55-1e43-4bfc-a1bf-3b2f72dbc122"; + fsType = "btrfs"; + }; + + swapDevices = [ + { device = "/dev/disk/by-uuid/056af100-9382-4cbd-b3d5-90df7da69585"; } + ]; # 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 diff --git a/hardware/peach.nix b/hardware/peach.nix index efd0ae4..c83662b 100644 --- a/hardware/peach.nix +++ b/hardware/peach.nix @@ -1,28 +1,46 @@ # 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") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; boot.initrd.availableKernelModules = [ "sdhci_pci" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; + boot.kernelModules = [ + "v4l2loopback" + "snd-aloop" + ]; + boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback.out ]; + boot.extraModprobeConfig = '' + # exclusive_caps: Skype, Zoom, Teams etc. will only show device when actually streaming + # card_label: Name of virtual camera, how it'll show up in Skype, Zoom, Teams + # https://github.com/umlaeute/v4l2loopback + options v4l2loopback exclusive_caps=1 card_label="Virtual Camera" + ''; - fileSystems."/" = - { device = "/dev/disk/by-uuid/8a3cb91f-2e3f-498d-8613-230976dff36e"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/8a3cb91f-2e3f-498d-8613-230976dff36e"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/FA86-1704"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/FA86-1704"; + fsType = "vfat"; + options = [ + "fmask=0022" + "dmask=0022" + ]; + }; swapDevices = [ ]; diff --git a/home/all.nix b/home/all.nix index cc9e80c..036003c 100755 --- a/home/all.nix +++ b/home/all.nix @@ -51,6 +51,7 @@ gimp calibre spotify-player + obs-studio # browsers # (chromium.override { diff --git a/home/browsers/firefox/default.nix b/home/browsers/firefox/default.nix index 6221196..99a5455 100644 --- a/home/browsers/firefox/default.nix +++ b/home/browsers/firefox/default.nix @@ -25,7 +25,7 @@ ]; }; policies = { - BlockAboutConfig = true; + BlockAboutConfig = false; DefaultDownloadDirectory = "\${home}/Downloads"; # Check about:support for extension/add-on ID strings. # Valid strings for installation_mode are "allowed", "blocked", diff --git a/home/hosts/alien.nix b/home/hosts/alien.nix index 6c0114b..c885919 100644 --- a/home/hosts/alien.nix +++ b/home/hosts/alien.nix @@ -15,22 +15,15 @@ catppuccin-cursors.mochaLight catppuccin-cursors.mochaBlue - ( - (catppuccin-kde.override { - flavour = [ - "latte" - "mocha" - ]; - accents = [ - "blue" - ]; - }).overrideAttrs - (oldAttrs: { - postInstall = '' - rm -rf $out/share/aurorae - ''; - }) - ) + (catppuccin-kde.override { + flavour = [ + "latte" + "mocha" + ]; + accents = [ + "blue" + ]; + }) # steam gtk theming adwsteamgtk diff --git a/home/hosts/peach.nix b/home/hosts/peach.nix index c348460..91e5be9 100644 --- a/home/hosts/peach.nix +++ b/home/hosts/peach.nix @@ -20,22 +20,15 @@ catppuccin-cursors.mochaLight catppuccin-cursors.mochaPeach - ( - (catppuccin-kde.override { - flavour = [ - "latte" - "mocha" - ]; - accents = [ - "peach" - ]; - }).overrideAttrs - (oldAttrs: { - postInstall = '' - rm -rf $out/share/aurorae - ''; - }) - ) + (catppuccin-kde.override { + flavour = [ + "latte" + "mocha" + ]; + accents = [ + "peach" + ]; + }) moonlight-qt ]; diff --git a/home/hosts/vm-aarch64.nix b/home/hosts/vm-aarch64.nix index 14fc25b..566e7d5 100644 --- a/home/hosts/vm-aarch64.nix +++ b/home/hosts/vm-aarch64.nix @@ -15,22 +15,15 @@ catppuccin-cursors.mochaLight catppuccin-cursors.mochaGreen - ( - (catppuccin-kde.override { - flavour = [ - "latte" - "mocha" - ]; - accents = [ - "green" - ]; - }).overrideAttrs - (oldAttrs: { - postInstall = '' - rm -rf $out/share/aurorae - ''; - }) - ) + (catppuccin-kde.override { + flavour = [ + "latte" + "mocha" + ]; + accents = [ + "green" + ]; + }) ]; diff --git a/system/all.nix b/system/all.nix index e38403f..ba86733 100755 --- a/system/all.nix +++ b/system/all.nix @@ -83,6 +83,9 @@ cache.enable = true; }; + programs.nix-ld.enable = true; + programs.nix-ld.libraries = with pkgs; [ ]; + networking.networkmanager.enable = true; hardware.bluetooth.enable = true;