hyprland: cleanup

This commit is contained in:
Charlie Root 2024-08-28 14:17:38 +02:00
commit 40edb95bb1
5 changed files with 42 additions and 78 deletions

View file

@ -24,14 +24,12 @@
ffmpeg-full ffmpeg-full
fftw fftw
fzf fzf
#gadacz
gcc gcc
gdb gdb
gnumake gnumake
grc grc
git git
helvum helvum
hmm
httpie httpie
hyperfine hyperfine
imagemagick imagemagick
@ -45,7 +43,6 @@
libtool libtool
links2 links2
mapscii mapscii
mars-mips
moc moc
ncmpcpp ncmpcpp
neofetch neofetch
@ -79,7 +76,6 @@
trash-cli trash-cli
tree tree
ttyper ttyper
typst
unzip unzip
util-linux util-linux
v4l-utils v4l-utils

View file

@ -1,6 +1,6 @@
_: { _: {
imports = [ imports = [
./hypr ./hyprland/module.nix
./variables.nix ./variables.nix
]; ];
} }

View file

@ -1,6 +1,7 @@
{ {
config, config,
pkgs, pkgs,
...
}: let }: let
cfg = config.modules.usrEnv.desktops.hyprland; cfg = config.modules.usrEnv.desktops.hyprland;
inherit (config.modules.other.system) username; inherit (config.modules.other.system) username;

View file

@ -9,8 +9,7 @@
inherit (builtins) map genList attrNames toString; inherit (builtins) map genList attrNames toString;
in { in {
home-manager.users.${username} = { home-manager.users.${username} = {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland.settings = {
settings = {
# Monitor config # Monitor config
# monitor = [ # monitor = [
# "eDP-1,1920x1080,0x0,1" # "eDP-1,1920x1080,0x0,1"
@ -53,5 +52,4 @@ in {
]; ];
}; };
}; };
};
} }

View file

@ -1,31 +0,0 @@
{
inputs',
config,
...
}: {
programs.niri = {
enable = true;
package = inputs'.niri.packages.niri-unstable;
};
services = {
greetd = {
enable = true;
settings = rec {
initial_session = {
command = "${config.programs.niri.package}/bin/niri-session";
user = "vali";
};
default_session = initial_session;
};
};
gnome = {
# glib-networking.enable = true;
};
# lorri.enable = true;
# udisks2.enable = true;
# printing.enable = true;
# fstrim.enable = true;
};
}