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;
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 = [
pkgs.egl-wayland # For NVIDIA compatibility
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 = {
@ -26,5 +46,8 @@
# bar is required
imports = [
../../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
];
}