Switch to hyprland flake
This commit is contained in:
6
hosts/common/cachix.nix
Normal file
6
hosts/common/cachix.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ pkgs, ... }: {
|
||||
nix.settings = {
|
||||
substituters = [ "https://hyprland.cachix.org" ];
|
||||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
||||
};
|
||||
}
|
5
hosts/common/default.nix
Normal file
5
hosts/common/default.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ inputs, self, pks, ... }: {
|
||||
imports = [
|
||||
./cachix.nix
|
||||
];
|
||||
}
|
@@ -4,6 +4,7 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../system/monitoring.nix
|
||||
../common
|
||||
];
|
||||
|
||||
# Sops stuff
|
||||
@@ -93,6 +94,7 @@
|
||||
services.xserver.windowManager.i3.enable = true;
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
xwayland.enable = true;
|
||||
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
|
@@ -1,7 +1,10 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./hardware-configuration.nix ];
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../common
|
||||
];
|
||||
|
||||
# Bootloader stuff
|
||||
boot.kernelParams = [
|
||||
|
Reference in New Issue
Block a user