Skip to content

Commit

Permalink
hyprland rewrite home-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasBenaets committed Mar 11, 2024
1 parent 54b4c20 commit 72e7934
Show file tree
Hide file tree
Showing 12 changed files with 655 additions and 418 deletions.
299 changes: 241 additions & 58 deletions flake.lock

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,24 @@
inputs.nixpkgs.follows = "nixpkgs-unstable";
};

hyprlock = {
url = "github:hyprwm/hyprlock";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};

hypridle = {
url = "github:hyprwm/hypridle";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};

plasma-manager = { # KDE Plasma User Settings Generator
url = "github:pjones/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "nixpkgs";
};
};

outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, home-manager-unstable, darwin, nur, nixgl, nixvim, nixvim-unstable, doom-emacs, hyprland, plasma-manager, ... }: # Function telling flake which inputs to use
outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, home-manager-unstable, darwin, nur, nixgl, nixvim, nixvim-unstable, doom-emacs, hyprland, hyprlock, hypridle, plasma-manager, ... }: # Function telling flake which inputs to use
let
vars = { # Variables Used In Flake
user = "matthias";
Expand All @@ -87,7 +97,7 @@
nixosConfigurations = ( # NixOS Configurations
import ./hosts {
inherit (nixpkgs) lib;
inherit inputs nixpkgs nixpkgs-unstable nixos-hardware home-manager nur nixvim doom-emacs hyprland plasma-manager vars; # Inherit inputs
inherit inputs nixpkgs nixpkgs-unstable nixos-hardware home-manager nur nixvim doom-emacs hyprland hyprlock hypridle plasma-manager vars; # Inherit inputs
}
);

Expand Down
1 change: 1 addition & 0 deletions hosts/beelink/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
gimp # Image Editor
gmtp # Mount GoPro
go2tv # Casting
google-cloud-sdk-gce # Google Cloud
jellyfin-media-player # Media Player
kodi # Media Player
moonlight-qt # Remote Streaming
Expand Down
4 changes: 2 additions & 2 deletions hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# └─ default.nix
#

{ lib, inputs, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, nur, nixvim, doom-emacs, hyprland, plasma-manager, vars, ... }:
{ lib, inputs, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, nur, nixvim, doom-emacs, hyprland, hyprlock, hypridle, plasma-manager, vars, ... }:

let
system = "x86_64-linux"; # System Architecture
Expand All @@ -30,7 +30,7 @@ in
beelink = lib.nixosSystem { # Desktop Profile
inherit system;
specialArgs = { # Pass Flake Variable
inherit inputs system unstable hyprland vars;
inherit inputs system unstable hyprland hyprlock hypridle vars;
host = {
hostName = "beelink";
mainMonitor = "HDMI-A-2";
Expand Down
2 changes: 1 addition & 1 deletion modules/desktops/bspwm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let
#pgrep -x sxhkd > /dev/null || sxhkd &
feh --bg-tile $HOME/.config/wall # Wallpaper
feh --bg-tile $HOME/.config/wall.png # Wallpaper
polybar main & #2>~/log &
'';
Expand Down
Loading

0 comments on commit 72e7934

Please sign in to comment.