add docker

This commit is contained in:
Evan Reichard 2025-04-06 21:07:19 -04:00
parent 4717886bcc
commit f7f502d7b9
5 changed files with 52 additions and 2 deletions

View File

@ -27,7 +27,7 @@ $menu = wofi --show drun
# exec-once = $terminal
# exec-once = nm-applet &
exec-once = waybar & $terminal & firefox
exec-once = uwsm app -- waybar & uwsm app -- $terminal & uwsm app -- firefox
#############################

View File

@ -48,6 +48,7 @@
/* Node Styles */
#workspaces,
#window,
#tray,
#cpu,
#memory,
#pulseaudio,
@ -126,6 +127,7 @@
#clock,
#network,
#cpu,
#tray,
#workspaces {
margin-left: 0.5rem;
border-top-left-radius: 1rem;
@ -135,6 +137,7 @@
/* Right Border Radius */
#pulseaudio,
#clock,
#tray,
#battery,
#workspaces {
margin-right: 0.5rem;

View File

@ -31,9 +31,9 @@ in
];
# modules-center = [ "hyprland/window" ];
modules-right = [
"tray"
"cpu"
"memory"
"tray"
"pulseaudio"
"network"
"backlight"

View File

@ -0,0 +1,43 @@
{ config, lib, pkgs, namespace, ... }:
let
inherit (lib) mkIf;
cfg = config.${namespace}.virtualisation.podman;
in
{
options.${namespace}.virtualisation.podman = {
enable = lib.mkEnableOption "podman";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
podman-compose
podman-desktop
];
reichard = {
user = {
extraGroups = [
"docker"
"podman"
];
};
};
virtualisation = {
podman = {
inherit (cfg) enable;
autoPrune = {
enable = true;
flags = [ "--all" ];
dates = "weekly";
};
defaultNetwork.settings.dns_enabled = true;
dockerCompat = true;
dockerSocket.enable = true;
};
};
};
}

View File

@ -48,6 +48,10 @@ in
};
};
virtualisation = {
podman = enabled;
};
programs = {
graphical = {
wms.hyprland = enabled;