From 93ec6fff2118c2b72972a4ce38408e293e2e8007 Mon Sep 17 00:00:00 2001 From: willifan Date: Sun, 12 May 2024 16:27:17 +0200 Subject: [PATCH] added hyprpaper config, hosts --- flake.nix | 2 +- hosts/Lenni/default.nix | 7 +++++++ hosts/Lenni/disko.nix | 0 .../hardware-configuration.nix | 0 hosts/common/default.nix | 1 - hosts/default.nix | 7 +++++++ users/willifan/graphical/default.nix | 2 +- users/willifan/graphical/hyprland/default.nix | 7 +++++-- .../willifan/graphical/hyprland/hypridle.nix | 11 +++++++++++ .../willifan/graphical/hyprland/hyprland.nix | 11 +++++++++++ .../willifan/graphical/hyprland/hyprlock.nix | 13 +++++++++++++ .../willifan/graphical/hyprland/hyprpaper.nix | 19 +++++++++++++++++++ 12 files changed, 75 insertions(+), 5 deletions(-) create mode 100644 hosts/Lenni/default.nix create mode 100644 hosts/Lenni/disko.nix rename hosts/{common => Lenni}/hardware-configuration.nix (100%) create mode 100644 hosts/default.nix create mode 100644 users/willifan/graphical/hyprland/hyprlock.nix create mode 100644 users/willifan/graphical/hyprland/hyprpaper.nix diff --git a/flake.nix b/flake.nix index 2020a3a..be6f1a0 100644 --- a/flake.nix +++ b/flake.nix @@ -44,7 +44,7 @@ #home-manager.users.willifan = import ./users/willifan/home; # Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix } - ./hosts/common + ./hosts ./users/willifan ]; }; diff --git a/hosts/Lenni/default.nix b/hosts/Lenni/default.nix new file mode 100644 index 0000000..78c455a --- /dev/null +++ b/hosts/Lenni/default.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: +{ + imports = [ + ./hardware-configuration.nix + #./disko.nix + ]; +} \ No newline at end of file diff --git a/hosts/Lenni/disko.nix b/hosts/Lenni/disko.nix new file mode 100644 index 0000000..e69de29 diff --git a/hosts/common/hardware-configuration.nix b/hosts/Lenni/hardware-configuration.nix similarity index 100% rename from hosts/common/hardware-configuration.nix rename to hosts/Lenni/hardware-configuration.nix diff --git a/hosts/common/default.nix b/hosts/common/default.nix index 68f4a27..9fcca98 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -2,7 +2,6 @@ { networking.hostName = "Lenni"; imports = [ - ./hardware-configuration.nix ./nix-ld.nix ./boot.nix ]; diff --git a/hosts/default.nix b/hosts/default.nix new file mode 100644 index 0000000..c22f2d8 --- /dev/null +++ b/hosts/default.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: +{ + imports = [ + ./common + ./Lenni + ]; +} \ No newline at end of file diff --git a/users/willifan/graphical/default.nix b/users/willifan/graphical/default.nix index 084118e..07140bd 100644 --- a/users/willifan/graphical/default.nix +++ b/users/willifan/graphical/default.nix @@ -4,7 +4,7 @@ imports = [ ./dev - #./hyprland + ./hyprland ./theme #./firefox.nix diff --git a/users/willifan/graphical/hyprland/default.nix b/users/willifan/graphical/hyprland/default.nix index e3272a0..7e62fb1 100644 --- a/users/willifan/graphical/hyprland/default.nix +++ b/users/willifan/graphical/hyprland/default.nix @@ -2,7 +2,10 @@ { imports = [ - ./hyprland.nix - ./kanshi.nix + #./hypridle.nix + #./hyprland.nix + #./hyprlock.nix + ./hyprpaper.nix + #./kanshi.nix ]; } \ No newline at end of file diff --git a/users/willifan/graphical/hyprland/hypridle.nix b/users/willifan/graphical/hyprland/hypridle.nix index e69de29..5ace97f 100644 --- a/users/willifan/graphical/hyprland/hypridle.nix +++ b/users/willifan/graphical/hyprland/hypridle.nix @@ -0,0 +1,11 @@ +{ pkgs, home-manager, ...}: +{ + home-manager.users.willifan = { + services.hypridle = { + enable = true; + settings = { + + }; + }; + }; +} \ No newline at end of file diff --git a/users/willifan/graphical/hyprland/hyprland.nix b/users/willifan/graphical/hyprland/hyprland.nix index e69de29..e8ce3aa 100644 --- a/users/willifan/graphical/hyprland/hyprland.nix +++ b/users/willifan/graphical/hyprland/hyprland.nix @@ -0,0 +1,11 @@ +{ pkgs, home-manager, ...}: +{ + home-manager.users.willifan = { + wayland.windowManager.hyprland = { + enable = true; + settings = { + + }; + }; + }; +} \ No newline at end of file diff --git a/users/willifan/graphical/hyprland/hyprlock.nix b/users/willifan/graphical/hyprland/hyprlock.nix new file mode 100644 index 0000000..8e4c322 --- /dev/null +++ b/users/willifan/graphical/hyprland/hyprlock.nix @@ -0,0 +1,13 @@ +{ pkgs, home-manager, ...}: +{ + security.pam.services.hyprlock = {}; + + home-manager.users.willifan = { + services.hyprlock = { + enable = true; + settings = { + + }; + }; + }; +} \ No newline at end of file diff --git a/users/willifan/graphical/hyprland/hyprpaper.nix b/users/willifan/graphical/hyprland/hyprpaper.nix new file mode 100644 index 0000000..90ae1c9 --- /dev/null +++ b/users/willifan/graphical/hyprland/hyprpaper.nix @@ -0,0 +1,19 @@ +{ pkgs, home-manager, ...}: +{ + home-manager.users.willifan = { + services.hyprpaper = { + enable = true; + settings = { + + preload = "/home/willifan/.config/hypr/Bob Ross.png"; + + wallpaper = ",/home/willifan/.config/hypr/Bob Ross.png"; + + splash = true; + + ipc = "off"; + + }; + }; + }; +} \ No newline at end of file