cleanup
This commit is contained in:
parent
4796ec17c4
commit
6ce116ef71
@ -36,10 +36,7 @@
|
||||
users.users.foglar = {
|
||||
isNormalUser = true;
|
||||
description = "foglar";
|
||||
extraGroups = ["networkmanager" "wheel" "lp" "scanner" "docker"];
|
||||
packages = with pkgs; [
|
||||
# thunderbird
|
||||
];
|
||||
extraGroups = ["wheel"];
|
||||
};
|
||||
|
||||
xdg.mime.enable = true;
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
hyprland.enable =
|
||||
desktop.hyprland.enable =
|
||||
lib.mkEnableOption "enable Hyprland module";
|
||||
};
|
||||
|
||||
@ -16,14 +16,17 @@
|
||||
./wlogout.nix
|
||||
];
|
||||
|
||||
config = lib.mkIf config.hyprland.enable {
|
||||
config = lib.mkIf config.desktop.hyprland.enable {
|
||||
waybar.enable = lib.mkDefault true;
|
||||
rofi.enable = lib.mkDefault true;
|
||||
wlogout.enable = lib.mkDefault true;
|
||||
|
||||
xdg.portal.enable = true;
|
||||
#xdg.portal.config = { commom;
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||
xdg.portal.enable = true;
|
||||
xdg.portal.config = { common = {
|
||||
default = ["gtk"];
|
||||
};
|
||||
};
|
||||
xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-hyprland];
|
||||
|
||||
services.network-manager-applet.enable = true;
|
||||
services.dunst.enable = true;
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
./desktop/desktops.nix
|
||||
];
|
||||
|
||||
hyprland.enable = true;
|
||||
desktop.hyprland.enable = true;
|
||||
programming.enable = true;
|
||||
games.enable = true;
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
s = "kitten ssh";
|
||||
diff = "diff --color";
|
||||
cd = "z";
|
||||
#arduino-cli = "arduino-ports-enable ; arduino-cli";
|
||||
|
||||
respawn = "clear; pfetch";
|
||||
l = "eza -lh --icons=auto";
|
||||
mkdir = "mkdir -p";
|
||||
|
||||
@ -15,5 +15,7 @@
|
||||
setSocketVariable = true;
|
||||
};
|
||||
};
|
||||
|
||||
users.users.foglar.extraGroups = [ "docker" ];
|
||||
};
|
||||
}
|
||||
|
||||
@ -8,14 +8,14 @@
|
||||
package.proxychains.enable = lib.mkEnableOption "Enable Proxychains";
|
||||
};
|
||||
|
||||
config =
|
||||
lib.mkIf config.package.tor.enable {
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf config.package.tor.enable {
|
||||
services.tor = {
|
||||
enable = true;
|
||||
};
|
||||
services.tor.client.enable = true;
|
||||
}
|
||||
// lib.mkIf config.package.proxychains.enable {
|
||||
})
|
||||
(lib.mkIf config.package.proxychains.enable {
|
||||
programs.proxychains = {
|
||||
enable = true;
|
||||
chain.type = "dynamic";
|
||||
@ -28,5 +28,6 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
@ -11,4 +11,6 @@
|
||||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||
services.blueman.enable = true;
|
||||
|
||||
users.users.foglar.extraGroups = [ "networkmanager" ];
|
||||
}
|
||||
|
||||
@ -1,8 +1,4 @@
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
# Printing
|
||||
services.printing.enable = true;
|
||||
services.printing.drivers = with pkgs; [gutenprint hplip splix];
|
||||
@ -26,4 +22,5 @@
|
||||
services.ipp-usb.enable = true;
|
||||
hardware.sane.extraBackends = [pkgs.hplipWithPlugin];
|
||||
|
||||
users.users.foglar.extraGroups = ["lp" "scanner"];
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user