try hyprland at old commit

current_state
Christian Ott 2 years ago
parent da2c407497
commit 9eb5615307
  1. 7
      configuration.nix
  2. 8
      flake.nix

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ronema, ... }:
{ config, lib, pkgs, ronema, xdph, ... }:
{
imports =
@ -70,6 +70,7 @@
services.xserver.enable = true;
programs.hyprland.enable = true;
programs.hyprland.portalPackage = xdph.packages."${pkgs.system}".xdg-desktop-portal-hyprland;
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = false;
@ -136,8 +137,8 @@
};
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
configPackages = [ pkgs.xdg-desktop-portal-hyprland ];
extraPortals = [ xdph.packages."${pkgs.system}".xdg-desktop-portal-hyprland ];
configPackages = [ xdph.packages."${pkgs.system}".xdg-desktop-portal-hyprland ];
};
environment.sessionVariables = {

@ -5,6 +5,10 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nix-colors.url = "github:misterio77/nix-colors";
xdph = {
url = "github:hyprwm/xdg-desktop-portal-hyprland?ref=b9b97e5ba23fe7bd5fa4df54696102e8aa863cf6";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = github:nix-community/home-manager;
inputs.nixpkgs.follows = "nixpkgs";
@ -15,7 +19,7 @@
};
};
outputs = { self, nixpkgs, nixos-hardware, home-manager, nix-colors, ronema, ... }@inputs:
outputs = { self, nixpkgs, nixos-hardware, home-manager, nix-colors, ronema, xdph, ... }@inputs:
let
username = "chrigi";
lib = nixpkgs.lib;
@ -28,7 +32,7 @@
in {
nixosConfigurations.nix-fw16 = lib.nixosSystem {
specialArgs = {
inherit pkgs ronema;
inherit pkgs ronema xdph;
};
modules = [
./configuration.nix

Loading…
Cancel
Save

Powered by TurnKey Linux.