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

View file

@ -9,7 +9,8 @@
[ [
../../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 ];
};
}