24.11 changes and stuff

This commit is contained in:
Tasia Iso 2025-01-23 20:22:39 +01:00
parent 9b4ec78aca
commit b52aa8a62a
7 changed files with 63 additions and 57 deletions

View file

@ -6,17 +6,19 @@
kernelParams = ["radeon.cik_support=0" "amdgpu.cik_support=1"]; kernelParams = ["radeon.cik_support=0" "amdgpu.cik_support=1"];
}; };
hardware.opengl = { hardware.graphics.enable = true;
enable = true;
hardware.opengl = {
## radv: an open-source Vulkan driver from freedesktop ## radv: an open-source Vulkan driver from freedesktop
# driSupport = true; # driSupport = true;
driSupport32Bit = true; # driSupport32Bit = true;
## amdvlk: an open-source Vulkan driver from AMD ## amdvlk: an open-source Vulkan driver from AMD
extraPackages = [pkgs.amdvlk]; extraPackages = [pkgs.amdvlk];
extraPackages32 = [pkgs.driversi686Linux.amdvlk]; extraPackages32 = [pkgs.driversi686Linux.amdvlk];
}; };
hardware.graphics.enable32Bit = true;
services.xserver.videoDrivers = ["amdgpu"]; services.xserver.videoDrivers = ["amdgpu"];
} }

View file

@ -4,11 +4,8 @@
... ...
}: { }: {
# Enable OpenGL # Enable OpenGL
hardware.opengl = { hardware.graphics.enable = true;
enable = true; hardware.graphics.enable32Bit = true;
# driSupport = true;
driSupport32Bit = true;
};
# Load nvidia driver for Xorg and Wayland # Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];

View file

@ -40,6 +40,7 @@
allow id 067b:2303 serial "" name "USB-Serial Controller D" allow id 067b:2303 serial "" name "USB-Serial Controller D"
allow id 1050:0407 serial "" name "YubiKey OTP+FIDO+CCID" allow id 1050:0407 serial "" name "YubiKey OTP+FIDO+CCID"
allow id 0bda:2838 serial "00000001" name "Blog V4"
''; '';
}; };
} }

View file

