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) HOST := $(shell hostname)
build: 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 = [ imports = [
base16.homeManagerModule base16.homeManagerModule
{scheme = "${tt-schemes}/base16/one-light.yaml";} {scheme = "${tt-schemes}/base16/one-light.yaml";}
./home/default.nix
./home/${hostName}.nix ./home/${hostName}.nix
]; ];
home = { 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": "Mastodon", "url": "https://tech.lgbt", "tags": ["Social"] },
{ {
"name": "ABRP", "name": "ABRP",

View file

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

View file

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

View file

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

View file

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

View file

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