backups n stuff

This commit is contained in:
mjallen18
2024-08-01 21:59:05 -05:00
parent c685f3bfdf
commit 26cc1b223f
6 changed files with 190 additions and 52 deletions

View File

@@ -1,7 +1,4 @@
{ pkgs, ... }:
# let
# gnome = false;
# in
{
home.username = "matt";
@@ -23,6 +20,7 @@
shellAliases = {
ll = "ls -alh";
update = "sudo nixos-rebuild switch";
update-flake = "sudo nix flake update ~/nix-config";
update-specialisation = "sudo nixos-rebuild switch --specialisation";
nas-update = "nixos-rebuild switch --use-remote-sudo --target-host admin@jallen-nas.local --build-host localhost --flake ~/nix-config#jallen-nas";
nas-ssh = "ssh admin@jallen-nas.local";
@@ -68,6 +66,7 @@
gamescope-wsi_git
goverlay
heroic
home-manager
libreoffice-qt6-fresh
lm_sensors
lutris
@@ -84,6 +83,11 @@
protonvpn-gui
protonvpn-gui
python3
python312Packages.tox
python312Packages.setuptools
python312Packages.pytest
python312Packages.pytest-cov
python312Packages.pyaml
spotify
tree
virt-manager
@@ -124,4 +128,32 @@
};
};
specialisation.hyprland.configuration = {
wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.settings = {
"$mod" = "SUPER";
bind =
[
"$mod, F, exec, firefox"
", Print, exec, grimblast copy area"
]
++ (
# workspaces
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
builtins.concatLists (builtins.genList (
x: let
ws = let
c = (x + 1) / 10;
in
builtins.toString (x + 1 - (c * 10));
in [
"$mod, ${ws}, workspace, ${toString (x + 1)}"
"$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
]
)
10)
);
};
};
}