feat/nix #3

Merged
Jaaj-San merged 59 commits from feat/nix into main 2024-09-20 22:35:47 +02:00
3 changed files with 41 additions and 0 deletions
Showing only changes of commit 003741d233 - Show all commits

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
]; ];
} }

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
];
}