Compare commits

10 Commits
work ... main

Author SHA1 Message Date
Alexander Wainwright
afd8f090ec Add syncthing to count 2025-12-24 16:18:42 +10:00
Alexander Wainwright
c565a01115 Add syncthing to alt 2025-12-24 00:58:49 +10:00
Alexander Wainwright
717f75ef94 Update lock file 2025-12-21 13:54:23 +10:00
Alexander Wainwright
10a9f560e7 Add en-GB to firefox
Not sure if this actually did anything.
2025-12-21 13:53:48 +10:00
Alexander Wainwright
fcb71caa6c Reorganise packages 2025-12-21 13:52:59 +10:00
Alexander Wainwright
cb903ac830 Merge remote-tracking branch 'origin/main' 2025-12-17 16:43:33 +10:00
Alexander Wainwright
7d85656190 Update lock file 2025-12-17 16:42:17 +10:00
Alexander Wainwright
d1811ec7ec Add node
Unfortunately needed for some neovim plugins.
2025-12-17 16:41:28 +10:00
Alexander Wainwright
3cf0f456b7 Update git config with default branch main 2025-12-17 16:38:15 +10:00
Alexander Wainwright
c8027e8f82 Enable mouse in tmux 2025-12-17 13:17:20 +10:00
8 changed files with 41 additions and 13 deletions

View File

@@ -138,8 +138,15 @@
# basic configuration of git, please change to your own
programs.git = {
enable = true;
userName = "Alexander Wainwright";
userEmail = "code@figtree.dev";
settings = {
user = {
name = "Alexander Wainwright";
email = "code@figtree.dev";
};
init = {
defaultBranch = "main";
};
};
};
# starship - an customizable prompt for any shell

View File

@@ -379,7 +379,7 @@ tmux_conf_urlscan_options="--compact --dedupe"
#set -g history-limit 10000
# start with mouse mode enabled
#set -g mouse on
set -g mouse on
# force Vi mode
# really you should export VISUAL or EDITOR environment variable, see manual

12
flake.lock generated
View File

@@ -25,11 +25,11 @@
]
},
"locked": {
"lastModified": 1765605144,
"narHash": "sha256-RM2xs+1HdHxesjOelxoA3eSvXShC8pmBvtyTke4Ango=",
"lastModified": 1765979862,
"narHash": "sha256-/r9/1KamvbHJx6I40H4HsSXnEcBAkj46ZwibhBx9kg0=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "90b62096f099b73043a747348c11dbfcfbdea949",
"rev": "d3135ab747fd9dac250ffb90b4a7e80634eacbe9",
"type": "github"
},
"original": {
@@ -76,11 +76,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1765311797,
"narHash": "sha256-mSD5Ob7a+T2RNjvPvOA1dkJHGVrNVl8ZOrAwBjKBDQo=",
"lastModified": 1765838191,
"narHash": "sha256-m5KWt1nOm76ILk/JSCxBM4MfK3rYY7Wq9/TZIIeGnT8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "09eb77e94fa25202af8f3e81ddc7353d9970ac1b",
"rev": "c6f52ebd45e5925c188d1a20119978aa4ffd5ef6",
"type": "github"
},
"original": {

View File

@@ -11,6 +11,7 @@
../modules/base.nix
../modules/kafka-mounts.nix
../modules/server.nix
../modules/syncthing.nix
./caddy.nix
];
@@ -20,6 +21,8 @@
privileged = true;
};
services.syncthing.guiAddress = "0.0.0.0:8384";
networking.firewall.allowedTCPPorts = [
80 443 # caddy
8000
@@ -27,6 +30,7 @@
8010 # audio bookshelf
8080 # file browser
8234 # shiori (non-standard)
8384 # syncthing
9117
8191 # flaresolverr
];

View File

@@ -12,6 +12,7 @@
../modules/desktop.nix
../modules/brother-printer.nix
../modules/home.nix
../modules/syncthing.nix
];
# Bootloader.

View File

@@ -141,6 +141,7 @@
clang
gnumake
libtool
nodejs_24
# rust
cargo

View File

@@ -28,9 +28,7 @@
enableDefaultPackages = true;
packages = with pkgs; [
bitwarden-desktop
khmeros
libreoffice-fresh
noto-fonts-cjk-sans
noto-fonts-cjk-serif
nerd-fonts.lilex
@@ -39,7 +37,8 @@
};
environment.systemPackages = with pkgs; [
libreoffice
bitwarden-desktop
libreoffice-fresh
];
# Enable networking
@@ -68,5 +67,10 @@
# services.xserver.libinput.enable = true;
# Install firefox.
programs.firefox.enable = true;
programs.firefox = {
enable = true;
languagePacks = [
"en-GB"
];
};
}

View File

@@ -0,0 +1,11 @@
{ config, pkgs, inputs, ... }:
{
# sync thing
services.syncthing = {
enable = true;
openDefaultPorts = true;
user = "alex";
configDir = "/home/alex/.config/syncthing";
dataDir = "/home/alex";
};
}