Add NixOS config
This commit is contained in:
commit
6020d64797
43 changed files with 1372 additions and 0 deletions
6
nixos/modules/hypr/bundle.nix
Normal file
6
nixos/modules/hypr/bundle.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./hyprland.nix
|
||||
./hyprlock.nix
|
||||
];
|
||||
}
|
||||
5
nixos/modules/hypr/hyprland.nix
Normal file
5
nixos/modules/hypr/hyprland.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ pkgs, ...}: {
|
||||
programs.hyprland.enable = true;
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
}
|
||||
|
||||
4
nixos/modules/hypr/hyprlock.nix
Normal file
4
nixos/modules/hypr/hyprlock.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
programs.hyprlock.enable = true;
|
||||
services.hypridle.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue