tangled
alpha
login
or
join now
koi.rip
/
dotfiles
0
fork
atom
my nixos dotfiles :3 (git.koi.rip mirror)
git.koi.rip/koi/dotfiles
linux
dotfiles
neovim
nixos
catppuccin
0
fork
atom
overview
issues
pulls
pipelines
fix: small improvements
koi.rip
3 months ago
1806ae4d
29c0c341
+33
-44
6 changed files
expand all
collapse all
unified
split
external
config
fastfetch
config.jsonc
formatter.nix
home
adam.nix
modules
age.nix
programs
niri.nix
systems
miku
default.nix
+18
-27
external/config/fastfetch/config.jsonc
···
28
28
29
29
"modules": [
30
30
"break",
31
31
+
"break",
32
32
+
{
33
33
+
"type": "custom",
34
34
+
"format": "\u001b[0;38;2;180;190;254mᓚ₍ ^. .^₎ ₍^. .^ ₎ᓗ\u001b[0m"
35
35
+
},
31
36
{
32
37
"type": "custom",
33
38
"format": "\u001b[0;38;2;203;166;247m╭──────────────────────────────────╮\u001b[0m"
···
47
52
"format": "{result}"
48
53
},
49
54
{
55
55
+
"type": "uptime",
56
56
+
"key": "uptime ",
57
57
+
"keyIcon": " ",
58
58
+
"format": "{days}d {hours}h {minutes}m"
59
59
+
},
60
60
+
{
50
61
"type": "os",
51
62
"key": "distro ",
52
63
"keyIcon": " ",
···
58
69
"keyIcon": " "
59
70
},
60
71
{
61
61
-
"type": "packages",
62
62
-
"key": "packages",
63
63
-
"keyIcon": " "
64
64
-
},
65
65
-
{
66
66
-
"type": "uptime",
67
67
-
"key": "uptime ",
68
68
-
"keyIcon": " ",
69
69
-
"format": "{days}d {hours}h {minutes}m"
70
70
-
},
71
71
-
{
72
72
-
"type": "shell",
73
73
-
"key": "shell ",
74
74
-
"keyIcon": " "
75
75
-
},
76
76
-
{
77
77
-
"type": "terminal",
78
78
-
"key": "terminal",
79
79
-
"keyIcon": " "
80
80
-
},
81
81
-
{
82
82
-
"type": "wm",
83
83
-
"key": "wm ",
84
84
-
"keyIcon": " ",
85
85
-
"format": "{pretty-name} {version}"
72
72
+
"type": "command",
73
73
+
"shell": "/bin/sh",
74
74
+
"text": "kitget -V | cut -d ' ' -f2",
75
75
+
"key": "kitget ",
76
76
+
"keyIcon": " ",
77
77
+
"format": "{result}"
86
78
},
87
79
{
88
80
"type": "custom",
89
81
"format": "\u001b[0;38;2;203;166;247m╰──────────────────────────────────╯\u001b[0m"
90
90
-
},
91
91
-
"break"
82
82
+
}
92
83
]
93
84
}
+2
-4
formatter.nix
···
18
18
19
19
shfmt = {
20
20
command = "shfmt";
21
21
-
options = [
22
22
-
"-w"
23
23
-
];
21
21
+
options = [ "-w" ];
24
22
includes = [
25
23
"*.sh"
24
24
+
"*.bash"
26
25
# "*.zsh" # https://github.com/mvdan/sh/issues/120
27
27
-
"*.bash"
28
26
];
29
27
};
30
28
};
+1
-5
home/adam.nix
···
1
1
-
{ config, ... }:
2
2
-
3
1
{
4
2
home = {
5
3
username = "adam";
6
4
homeDirectory = "/home/adam";
7
7
-
stateVersion = "25.05";
5
5
+
stateVersion = "25.11";
8
6
};
9
9
-
10
10
-
age.identityPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
11
7
12
8
imports = [
13
9
./modules/external.nix
+4
-4
home/modules/age.nix
···
1
1
-
{ inputs, ... }:
1
1
+
{ config, inputs, ... }:
2
2
3
3
{
4
4
-
imports = [
5
5
-
inputs.agenix.homeManagerModules.default
6
6
-
];
4
4
+
imports = [ inputs.agenix.homeManagerModules.default ];
5
5
+
6
6
+
age.identityPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
7
7
}
+1
-1
home/modules/programs/niri.nix
···
12
12
spawn-at-startup = [
13
13
{ argv = [ "swww img ~/.wallpaper.jpg" ]; }
14
14
{ argv = [ "waybar" ]; }
15
15
-
{ argv = [ "vesktop" ]; }
15
15
+
{ argv = [ "sleep 2; vesktop" ]; }
16
16
];
17
17
18
18
screenshot-path = "~/screenshots/%Y-%m-%d_%H-%M-%S.png";
+7
-3
systems/miku/default.nix
···
47
47
48
48
environment.systemPackages = with pkgs; [ cloudflared ];
49
49
50
50
-
age.secrets.cloudflared = {
51
51
-
file = ../../secrets/cloudflared.pem.age;
52
52
-
mode = "0400";
50
50
+
age = {
51
51
+
identityPaths = [ "/home/adam/.ssh/id_ed25519" ];
52
52
+
53
53
+
secrets.cloudflared = {
54
54
+
file = ../../secrets/cloudflared.pem.age;
55
55
+
mode = "0400";
56
56
+
};
53
57
};
54
58
55
59
systemd.services.cloudflared = {