Compare commits

...

3 commits

Author SHA1 Message Date
e7e3d03d7a Add pkgs-unstable to all hosts 2024-08-03 23:10:31 +02:00
67cb494c16 FIx swap 2024-08-03 23:02:57 +02:00
db0e55a89c Add polkit support 2024-08-03 22:53:35 +02:00
4 changed files with 9 additions and 5 deletions

View file

@ -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;
};
};
};

View file

@ -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

View file

@ -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 = { };

View file

@ -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'"