Compare commits

..

3 commits

Author SHA1 Message Date
GaspardCulis
003741d233 feat(hypr + misc): Added most required packages from hyprland config 2024-09-20 19:32:51 +02:00
GaspardCulis
aad163473d fix(eww): Fixed power-profiles-daemon not being loaded by systemd 2024-09-20 19:04:15 +02:00
GaspardCulis
47bcfcd926 fix(eww -> nix): Fix typo in package name 2024-09-20 19:00:44 +02:00
5 changed files with 42 additions and 1 deletions

View file

@ -14,6 +14,5 @@
pkgs.jq pkgs.jq
pkgs.dash pkgs.dash
pkgs.socat pkgs.socat
pkgs.power-profiles-ctl
]; ];
} }

View file

@ -10,11 +10,31 @@
source = ../../bin/Hyprland; source = ../../bin/Hyprland;
executable = true; executable = true;
}; };
# UWU launcher script
".local/bin/uwu-launcher" = {
source = ../../bin/uwu-launcher;
executable = true;
};
# Togglescreen script
".local/bin/togglescreen" = {
source = ../../bin/togglescreen;
executable = true;
};
}; };
home.packages = [ home.packages = [
pkgs.egl-wayland # For NVIDIA compatibility pkgs.egl-wayland # For NVIDIA compatibility
pkgs.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-hyprland
# Common DE packages required in config
pkgs.wl-clipboard-rs
pkgs.grim
pkgs.slurp
pkgs.hyprpicker
pkgs.udiskie
# Apps launchable from bindings
pkgs.firefox
pkgs.kitty
pkgs.yazi
]; ];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
@ -26,5 +46,8 @@
# bar is required # bar is required
imports = [ imports = [
../../bar ../../bar
../../term/alacritty
../../misc/swayosd
../../misc/anyrun
]; ];
} }

View file

@ -49,6 +49,7 @@
# Services # Services
services.seatd.enable = true; services.seatd.enable = true;
services.power-profiles-daemon.enable = true;
# NVIDIA # NVIDIA
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) ["nvidia-x11" "nvidia-settings"]; nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) ["nvidia-x11" "nvidia-settings"];

9
misc/anyrun/default.nix Normal file
View file

@ -0,0 +1,9 @@
{pkgs, ...}: {
home.file = {
".config/anyrun".source = ../anyrun;
};
home.packages = [
pkgs.anyrun
];
}

9
misc/swayosd/default.nix Normal file
View file

@ -0,0 +1,9 @@
{pkgs, ...}: {
home.file = {
".config/swayosd/style.css".source = ./style.css;
};
home.packages = [
pkgs.swayosd
];
}