fix: completely disable hyprland

This commit is contained in:
Ahurac 2024-10-21 11:39:05 +02:00
parent b6ae74543f
commit 82bd3982a1
3 changed files with 4 additions and 4 deletions

View file

@ -63,7 +63,8 @@
systemd.services.libvirtd.wantedBy = lib.mkForce [ ]; systemd.services.libvirtd.wantedBy = lib.mkForce [ ];
systemd.services.libvirt-guests.wantedBy = lib.mkForce [ ]; systemd.services.libvirt-guests.wantedBy = lib.mkForce [ ];
programs.hyprland.enable = true; programs.niri.enable = true;
programs.niri.package = pkgs.niri;
users.users.ahurac = { users.users.ahurac = {
isNormalUser = true; isNormalUser = true;

View file

@ -54,6 +54,7 @@
xdg.portal = { xdg.portal = {
enable = true; enable = true;
config.common.default = [ "gnome" "gtk" ]; config.common.default = [ "gnome" "gtk" ];
extraPortals = [ pkgs.xdg-desktop-portal-gnome ];
}; };
services.ssh-agent.enable = true; services.ssh-agent.enable = true;
@ -288,8 +289,6 @@
}; };
programs.niri = { programs.niri = {
enable = true;
package = pkgs.niri;
settings = { settings = {
input = { input = {
keyboard = { keyboard = {

View file

@ -32,6 +32,7 @@
nixosConfigurations.ahrc-laptop = nixpkgs.lib.nixosSystem { nixosConfigurations.ahrc-laptop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
niri.nixosModules.niri
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
@ -39,7 +40,6 @@
home-manager.users.ahurac.imports = [ home-manager.users.ahurac.imports = [
flatpaks.homeManagerModules.nix-flatpak flatpaks.homeManagerModules.nix-flatpak
anyrun.homeManagerModules.default anyrun.homeManagerModules.default
niri.homeModules.niri
./ahrc-laptop/home.nix ./ahrc-laptop/home.nix
]; ];
} }