This commit is contained in:
Evie Litherland-Smith 2024-07-23 06:52:36 +01:00
commit ab1086d9ad
9 changed files with 42 additions and 25 deletions

View file

@ -3,4 +3,4 @@
HOST := $(shell hostname)
build:
nix build .#nixosConfigurations.$(HOST).config.system.build.toplevel
nix build --keep-going .#nixosConfigurations.$(HOST).config.system.build.toplevel

View file

@ -109,7 +109,6 @@
imports = [
base16.homeManagerModule
{scheme = "${tt-schemes}/base16/one-light.yaml";}
./home/default.nix
./home/${hostName}.nix
];
home = {

View file

@ -1,4 +1,10 @@
[
{ "name": "Router", "url": "192.168.0.1", "tags": ["Local"] },
{
"name": "Prusa Link",
"url": "192.168.0.220",
"tags": ["Local", "3D Printing"]
},
{ "name": "Mastodon", "url": "https://tech.lgbt", "tags": ["Social"] },
{
"name": "ABRP",

View file

@ -256,11 +256,12 @@
breezerc = {
Common = {
OutlineClassButton = true;
OutlineCloseButtone = true;
ShadowSize = "ShadowVeryLarge";
ShadowStrength = "128";
};
Style = {
MenuOpacity = "80";
MenuOpacity = "100";
};
};
dolphinrc = {
@ -295,9 +296,9 @@
# blur to all windows
Inactive = 100;
MoveResize = 100;
Dialogs = 50;
ComboboxPopups = 50;
Menus = 50;
Dialogs = 100;
ComboboxPopups = 100;
Menus = 100;
};
"org.kde.kdecoration2" = {
BorderSize = "None";

View file

@ -1,8 +1,7 @@
epkgs:
with epkgs; [
# Theme
base16-theme
# UI
base16-theme
all-the-icons
nerd-icons
nerd-icons-completion
@ -11,12 +10,9 @@ with epkgs; [
nerd-icons-ibuffer
minions
ligature
page-break-lines
helpful
which-key
ace-window
link-hint
diff-hl
# Completion
vertico
orderless
@ -26,36 +22,33 @@ with epkgs; [
corfu-terminal
consult
consult-eglot
consult-flyspell
embark
embark-consult
flyspell-correct
tempel
# IDE
treesit-auto
magit
forge
flymake-popon
apheleia
envrc
rainbow-delimiters
flymake-shellcheck
flymake-yamllint
flymake-clippy
flymake-eslint
apheleia
envrc
rainbow-delimiters
aggressive-indent
markdown-mode
pandoc-mode
python-docstring
nix-mode
lua-mode
# Writing
# Org + LaTeX
org-roam
org-noter
citar
citar-embark
markdown-mode
pandoc-mode
auctex
htmlize
# Other
password-store
emms

View file

@ -4,6 +4,7 @@
pkgs,
...
}: {
imports = [./default.nix];
home.packages = with pkgs; [
twinkle
(import ./scripts/ukaea-vpn.nix pkgs)

View file

@ -3,9 +3,10 @@
./services/caddy.nix
./services/forgejo.nix
./services/grafana.nix
./services/home-assistant.nix
./services/minecraft.nix
./services/nix-serve.nix
./services/radicale.nix
# ./services/radicale.nix
./services/sshd.nix
./services/syncthing.nix
# ./services/znc.nix
@ -16,4 +17,5 @@
};
users.mutableUsers = false;
system.autoUpgrade.operation = "switch";
hardware.bluetooth.enable = true;
}

View file

@ -48,6 +48,9 @@
randomizedDelaySec = "45min";
flags = [
"--accept-flake-config"
"--keep-going"
"--max-jobs"
"1"
"--option"
"extra-binary-caches"
"https://nix.xenia.me.uk"

View file

@ -0,0 +1,12 @@
{config, ...}: {
virtualisation.oci-containers = {
backend = "podman";
containers.homeassistant = {
volumes = ["home-assistant:/config" "/run/dbus:/run/dbus:ro"];
environment.TZ = config.time.timeZone;
image = "ghcr.io/home-assistant/home-assistant:2024.8.0.dev202407210221";
extraOptions = ["--network=host"];
};
};
services.caddy.virtualHosts."home.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:8123";
}