trying to fix hyprland

This commit is contained in:
Chris Cochrun 2024-06-21 11:08:42 -05:00
parent 7bb3b4b573
commit 31560fe067
4 changed files with 232 additions and 17 deletions

View file

@ -9,12 +9,12 @@
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
# hyprland = {
# type = "git";
# url = "https://github.com/hyprwm/Hyprland";
# submodules = true;
# inputs.nixpkgs.follows = "nixpkgs";
# };
hyprland = {
type = "git";
url = "https://github.com/hyprwm/Hyprland";
submodules = true;
inputs.nixpkgs.follows = "nixpkgs-stable";
};
# hyprland-plugins = {
# url = "github:hyprwm/hyprland-plugins";
# inputs.hyprland.follows = "hyprland";
@ -57,7 +57,7 @@
outputs = { nixpkgs,
nixpkgs-stable,
home-manager,
# hyprland,
hyprland,
nixos-hardware,
emacs,
nix-bitcoin,
@ -68,6 +68,10 @@
let
system = "x86_64-linux";
username = "chris";
stable = import nixpkgs-stable {
inherit system;
config = { allowUnfree = true; };
};
pkgsForSystem = import nixpkgs {
inherit system;
config = { allowUnfree = true; };
@ -85,10 +89,13 @@
syl = lib.nixosSystem {
inherit system;
pkgs = pkgsForSystem;
specialArgs = {
stable = stable;
};
modules = [
./systems/syl/configuration.nix
home-manager.nixosModules.home-manager
# hyprland.nixosModules.default
hyprland.nixosModules.default
nixos-hardware.nixosModules.framework-11th-gen-intel
# libre-presenter.defaultPackage
{
@ -105,7 +112,7 @@
modules = [
./systems/kaladin/configuration.nix
home-manager.nixosModules.home-manager
# hyprland.nixosModules.default
hyprland.nixosModules.default
nixos-hardware.nixosModules.common-gpu-amd
{
home-manager.useGlobalPkgs = true;