Add hyprland + test config
This commit is contained in:
parent
3784b4a6fe
commit
daadeccc45
4 changed files with 27 additions and 11 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./hyprland
|
||||
./programs
|
||||
];
|
||||
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
} @ args: {
|
||||
home.packages = [];
|
||||
{ pkgs, ... }: {
|
||||
|
||||
xdg.configFile."hypr/set-bg" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
#!/usr/bin/env bash
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.system}.default;
|
||||
# settings = import ./settings.nix args;
|
||||
echo "Salut"
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
|
@ -9,7 +9,8 @@
|
|||
[
|
||||
../../modules/system.nix
|
||||
../../modules/pipewire.nix
|
||||
|
||||
../../modules/hyprland.nix
|
||||
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
|
15
modules/hyprland.nix
Normal file
15
modules/hyprland.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.hyprland.enable = true;
|
||||
|
||||
services.udisks2 = {
|
||||
enable = true;
|
||||
mountOnMedia = true;
|
||||
};
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
excludePackages = [ pkgs.xterm ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue