11 Commits

Author SHA1 Message Date
Alexander Wainwright
98f039d2a2 Add bc and qalc 2026-02-21 13:20:59 +10:00
Alexander Wainwright
931e6f1c8f Add user to dialout 2026-02-21 13:20:32 +10:00
Alexander Wainwright
28842f376b Update lock file 2026-02-13 23:33:30 +10:00
Alexander Wainwright
cf9881008a Add firefox shortcut 2026-02-03 12:19:29 +10:00
Alexander Wainwright
5c7992e05a Enable brightness buttons 2026-02-03 12:19:08 +10:00
Alexander Wainwright
a91960835c Make launcher smaller
Doesn't fit on my laptop otherwise.
2026-02-03 12:18:36 +10:00
Alexander Wainwright
0d298a56fc Update lock file 2026-02-03 12:09:27 +10:00
Alexander Wainwright
4b4fd35706 Add workaround for jrnl build failure 2026-02-03 12:09:08 +10:00
Alexander Wainwright
e06340c2d2 Move mosh from server to base 2026-01-31 10:38:07 +10:00
Alexander Wainwright
3c791598fa Add more file associations 2026-01-31 10:37:45 +10:00
Alexander Wainwright
99d40d1f8c Open new tmux tabs in cwd 2026-01-31 10:36:48 +10:00
7 changed files with 44 additions and 21 deletions

View File

@@ -27,6 +27,8 @@
chromium
loupe
papers
brightnessctl
wev
];
programs.ghostty = {
@@ -41,9 +43,16 @@
xdg.mimeApps = {
enable = true;
defaultApplications = {
"image/jpeg" = [ "loupe" ];
"image/png" = [ "org.gnome.Loupe.desktop" ];
"image/gif" = [ "org.gnome.Loupe.desktop" ];
"text/html" = "firefox.desktop";
"x-scheme-handler/http" = "firefox.desktop";
"x-scheme-handler/https" = "firefox.desktop";
"x-scheme-handler/about" = "firefox.desktop";
"x-scheme-handler/unknown" = "firefox.desktop";
"image/jpeg" = [ "org.gnome.Loupe.desktop" ];
"image/jpg" = [ "org.gnome.Loupe.desktop" ];
"image/png" = [ "org.gnome.Loupe.desktop" ];
"image/gif" = [ "org.gnome.Loupe.desktop" ];
"image/webp" = [ "org.gnome.Loupe.desktop" ];
};
};

View File

@@ -10,7 +10,15 @@ in
home.packages = with pkgs; [
foliate
inputs.locutus.packages.${pkgs.stdenv.hostPlatform.system}.default
jrnl
# jrnl
# disable tests for now until the bug is fixed
# https://github.com/NixOS/nixpkgs/issues/476190
# https://github.com/NixOS/nixpkgs/pull/479705
(jrnl.overrideAttrs (old: {
disabledTests = (old.disabledTests or []) ++ [
"test_override_configured_linewrap_with_a_value_of_23"
];
}))
mullvad-browser
tor-browser
exiftool

View File

@@ -162,6 +162,8 @@ in
"${modifier}+Shift+c" = "reload";
"${modifier}+Shift+e" = "exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'";
"${modifier}+b" = "exec firefox";
"${modifier}+Shift+l" = "exec swaylock -f";
"${modifier}+Shift+s" = "exec grim -g \"$(slurp)\" - | wl-copy";
@@ -173,8 +175,8 @@ in
"XF86AudioRaiseVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+";
"XF86AudioLowerVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-";
"XF86AudioMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
"XF86MonBrightnessUp" = "exec light -A 5";
"XF86MonBrightnessDown" = "exec light -U 5";
"XF86MonBrightnessUp" = "exec brightnessctl set 10%+";
"XF86MonBrightnessDown" = "exec brightnessctl set 10%-";
};
};
@@ -266,7 +268,7 @@ in
terminal = "${pkgs.wezterm}/bin/wezterm";
layer = "overlay";
width = 100;
line-height = 40;
line-height = 25;
font = "JetBrainsMono Nerd Font:size=12";
};
colors = {

View File

@@ -37,7 +37,7 @@ tmux_conf_new_session_retain_current_path=false
# - true
# - false (default)
# - disabled (do not modify new-window bindings)
tmux_conf_new_window_retain_current_path=false
tmux_conf_new_window_retain_current_path=true
# new window tries to reconnect ssh sessions, possible values are:
# - true

18
flake.lock generated
View File

@@ -25,11 +25,11 @@
]
},
"locked": {
"lastModified": 1767514898,
"narHash": "sha256-ONYqnKrPzfKEEPChoJ9qPcfvBqW9ZgieDKD7UezWPg4=",
"lastModified": 1770260404,
"narHash": "sha256-3iVX1+7YUIt23hBx1WZsUllhbmP2EnXrV8tCRbLxHc8=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "7a06e8a2f844e128d3b210a000a62716b6040b7f",
"rev": "0d782ee42c86b196acff08acfbf41bb7d13eed5b",
"type": "github"
},
"original": {
@@ -76,11 +76,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1767379071,
"narHash": "sha256-EgE0pxsrW9jp9YFMkHL9JMXxcqi/OoumPJYwf+Okucw=",
"lastModified": 1770841267,
"narHash": "sha256-9xejG0KoqsoKEGp2kVbXRlEYtFFcDTHjidiuX8hGO44=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "fb7944c166a3b630f177938e478f0378e64ce108",
"rev": "ec7c70d12ce2fc37cb92aff673dcdca89d187bae",
"type": "github"
},
"original": {
@@ -92,11 +92,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1767325753,
"narHash": "sha256-yA/CuWyqm+AQo2ivGy6PlYrjZBQm7jfbe461+4HF2fo=",
"lastModified": 1770770419,
"narHash": "sha256-iKZMkr6Cm9JzWlRYW/VPoL0A9jVKtZYiU4zSrVeetIs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "64049ca74d63e971b627b5f3178d95642e61cedd",
"rev": "6c5e707c6b5339359a9a9e215c5e66d6d802fd7a",
"type": "github"
},
"original": {

View File

@@ -4,7 +4,7 @@
users.users.alex = {
isNormalUser = true;
description = "Alexander Wainwright";
extraGroups = [ "networkmanager" "wheel" ];
extraGroups = [ "networkmanager" "wheel" "dialout" ];
packages = with pkgs; [
# thunderbird
];
@@ -109,6 +109,9 @@
# Enable the OpenSSH daemon.
services.openssh.enable = true;
# enable mosh
programs.mosh.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
@@ -140,6 +143,10 @@
wireguard-tools
zip
# maths
bc
libqalculate
# build tools
binutils
cmake

View File

@@ -5,7 +5,4 @@
"192.168.1.80"
"192.168.1.20"
];
# enable mosh
programs.mosh.enable = true;
}