diff options
author | Akshay <[email protected]> | 2023-02-20 16:07:10 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2023-02-20 16:07:10 +0000 |
commit | 8151e88775c3f2b7e1de1b90b825ed68658629b0 (patch) | |
tree | cb9bde9bd13ba8e5d931b482adcf128f6e52fd4a | |
parent | 7fed1757c57c00a0886ae2613c73018eea9659d3 (diff) |
.
-rw-r--r-- | home.nix | 2 | ||||
-rw-r--r-- | hosts/myrtle/configuration.nix | 16 | ||||
-rw-r--r-- | scripts/battery.nix | 5 | ||||
-rw-r--r-- | theme/default.nix | 2 | ||||
-rw-r--r-- | x/rxvt.nix | 3 |
5 files changed, 23 insertions, 5 deletions
@@ -24,6 +24,7 @@ | |||
24 | vim | 24 | vim |
25 | weechat | 25 | weechat |
26 | firefox | 26 | firefox |
27 | qutebrowser | ||
27 | unzip | 28 | unzip |
28 | tmux | 29 | tmux |
29 | xclip | 30 | xclip |
@@ -48,6 +49,7 @@ | |||
48 | pavucontrol | 49 | pavucontrol |
49 | signaldctl | 50 | signaldctl |
50 | 51 | ||
52 | |||
51 | # sync | 53 | # sync |
52 | rtorrent | 54 | rtorrent |
53 | lftp | 55 | lftp |
diff --git a/hosts/myrtle/configuration.nix b/hosts/myrtle/configuration.nix index e3b51de..90d94f8 100644 --- a/hosts/myrtle/configuration.nix +++ b/hosts/myrtle/configuration.nix | |||
@@ -167,6 +167,10 @@ | |||
167 | }; | 167 | }; |
168 | 168 | ||
169 | touchegg.enable = true; | 169 | touchegg.enable = true; |
170 | signald = { | ||
171 | enable = true; | ||
172 | group = "signald"; | ||
173 | }; | ||
170 | }; | 174 | }; |
171 | 175 | ||
172 | systemd.sleep.extraConfig = '' | 176 | systemd.sleep.extraConfig = '' |
@@ -178,7 +182,17 @@ | |||
178 | users.users.np = { | 182 | users.users.np = { |
179 | isNormalUser = true; | 183 | isNormalUser = true; |
180 | home = "/home/np"; | 184 | home = "/home/np"; |
181 | extraGroups = [ "wheel" "users" "tty" "audio" "video" "input" "adbusers" "docker" ]; | 185 | extraGroups = [ |
186 | "wheel" | ||
187 | "users" | ||
188 | "tty" | ||
189 | "audio" | ||
190 | "video" | ||
191 | "input" | ||
192 | "adbusers" | ||
193 | "docker" | ||
194 | "signald" | ||
195 | ]; | ||
182 | openssh.authorizedKeys.keys = [ | 196 | openssh.authorizedKeys.keys = [ |
183 | "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCrmh1vEWwKm8gpOk9j3DkZsiJCojpBdxuWU4M8rFeV/U9isRB+3pSJvF3Sncc6Yd+hSDohpzQF/Q5urubjkrGDniAKFjZnUHWZEzJmfQLHLIHXBkHjY8UMYF/WZprcplBKAZ7S9tS0YGa6NOQe2KEFtNG6XtBnrI3lswAHPOlqKJBG47MxfjIi9aUhczlzPxtGC9AfdwaNQYgLoJ91I6jkKuyKjbYt8KDDL+6PJ63TZc18LKKct1rf+ejRJKR9+jHTkEXhltUSQkieOJiEOdVcYWbYBxSoWutrnrksnhi9dLABOvueG6mAORU5g1yrMnX80RbK8DauwG4WI9qIGvHNPpQqP0vjj4mr8YkOUmzyeTW3KlOsQJZ7279WruBYV96/a7YoHKj9fGzV4McvVpvLMYa47hqyCBRK/qz0BSLFEhSNZzqseXCk91qZ0EhROBQEckqlKVip75YWFhqjVrgSPnVYWHxceNMttKmfGgIGXI8Bc8TKRZd+7quJNG7cWIE= np@olive" | 197 | "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCrmh1vEWwKm8gpOk9j3DkZsiJCojpBdxuWU4M8rFeV/U9isRB+3pSJvF3Sncc6Yd+hSDohpzQF/Q5urubjkrGDniAKFjZnUHWZEzJmfQLHLIHXBkHjY8UMYF/WZprcplBKAZ7S9tS0YGa6NOQe2KEFtNG6XtBnrI3lswAHPOlqKJBG47MxfjIi9aUhczlzPxtGC9AfdwaNQYgLoJ91I6jkKuyKjbYt8KDDL+6PJ63TZc18LKKct1rf+ejRJKR9+jHTkEXhltUSQkieOJiEOdVcYWbYBxSoWutrnrksnhi9dLABOvueG6mAORU5g1yrMnX80RbK8DauwG4WI9qIGvHNPpQqP0vjj4mr8YkOUmzyeTW3KlOsQJZ7279WruBYV96/a7YoHKj9fGzV4McvVpvLMYa47hqyCBRK/qz0BSLFEhSNZzqseXCk91qZ0EhROBQEckqlKVip75YWFhqjVrgSPnVYWHxceNMttKmfGgIGXI8Bc8TKRZd+7quJNG7cWIE= np@olive" |
184 | ]; | 198 | ]; |
diff --git a/scripts/battery.nix b/scripts/battery.nix index e89ad46..149d8a3 100644 --- a/scripts/battery.nix +++ b/scripts/battery.nix | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | let | 3 | let |
4 | name = "bat"; | 4 | name = "bat"; |
5 | symbol = "❤️"; | ||
5 | in | 6 | in |
6 | pkgs.writeScriptBin name | 7 | pkgs.writeScriptBin name |
7 | '' | 8 | '' |
@@ -22,9 +23,9 @@ pkgs.writeScriptBin name | |||
22 | for i in {0..4} | 23 | for i in {0..4} |
23 | do | 24 | do |
24 | if [[ $i -le $(( $bat_status/20 )) ]]; then | 25 | if [[ $i -le $(( $bat_status/20 )) ]]; then |
25 | echo -ne "#[fg=colour1]· " | 26 | echo -ne "#[fg=colour1]${symbol} " |
26 | else | 27 | else |
27 | echo -ne "#[fg=colour8]· " | 28 | echo -ne "#[fg=colour8]${symbol} " |
28 | fi | 29 | fi |
29 | done | 30 | done |
30 | echo | 31 | echo |
diff --git a/theme/default.nix b/theme/default.nix index b3af086..7c67057 100644 --- a/theme/default.nix +++ b/theme/default.nix | |||
@@ -3,4 +3,4 @@ let | |||
3 | night = import ./night.nix; | 3 | night = import ./night.nix; |
4 | gruvbox = import ./gruvbox.nix; | 4 | gruvbox = import ./gruvbox.nix; |
5 | in | 5 | in |
6 | night | 6 | day |
@@ -54,5 +54,6 @@ with theme; | |||
54 | "URxvt.keysym.C-equal" = "perl:font-size:reset"; | 54 | "URxvt.keysym.C-equal" = "perl:font-size:reset"; |
55 | "*.url-launcher" = "firefox"; | 55 | "*.url-launcher" = "firefox"; |
56 | "*.matcher.button" = 1; | 56 | "*.matcher.button" = 1; |
57 | }; | 57 | |
58 | } // theme; | ||
58 | } | 59 | } |