add docker
This commit is contained in:
parent
4717886bcc
commit
f7f502d7b9
@ -27,7 +27,7 @@ $menu = wofi --show drun
|
|||||||
|
|
||||||
# exec-once = $terminal
|
# exec-once = $terminal
|
||||||
# exec-once = nm-applet &
|
# exec-once = nm-applet &
|
||||||
exec-once = waybar & $terminal & firefox
|
exec-once = uwsm app -- waybar & uwsm app -- $terminal & uwsm app -- firefox
|
||||||
|
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
|
@ -48,6 +48,7 @@
|
|||||||
/* Node Styles */
|
/* Node Styles */
|
||||||
#workspaces,
|
#workspaces,
|
||||||
#window,
|
#window,
|
||||||
|
#tray,
|
||||||
#cpu,
|
#cpu,
|
||||||
#memory,
|
#memory,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
@ -126,6 +127,7 @@
|
|||||||
#clock,
|
#clock,
|
||||||
#network,
|
#network,
|
||||||
#cpu,
|
#cpu,
|
||||||
|
#tray,
|
||||||
#workspaces {
|
#workspaces {
|
||||||
margin-left: 0.5rem;
|
margin-left: 0.5rem;
|
||||||
border-top-left-radius: 1rem;
|
border-top-left-radius: 1rem;
|
||||||
@ -135,6 +137,7 @@
|
|||||||
/* Right Border Radius */
|
/* Right Border Radius */
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#clock,
|
#clock,
|
||||||
|
#tray,
|
||||||
#battery,
|
#battery,
|
||||||
#workspaces {
|
#workspaces {
|
||||||
margin-right: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
|
@ -31,9 +31,9 @@ in
|
|||||||
];
|
];
|
||||||
# modules-center = [ "hyprland/window" ];
|
# modules-center = [ "hyprland/window" ];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
|
"tray"
|
||||||
"cpu"
|
"cpu"
|
||||||
"memory"
|
"memory"
|
||||||
"tray"
|
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"network"
|
"network"
|
||||||
"backlight"
|
"backlight"
|
||||||
|
43
modules/nixos/virtualisation/podman/default.nix
Normal file
43
modules/nixos/virtualisation/podman/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -48,6 +48,10 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation = {
|
||||||
|
podman = enabled;
|
||||||
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
graphical = {
|
graphical = {
|
||||||
wms.hyprland = enabled;
|
wms.hyprland = enabled;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user