fix nvidia

fresh
Your Name 2024-02-21 21:35:27 +01:00
parent 1906ebf51a
commit 68f8a5fbe9
11 changed files with 5 additions and 8 deletions

View File

@ -1,5 +1,5 @@
{ {
description = "Pwnix: NixOS Dotfiles focused on Hacking and Productivity."; description = "Nixos: Home-Manager and System configuration";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
@ -16,13 +16,10 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
lib = nixpkgs.lib; lib = nixpkgs.lib;
# ---CUSTOM SETTINGS---
user = "spagnologasper"; user = "spagnologasper";
hostName = "yoga"; hostName = "yoga";
# ---CUSTOM SETTINGS---
mkSystem = pkgs: system: hostname: mkSystem = pkgs: system: hostname:
pkgs.lib.nixosSystem { pkgs.lib.nixosSystem {
system = system; system = system;

View File

@ -2,6 +2,6 @@
{ {
imports = [ imports = [
../../modules/nvidia-optimus/default.nix ../../modules/nvidia/default.nix
]; ];
} }

View File

@ -12,7 +12,7 @@ in {
home.file.".config/hypr/hyprland.conf".source = ./hyprland.conf; home.file.".config/hypr/hyprland.conf".source = ./hyprland.conf;
home.file.".config/hypr/hyprpaper.conf".source = ./hyprpaper.conf; home.file.".config/hypr/hyprpaper.conf".source = ./hyprpaper.conf;
home.file.".config/hypr/wallpaper.png".source = ../../pics/wallpaper.png; home.file.".config/hypr/wallpaper.png".source = ../../pictures/wallpaper.png;
home.file.".config/hypr/PwNixOS-Wallpaper.png".source = ../../pics/PwNixOS-Wallpaper.png; home.file.".config/hypr/lock-wallpaper.png".source = ../../pictures/lock-wallpaper.png;
}; };
} }

View File

@ -11,7 +11,7 @@ exec-once=waybar
exec-once=hyprpaper exec-once=hyprpaper
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP GTK_THEME exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP GTK_THEME
exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP GTK_THEME exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP GTK_THEME
exec-once=swayidle -w timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'gtklock -i -d -b ~/.config/hypr/PwNixOS-Wallpaper.png' exec-once=swayidle -w timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'gtklock -i -d -b ~/.config/hypr/lock-wallpaper.png'
misc { misc {
disable_hyprland_logo=true disable_hyprland_logo=true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

Before

Width:  |  Height:  |  Size: 840 KiB

After

Width:  |  Height:  |  Size: 840 KiB