Bunch of config changes
This commit is contained in:
parent
59e360139f
commit
5655c8a056
0
homelab/caddy/Caddyfile
Normal file
0
homelab/caddy/Caddyfile
Normal file
0
homelab/caddy/caddyfiles/Caddyfile
Normal file
0
homelab/caddy/caddyfiles/Caddyfile
Normal file
19
homelab/caddy/docker-compose.yml
Normal file
19
homelab/caddy/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
services:
|
||||
caddy:
|
||||
image: caddy:2.8
|
||||
container_name: caddy
|
||||
restart: unless-stopped
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
- 443:443/udp
|
||||
volumes:
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
- ./caddyfiles:/etc/caddy/
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
caddy_config:
|
@ -38,6 +38,7 @@
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
device = "nodev";
|
||||
configurationLimit = 32;
|
||||
};
|
||||
|
||||
networking.hostName = "xv-laptop"; # Define your hostname.
|
||||
@ -50,7 +51,12 @@
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
hardware.opentabletdriver.enable = true;
|
||||
# Configure wacom tablet
|
||||
hardware.opentabletdriver = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.libinput.enable = true;
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
|
@ -11,11 +11,19 @@
|
||||
};
|
||||
|
||||
programs.bash = {
|
||||
enable = false;
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
};
|
||||
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
}
|
||||
|
@ -7,6 +7,7 @@
|
||||
noto-fonts
|
||||
fira-code
|
||||
font-awesome
|
||||
dejavu_fonts
|
||||
(nerdfonts.override { fonts = [ "DejaVuSansMono" ]; })
|
||||
];
|
||||
}
|
||||
|
@ -66,7 +66,7 @@
|
||||
"warning" = 30;
|
||||
"critical" = 15;
|
||||
};
|
||||
"format" = "{icon} {capacity}%";
|
||||
"format" = "{icon} {capacity}%";
|
||||
"format-icons" = [ "" "" "" "" "" ];
|
||||
};
|
||||
"pulseaudio" = {
|
||||
@ -89,8 +89,8 @@
|
||||
"network" = {
|
||||
"interface" = "wlan0";
|
||||
"format" = "{ifname}";
|
||||
"format-wifi" = " {essid}";
|
||||
"format-ethernet" = " {ipaddr}/{cidr}";
|
||||
"format-wifi" = " {essid}";
|
||||
"format-ethernet" = " {ipaddr}/{cidr}";
|
||||
"format-disconnected" = "";
|
||||
"tooltip-format" = "{ifname} via {gwaddr}";
|
||||
"tooltip-format-wifi" = "{essid} ({signalStrength}%)";
|
||||
@ -103,7 +103,7 @@
|
||||
style = ''
|
||||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: DejaVuSansM Nerd Font;
|
||||
font-family: DejaVuSans, FontAwesome6Free;
|
||||
}
|
||||
|
||||
#workspaces,#window,#clock,#battery,#tray,#pulseaudio,#network {
|
||||
|
@ -8,4 +8,9 @@
|
||||
btop
|
||||
git
|
||||
];
|
||||
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
|
||||
programs.zsh.enable = true;
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
}
|
||||
|
@ -1,7 +1,13 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
};
|
||||
|
||||
users.users.xeovalyte.extraGroups = [ "docker" ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user