Bunch of config changes

This commit is contained in:
xeovalyte 2024-09-12 18:39:59 +02:00
parent 59e360139f
commit 5655c8a056
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:kSQDrQDmKzljJzfGYcd3m9RqHi4h8rSwkZ3sQ9kBURo
9 changed files with 51 additions and 6 deletions

0
homelab/caddy/Caddyfile Normal file
View File

View File

View 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:

View File

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

View File

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

View File

@ -7,6 +7,7 @@
noto-fonts
fira-code
font-awesome
dejavu_fonts
(nerdfonts.override { fonts = [ "DejaVuSansMono" ]; })
];
}

View File

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

View File

@ -8,4 +8,9 @@
btop
git
];
environment.pathsToLink = [ "/share/zsh" ];
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
}

View File

@ -1,7 +1,13 @@
{ ... }:
{
virtualisation.docker.enable = true;
virtualisation.docker = {
enable = true;
rootless = {
enable = true;
setSocketVariable = true;
};
};
users.users.xeovalyte.extraGroups = [ "docker" ];
}