@ -132,13 +132,13 @@
]; ];
}; };
vulpecula = stable.lib.nixosSystem { # vulpecula = stable.lib.nixosSystem {
system = "x86_64-linux"; # system = "x86_64-linux";
specialArgs = {inherit inputs outputs;}; # specialArgs = {inherit inputs outputs;};
modules = [ # modules = [
./hosts/vulpecula/configuration.nix # ./hosts/vulpecula/configuration.nix
]; # ];
}; # };
vulpecula-vps = stable.lib.nixosSystem { vulpecula-vps = stable.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";

View file

@ -50,7 +50,7 @@
#swig #swig
picard picard
kleopatra kleopatra
qbittorrent # qbittorrent
tor-browser tor-browser
protonvpn-gui protonvpn-gui
# radicle-cli # radicle-cli

View file

@ -64,7 +64,7 @@
simplex-chat-desktop simplex-chat-desktop
picard picard
kleopatra kleopatra
qbittorrent # qbittorrent
# tor-browser # tor-browser
ssb-patchwork ssb-patchwork
pixelorama pixelorama

View file

@ -18,11 +18,11 @@ in {
../../common/locales/fr-keymap.nix ../../common/locales/fr-keymap.nix
# Hardware # Hardware
../../common/hardware/intel-cpu.nix #../../common/hardware/intel-cpu.nix
../../common/hardware/tpm2.nix # ../../common/hardware/tpm2.nix
../../common/hardware/wireless.nix ../../common/hardware/wireless.nix
# ../../common/hardware/nvidia-gpu.nix # ../../common/hardware/nvidia-gpu.nix
# ../../common/hardware/nvidia-gpu-offload.nix #../../common/hardware/nvidia-gpu-offload.nix
../../common/hardware/ssd.nix ../../common/hardware/ssd.nix
../../common/hardware/btrfs.nix ../../common/hardware/btrfs.nix
@ -36,7 +36,7 @@ in {
# Services # Services
# ../../common/services/auditd.nix # ../../common/services/auditd.nix
../../common/services/nix-gc.nix # ../../common/services/nix-gc.nix
../../common/services/opensnitch.nix ../../common/services/opensnitch.nix
# ../../common/services/adguardhome.nix # ../../common/services/adguardhome.nix
../../common/services/syncthing.nix ../../common/services/syncthing.nix
@ -49,24 +49,24 @@ in {
inputs.agenix.nixosModules.default inputs.agenix.nixosModules.default
../../common/components/wifi-secrets.nix ../../common/components/wifi-secrets.nix
inputs.thymis.nixosModules.thymis-controller # inputs.thymis.nixosModules.thymis-controller
# Personal modules # Personal modules
# ../../modules/nixos/tildefriends.nix # ../../modules/nixos/tildefriends.nix
./yubikey.nix ./yubikey.nix
]; ];
# RGB Keyboard backight # RGB Keyboard backight
boot.extraModulePackages = with config.boot.kernelPackages; [hid-ite8291r3]; #boot.extraModulePackages = with config.boot.kernelPackages; [hid-ite8291r3];
services.udev.extraRules = '' #services.udev.extraRules = ''
ACTION=="add", SUBSYSTEM=="leds", DEVPATH=="*:kbd_backlight", TEST=="color", ATTR{color}="fc4f05" # ACTION=="add", SUBSYSTEM=="leds", DEVPATH=="*:kbd_backlight", TEST=="color", ATTR{color}="fc4f05"
''; #'';
# Nvidia GPU # Nvidia GPU
hardware.nvidia.prime = { #hardware.nvidia.prime = {
intelBusId = "PCI:1:0:0"; # intelBusId = "PCI:1:0:0";
nvidiaBusId = "PCI:0:2:0"; # nvidiaBusId = "PCI:0:2:0";
}; #};
networking = { networking = {
hostName = "yaseen"; hostName = "yaseen";
@ -102,7 +102,7 @@ in {
}; };
# Needed to build enry # Needed to build enry
boot.binfmt.emulatedSystems = ["aarch64-linux"]; #boot.binfmt.emulatedSystems = ["aarch64-linux"];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
inputs.tildefriends.packages.${system}.default inputs.tildefriends.packages.${system}.default
@ -131,30 +131,38 @@ in {
yubikey-manager yubikey-manager
inputs.agenix.packages.x86_64-linux.default inputs.agenix.packages.x86_64-linux.default
sdrpp
gqrx
rtl-sdr
grim # screenshot functionality
slurp # screenshot functionality
wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
mako # notification system developed by swaywm maintainer
]; ];
# Enable the gnome-keyring secrets vault.
# Will be exposed through DBus to programs willing to store secrets.
services.gnome.gnome-keyring.enable = true;
# enable sway window manager
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
};
hardware.rtl-sdr.enable = true;
users.users.tasia.extraGroups = [ "plugdev" ];
boot.kernelParams = [ "modprobe.blacklist=dvb_usb_rtl28xxu" ]; # blacklist this module
services.udev.packages = [ pkgs.rtl-sdr ];
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["CascadiaCode"];}) (nerdfonts.override {fonts = ["CascadiaCode"];})
]; ];
programs.adb.enable = true; # programs.adb.enable = true;
# services.ddclient = {
# enable = true;
# # usev6=if, if=wlp5s0
# configFile = pkgs.writeText "ddclient-config" ''
# usev6=webv6, web=dns.glauca.digital/checkip
# ipv6=yes
# ipv4=no
# protocol=dyndns2
# server=dns.glauca.digital
# login=
# password=
# hello.vulpecula.zone
# '';
# };
# services.nginx.enable = true; # services.nginx.enable = true;
# services.nginx.virtualHosts."test.vulpecula.zone" = { # services.nginx.virtualHosts."test.vulpecula.zone" = {
@ -207,13 +215,11 @@ in {
# config.adminpassFile = "/etc/nextcloud-admin-pass"; # config.adminpassFile = "/etc/nextcloud-admin-pass";
# }; # };
services.rustdesk-server = { # services.rustdesk-server = {
enable = true; # enable = true;
openFirewall = true; # openFirewall = true;
relayIP = "100.91.88.2"; # relayIP = "100.91.88.2";
}; # };
# virtualisation.waydroid.enable = true;
# users.users.lol = { # users.users.lol = {
# isNormalUser = true; # isNormalUser = true;