moving hyprland to system-wide instead of hm to test 2
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
./zsh.nix
|
||||
./cnix-pkgs.nix
|
||||
./fonts.nix
|
||||
./hypr
|
||||
./hyprland.nix
|
||||
];
|
||||
home-manager = {
|
||||
# useGlobalPkgs = true;
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# HYPRLAND CONFIGURATION
|
||||
|
||||
source=./land/appearance.conf
|
||||
source=./land/inputs.conf
|
||||
source=./land/keybinds.conf
|
||||
source=./land/rules.conf
|
||||
source=./land/startup.conf
|
||||
@@ -1,28 +1,4 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [../../../home/extra/mako];
|
||||
|
||||
xdg.portal = let
|
||||
hyprland = config.wayland.windowManager.hyprland.package;
|
||||
xdph = pkgs.xdg-desktop-portal-hyprland.override {inherit hyprland;};
|
||||
in {
|
||||
extraPortals = [xdph];
|
||||
configPackages = [hyprland];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
grimblast
|
||||
slurp
|
||||
hyprpicker
|
||||
swaybg
|
||||
tofi
|
||||
gnome.gnome-calculator
|
||||
];
|
||||
|
||||
{pkgs, ...}: {
|
||||
environment.variables = {
|
||||
BROWSER = "firefox";
|
||||
NIXOS_OZONE_WL = 1;
|
||||
@@ -36,9 +12,6 @@
|
||||
enable = true;
|
||||
package = pkgs.hyprland;
|
||||
xwayland.enable = true;
|
||||
extraConfig = ''
|
||||
${builtins.readFile ./hyprland.conf}
|
||||
'';
|
||||
systemd = {
|
||||
enable = true;
|
||||
extraCommands = [
|
||||
Reference in New Issue
Block a user