tangled
alpha
login
or
join now
encode42.dev
/
nixos
0
fork
atom
Personal-use NixOS configuration
0
fork
atom
overview
issues
pulls
pipelines
Add functions that assist with work
encode42.dev
6 months ago
3ab6df42
3f57d7b7
+21
3 changed files
expand all
collapse all
unified
split
homes
encode42
desktop
work.nix
hosts
decryption
homes
encode42.nix
encryption
homes
encode42.nix
+17
homes/encode42/desktop/work.nix
···
1
1
+
{ pkgs, ... }:
2
2
+
3
3
+
{
4
4
+
programs.fish.functions = {
5
5
+
server_upload = ''
6
6
+
set host (string replace :2222 "" $argv[1])
7
7
+
set username $argv[2]
8
8
+
set filename $argv[3]
9
9
+
10
10
+
mscp $filename -o PubkeyAuthentication=no -P 2222 $username@$host:/
11
11
+
'';
12
12
+
};
13
13
+
14
14
+
home.packages = with pkgs; [
15
15
+
mscp
16
16
+
];
17
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
26
+
27
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
30
+
31
31
+
(flakeRoot + /homes/encode42/desktop/work.nix)
30
32
];
31
33
32
34
home.packages = with pkgs; [