formating

This commit is contained in:
joy 2024-09-01 21:55:50 +02:00
parent e4e77eb878
commit 7480f29b2d
5 changed files with 14 additions and 13 deletions

View file

@ -15,7 +15,6 @@
};
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
};
outputs = {

View file

@ -1,7 +1,4 @@
{
inputs,
...
}: {
{inputs, ...}: {
networking.hostName = "laptop";
networking.networkmanager.enable = true;
boot.loader.systemd-boot.enable = true;

View file

@ -1,8 +1,12 @@
{lib,config,...}: {
options = {
{
lib,
config,
...
}: {
options = {
hypridle.enable = lib.mkEnableOption "Enables kitty";
};
config = lib.mkIf config.hypridle.enable {
home-manager.users.joy.services.hypridle = {
enable = true;
@ -22,5 +26,4 @@
};
};
};
}

View file

@ -1,4 +1,8 @@
{pkgs,inputs, ...}: {
{
pkgs,
inputs,
...
}: {
home-manager.users.joy.home.packages = with pkgs; [
rofi-wayland
pwvucontrol
@ -18,13 +22,11 @@
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
nix.settings = {
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
home-manager.users.joy.services.cliphist.enable = true;
home-manager.users.joy.wayland.windowManager.hyprland = {

View file

@ -8,7 +8,7 @@
"video/jpg" = ["mpv.desktop"];
"video/*" = ["mpv.desktop"];
};
home-manager.backupFileExtension = "backup";
home-manager.users.joy.home = {
username = "joy";