Merge branch 'main' of https://git.xenia.me.uk/pixelifytica/nixos
This commit is contained in:
commit
ab1086d9ad
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -109,7 +109,6 @@
|
|||
imports = [
|
||||
base16.homeManagerModule
|
||||
{scheme = "${tt-schemes}/base16/one-light.yaml";}
|
||||
./home/default.nix
|
||||
./home/${hostName}.nix
|
||||
];
|
||||
home = {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [./default.nix];
|
||||
home.packages = with pkgs; [
|
||||
twinkle
|
||||
(import ./scripts/ukaea-vpn.nix pkgs)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -48,6 +48,9 @@
|
|||
randomizedDelaySec = "45min";
|
||||
flags = [
|
||||
"--accept-flake-config"
|
||||
"--keep-going"
|
||||
"--max-jobs"
|
||||
"1"
|
||||
"--option"
|
||||
"extra-binary-caches"
|
||||
"https://nix.xenia.me.uk"
|
||||
|
|
12
system/services/home-assistant.nix
Normal file
12
system/services/home-assistant.nix
Normal 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";
|
||||
}
|
Loading…
Reference in a new issue