Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
98f039d2a2 | ||
|
|
931e6f1c8f | ||
|
|
28842f376b | ||
|
|
cf9881008a | ||
|
|
5c7992e05a | ||
|
|
a91960835c | ||
|
|
0d298a56fc | ||
|
|
4b4fd35706 | ||
|
|
e06340c2d2 | ||
|
|
3c791598fa | ||
|
|
99d40d1f8c |
@@ -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" ];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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
18
flake.lock
generated
@@ -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": {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -5,7 +5,4 @@
|
||||
"192.168.1.80"
|
||||
"192.168.1.20"
|
||||
];
|
||||
|
||||
# enable mosh
|
||||
programs.mosh.enable = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user