fix nvidia
|
@ -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;
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/nvidia-optimus/default.nix
|
../../modules/nvidia/default.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
BIN
pics/PwNixOS.png
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 215 KiB |
Before Width: | Height: | Size: 103 KiB |
Before Width: | Height: | Size: 161 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 840 KiB After Width: | Height: | Size: 840 KiB |