diff --git a/flake.nix b/flake.nix index f17b5ec..5b61503 100644 --- a/flake.nix +++ b/flake.nix @@ -61,7 +61,7 @@ modules = [(import ./hosts/frues-port)]; specialArgs = { host = "frues-port"; - inherit self inputs username; + inherit self inputs username pkgs-unstable; }; }; frues-vm = nixpkgs.lib.nixosSystem { @@ -69,7 +69,7 @@ modules = [(import ./hosts/frues-vm)]; specialArgs = { host = "frues-vm"; - inherit self inputs username; + inherit self inputs username pkgs-unstable; }; }; fruesos-live = nixpkgs.lib.nixosSystem { @@ -80,7 +80,7 @@ ]; specialArgs = { host = "fruesos-live"; - inherit self inputs username; + inherit self inputs username pkgs-unstable; }; }; }; diff --git a/hosts/frues-port/hardware-configuration.nix b/hosts/frues-port/hardware-configuration.nix index 011f35d..89b5fcd 100644 --- a/hosts/frues-port/hardware-configuration.nix +++ b/hosts/frues-port/hardware-configuration.nix @@ -29,8 +29,10 @@ fsType = "vfat"; }; + boot.initrd.luks.devices."luks-d56d945e-77a6-4061-ab03-80c2830c6cd3".device = "/dev/disk/by-uuid/d56d945e-77a6-4061-ab03-80c2830c6cd3"; + swapDevices = [ - {device = "/dev/disk/by-uuid/5f19b076-bad1-4201-b13b-f4aa20b48c3a";} + {device = "/dev/disk/by-uuid/77baf723-2a3d-4c90-9323-6ee1a875cbd8";} ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking diff --git a/modules/core/security.nix b/modules/core/security.nix index f6b2a3d..927a477 100644 --- a/modules/core/security.nix +++ b/modules/core/security.nix @@ -1,5 +1,6 @@ {pkgs, ...}: { security.rtkit.enable = true; + security.polkit.enable = true; security.sudo.enable = true; security.sudo.package = pkgs.sudo.override {withInsults = true;}; # I'm spanish and I love cursing # security.pam.services.swaylock = { }; diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 416c0c6..9a753d6 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -1,8 +1,9 @@ -{...}: { +{pkgs, ...}: { wayland.windowManager.hyprland = { settings = { # autostart exec-once = [ + "${pkgs.lxqt.lxqt-policykit}/bin/lxqt-policykit-agent &" "nm-applet &" "wl-clip-persist --clipboard both &" "bash -c 'if [ ! -f ~/.config/hypr/wallpaper.png ]; then wall-change ~/.config/hypr/default_wallpaper.png; fi'"