Personal-use NixOS configuration

Add functions that assist with work

+21
+17
homes/encode42/desktop/work.nix
··· 1 + { pkgs, ... }: 2 + 3 + { 4 + programs.fish.functions = { 5 + server_upload = '' 6 + set host (string replace :2222 "" $argv[1]) 7 + set username $argv[2] 8 + set filename $argv[3] 9 + 10 + mscp $filename -o PubkeyAuthentication=no -P 2222 $username@$host:/ 11 + ''; 12 + }; 13 + 14 + home.packages = with pkgs; [ 15 + mscp 16 + ]; 17 + }
+2
hosts/decryption/homes/encode42.nix
··· 23 23 (flakeRoot + /homes/encode42/desktop/firefox.nix) 24 24 25 25 (flakeRoot + /homes/shared/desktop/prismlauncher.nix) 26 + 27 + (flakeRoot + /homes/encode42/desktop/work.nix) 26 28 ]; 27 29 28 30 home.packages = with pkgs; [
+2
hosts/encryption/homes/encode42.nix
··· 27 27 (flakeRoot + /homes/encode42/desktop/firefox.nix) 28 28 29 29 (flakeRoot + /homes/shared/desktop/prismlauncher.nix) 30 + 31 + (flakeRoot + /homes/encode42/desktop/work.nix) 30 32 ]; 31 33 32 34 home.packages = with pkgs; [