Compare commits

...

2 commits

Author SHA1 Message Date
97a4ca6fb7 feat(libvirt): can control as user 2024-10-21 11:39:19 +02:00
82bd3982a1 fix: completely disable hyprland 2024-10-21 11:39:05 +02:00
3 changed files with 6 additions and 5 deletions

View file

@ -63,11 +63,12 @@
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;
extraGroups = [ "wheel" "networkmanager" ]; extraGroups = [ "wheel" "networkmanager" "libvirtd" ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };

View file

@ -7,6 +7,7 @@
home.stateVersion = "24.05"; home.stateVersion = "24.05";
home.packages = with pkgs; [ home.packages = with pkgs; [
virt-manager
unzip unzip
jq jq
nil nil
@ -54,6 +55,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 +290,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
]; ];
} }