Add hyprland + test config

This commit is contained in:
Florian RICHER 2023-08-20 13:12:48 +02:00
parent 3784b4a6fe
commit daadeccc45
4 changed files with 27 additions and 11 deletions

View file

@ -2,6 +2,7 @@
{ {
imports = [ imports = [
./hyprland
./programs ./programs
]; ];

View file

@ -1,13 +1,12 @@
{ { pkgs, ... }: {
pkgs,
inputs,
...
} @ args: {
home.packages = [];
wayland.windowManager.hyprland = { xdg.configFile."hypr/set-bg" = {
enable = true; executable = true;
package = inputs.hyprland.packages.${pkgs.system}.default; text = ''
# settings = import ./settings.nix args; #!/usr/bin/env bash
echo "Salut"
'';
}; };
} }

View file

@ -9,6 +9,7 @@
[ [
../../modules/system.nix ../../modules/system.nix
../../modules/pipewire.nix ../../modules/pipewire.nix
../../modules/hyprland.nix
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix

15
modules/hyprland.nix Normal file
View file

@ -0,0 +1,15 @@
{ pkgs, ... }:
{
programs.hyprland.enable = true;
services.udisks2 = {
enable = true;
mountOnMedia = true;
};
services.xserver = {
enable = true;
excludePackages = [ pkgs.xterm ];
};
}