Compare commits

...

384 commits
fcast ... main

Author SHA1 Message Date
Lillian Violet 08dcbada27 Add html and css linting to helix 2024-09-18 16:08:00 +02:00
Lillian Violet 2f6ba250cc Why does it work here now? I don't know, this should build according to nix flake check, flake lock updated, removed isos for now 2024-09-16 21:09:20 +02:00
Lillian Violet 57f50e54c6 And with the original module? 2024-09-11 14:35:56 +02:00
Lillian Violet f0ba3cb27d Maybe just put it in imports? 2024-09-11 14:34:50 +02:00
Lillian Violet cee4f93f32 I don't think this will fix things but we'll see what impact it has 2024-09-11 14:33:51 +02:00
Lillian Violet a6312e6805 update flake lock 2024-09-11 14:27:05 +02:00
Lillian Violet 9929c7447d I don't think this'll fix the lanzaboote error but we can try 2024-09-11 14:25:10 +02:00
Lillian Violet 40f0c218d9 We can't do that because secure boot is on... 2024-09-11 14:18:22 +02:00
Lillian Violet 5f43f81d51 Disable lanzaboote on shodan for now 2024-09-10 17:25:28 +02:00
Lillian Violet d758509551 update flake lock 2024-09-10 17:00:25 +02:00
Lillian Violet 76248fcd2c Add all the features for ruff I want 2024-09-10 15:37:42 +02:00
Lillian Violet 17200daa04 Enable more lints with ruff 2024-09-10 15:03:55 +02:00
Lillian Violet 8d36a530a8 Disable the other linters aside from ruff in helix 2024-09-10 14:50:16 +02:00
Lillian Violet 460d421513 Add ruff plugin to pylsp 2024-09-10 14:10:41 +02:00
Lillian Violet 202893ec08 Add pylsp to python editing in helix 2024-09-10 10:28:05 +02:00
Lillian Violet 9deba2b395 update flake lock 2024-09-06 15:22:47 +02:00
Lillian Violet cdb3860b76 Trying to enable the well known for conduwuit 2024-09-05 14:54:01 +02:00
Lillian Violet 2df0f3e781 update flake lock 2024-09-03 10:26:58 +02:00
Lillian Violet 9d3ca00a99 update flake lock 2024-09-02 21:35:04 +02:00
Lillian Violet fcef750193 Add filelight for disk usage stuff 2024-08-29 15:12:50 +02:00
Lillian Violet bebd3cc487 Use more up to date version of konsole 2024-08-29 14:46:04 +02:00
Lillian Violet 469bd2b40a Update zsh for firefox and enable lanzaboote on EDI 2024-08-29 13:58:18 +02:00
Lillian Violet d1fc8d1b86 Fix sidebar in firefox 2024-08-29 11:46:26 +02:00
Lillian Violet 8d291e2488 Disable lanzaboote for now 2024-08-29 11:17:20 +02:00
Lillian Violet 71c086cd45 Update flake lock & disable cinny for now 2024-08-29 10:51:45 +02:00
Lillian-Violet c33fbecf66 Change conduit to conduwuit in the flake 2024-08-29 08:20:28 +00:00
Lillian-Violet 1f10354d14 Make bcachefs ext4 in EDI 2024-08-29 08:18:54 +00:00
Lillian-Violet f9d4122ff2 Remove bcachefs stuff from desktops 2024-08-29 08:18:13 +00:00
Lillian-Violet 9295fa0327 Change ssh key for EDI
The new key signature for EDI for sshing updated
2024-08-29 08:17:15 +00:00
Lillian Violet 4ae563422d Same deal for rustdesk 2024-08-17 20:09:13 +02:00
Lillian Violet f0a50b9b53 Disable watchmate for now since it's broken 2024-08-17 19:58:16 +02:00
Lillian Violet 0d34709c23 Add exfat support to maybe make the sd car reader work 2024-08-17 19:08:10 +02:00
Lillian Violet 12dc7835a0 Need to add pkgs 2024-08-17 15:09:29 +02:00
Lillian Violet 8dab565927 Let me try manually adding it to the systemd service? 2024-08-17 15:08:57 +02:00
Lillian Violet 596abd5e90 Maybe just installing it is enough? 2024-08-17 15:03:52 +02:00
Lillian Violet 6aa4012f87 Error says I'm missing openssl in my path, maybe this will fix federation? 2024-08-17 15:00:52 +02:00
Lillian Violet a331ba6a39 Urgh doesn't work still 2024-08-17 14:51:47 +02:00
Lillian Violet b17fea860a Try again to enable mysql 2024-08-17 14:49:52 +02:00
Lillian Violet caa3d25659 Disable firefox sync 2024-08-17 14:48:47 +02:00
Lillian Violet fdc3c697bd Nope that's not it 2024-08-17 14:44:46 +02:00
Lillian Violet c19ea7a450 Maybe it won't work on another port? 2024-08-17 14:43:28 +02:00
Lillian Violet bf76c84f13 Never mind that, undo 2024-08-17 14:41:09 +02:00
Lillian Violet 1fcf3ceebe I might need to add the https 2024-08-17 14:37:57 +02:00
Lillian Violet 7fe5ec8513 Simple completion language server won't build so let's just disable it 2024-08-17 14:04:38 +02:00
Lillian Violet 77cd704f97 update flake lock 2024-08-17 13:31:57 +02:00
Lillian Violet a939521573 Enable local timeline on writefreely 2024-08-17 13:17:58 +02:00
Lillian Violet e4947f89ae This is the correct hierarchy for the ini 2024-08-16 20:01:55 +02:00
Lillian Violet d947010d5d Ini type not valid? 2024-08-16 19:58:44 +02:00
Lillian Violet bb5a1a1d8f Enable federation stuff on writefreely 2024-08-16 19:55:34 +02:00
Lillian Violet 5854b7cb85 mysql doesn't want to cooperate, let's try sqlite for now 2024-08-16 15:58:26 +02:00
Lillian Violet d54ba8432a Oh it needs to be a number not a string I think 2024-08-16 15:37:13 +02:00
Lillian Violet 9cfb2ad379 That port is wrong 2024-08-16 15:36:11 +02:00
Lillian Violet 648af57762 Let's set a db password too 2024-08-16 15:35:18 +02:00
Lillian Violet aab4b5c8e3 Wait I might want to actually add writefreely to packages loaded haha 2024-08-16 15:32:50 +02:00
Lillian Violet e5e108e983 For some reason gladtherescake.eu is being weird, let's try this domain 2024-08-16 15:30:58 +02:00
Lillian Violet 71eab709e7 Let's see if we can run writefreely like this :) 2024-08-16 15:23:55 +02:00
Lillian Violet 2198bd1d83 Merge branches 'main' and 'main' of codeberg.org:Lillian-Violet/NixOS-Config 2024-08-11 16:04:06 +02:00
Lillian Violet 148ac15889 Should probably also install install-nix-no-inhibit to everything huh 2024-08-11 16:03:59 +02:00
Lillian Violet 552c63a073 update flake lock 2024-08-09 13:07:33 +02:00
Lillian Violet f2d7ccee9b Misspelling fixed for font-awesome 2024-08-06 11:03:38 +02:00
Lillian Violet 6374b80760 Add some fonts 2024-08-06 11:01:19 +02:00
Lillian Violet 7a95239f84 update flake lock 2024-07-25 19:41:36 +02:00
Lillian Violet b6d43632fe update flake lock 2024-07-19 14:47:57 +02:00
Lillian Violet f5475e1752 also remove the sound option for shodan 2024-07-19 14:45:34 +02:00
Lillian Violet 142b9c7950 error said this option does nothing anymore 2024-07-19 13:58:21 +02:00
Lillian Violet 8f62484112 Add protontricks too 2024-07-11 22:49:08 +02:00
Lillian Violet d87f842ad5 Add protonup-qt to shodan for junk-store 2024-07-11 22:33:42 +02:00
Lillian Violet c94191d60a Plugins not available anymore 2024-07-11 16:07:20 +02:00
Lillian Violet 8dd1285c8f Flake update & temporarily allow youtube-dl insecurely 2024-07-11 16:02:20 +02:00
Lillian Violet 237f66d10e update flake lock 2024-07-04 16:44:54 +02:00
Lillian Violet 3f149efae6 update flake lock 2024-07-02 11:26:00 +02:00
Lillian Violet 7bc03653c3 Add ffz plugin 2024-06-30 23:13:59 +02:00
Lillian Violet 2a95e688c0 Need jq as well 2024-06-28 23:29:19 +02:00
Lillian Violet 569a253534 Need util-linux for flock 2024-06-28 23:26:41 +02:00
Lillian Violet 62c771d947 Need to add that package 2024-06-28 23:20:37 +02:00
Lillian Violet 67cdc3600e Let's see if this makes auto-mount work now 2024-06-28 23:18:11 +02:00
Lillian Violet bc7c3f803a Queen has been fixed! (also flake lock update, and some small tweaks to reduce errors) 2024-06-26 15:26:00 +02:00
Lillian Violet f35891bd67 Update flake lock and setting the 32 bit libraries in shodan 2024-06-25 17:10:27 +02:00
Lillian Violet 6776dd3740 Queen is broken but this might update bcachefs and fix those headaches 2024-06-21 23:59:28 +02:00
Lillian Violet d8965c551c Should probably put that in the right place to not crap it out huh 2024-06-19 15:39:03 +02:00
Lillian Violet bb062aa802 Add binary cache for jovian (thank you FSB backdoored friend K900) 2024-06-19 15:36:00 +02:00
Lillian Violet 6e4e7a1b88 Let's see if I can build cinny from source 2024-06-19 11:26:11 +02:00
Lillian Violet 26cd8835f5 Give the tab a little padding in zellij like vanilla does 2024-06-19 10:10:52 +02:00
Lillian Violet f0416bf15b Fixed the ugly zellij theming fuckup 2024-06-18 13:31:14 +02:00
Lillian Violet fd0ef515d1 Update flake lock 2024-06-13 10:28:31 +02:00
Lillian Violet abb9408b12 Update flake lock 2024-06-05 17:24:00 +02:00
Lillian Violet 0b10841245 Upgrade nextcloud to 29 2024-05-31 16:05:49 +02:00
Lillian Violet d7237a1427 Update flake lock 2024-05-29 22:21:09 +02:00
Lillian Violet b0af058fca Update a bunch of things to fix the flake lock update, conduwuit is broken rn 2024-05-25 16:30:53 +02:00
Lillian Violet 77b2b41c3a Not in it's path, let's try doing it this way then 2024-05-20 22:08:37 +02:00
Lillian Violet 08f859a810 shodan is complaining python3 is not installed, let's try this then 2024-05-20 22:03:32 +02:00
Lillian Violet 0bb4cc8669 Set up jovian like k900, see if that fixes decky 2024-05-20 21:52:39 +02:00
Lillian Violet 221ed043bb This wasn't supposed to be deleted... 2024-05-20 13:22:57 +02:00
Lillian Violet 680feacd38 From the flake too 2024-05-20 13:20:33 +02:00
Lillian Violet a79ab5b9ba Disable lanzaboote on glados for now 2024-05-20 13:18:35 +02:00
Lillian Violet 8e03678304 update flake lock 2024-05-20 00:07:08 +02:00
Lillian Violet 4b1eff9221 Forgot to add this to the flake 2024-05-19 23:46:32 +02:00
Lillian Violet e3f8df4b53 Add the bcachefs fix 2024-05-19 23:35:27 +02:00
Lillian Violet bb30a9e93b update the lix to use nixpkgs, and update the flake lock 2024-05-16 14:26:46 +02:00
Lillian Violet 14f5273947 Make this more consistent and add waypipe to shodan 2024-05-12 23:15:11 +02:00
Lillian Violet 840ec6d23e Make home manager backup overwritten files by default 2024-05-12 23:11:43 +02:00
Lillian Violet 3878664044 Give shodan the term emu upgrades 2024-05-12 23:07:49 +02:00
Lillian Violet 639d1c236d Add waypipe to the desktops 2024-05-12 22:09:32 +02:00
Lillian Violet 2e0fd8c174 Little refactor for the shell scripts 2024-05-12 19:41:33 +02:00
Lillian Violet ccf1e416cf Update plasma manager, update zellij layout to re-enable mode switching for panels 2024-05-12 18:03:05 +02:00
Lillian Violet acccba01c0 Update plasma and add foot as terminal emulator 2024-05-11 21:26:22 +02:00
Lillian Violet d5f572e31b Merge branch 'main' of codeberg.org:Lillian-Violet/NixOS-Config 2024-05-11 20:39:45 +02:00
Lillian Violet f2e6c756f4 hide the top bar in konsole 2024-05-11 20:39:23 +02:00
Lillian Violet 62a6706db0 update flake lock 2024-05-11 14:38:11 +02:00
Lillian Violet b2b81b1964 Can't put that there 2024-05-10 00:28:27 +02:00
Lillian Violet 05fc4b8e28 Maybe disabling this will help? 2024-05-10 00:27:22 +02:00
Lillian Violet c802a38b91 That didn't work, no clue tbh 2024-05-10 00:25:11 +02:00
Lillian Violet 6bd990c51b Let's see if this makes sliding sync work 2024-05-10 00:22:27 +02:00
Lillian Violet f3971937d7 update flake lock 2024-05-09 22:05:37 +02:00
Lillian Violet 54c4a49725 Disable shutdown and reboot timers 2024-05-08 14:57:34 +02:00
Lillian Violet 416d45d06e Remove the pihole stuff completely 2024-05-08 14:35:08 +02:00
Lillian Violet a537cf8e2c update flake lock 2024-05-08 11:17:35 +02:00
Lillian Violet 5080d69f9d Switch to lix 2024-05-08 11:16:20 +02:00
Lillian Violet 31a47c71be update flake lock 2024-05-07 14:04:41 +02:00
Lillian Violet 00179e7f62 That broke ipv4 but not 6! Let's try and see if this works 2024-05-07 10:36:30 +02:00
Lillian Violet 41ca870d1c Same tweaks as before but added the nameservers 2024-05-07 10:33:28 +02:00
Lillian Violet b033214d79 Disable again, let's try some more tweaks 2024-05-07 10:32:15 +02:00
Lillian Violet 6d71d80510 Let's try minor tweaks to the interface and see if it craps out 2024-05-07 10:28:34 +02:00
Lillian Violet 2ce48ca0b6 Disable the networking tweaks for queen first, test later so we can roll back 2024-05-07 10:26:15 +02:00
Lillian Violet 3b9876bb10 let's try ipv6 without that weird debug thing, hope that's what broke the server 2024-05-07 09:59:35 +02:00
Lillian Violet da7d5b55f9 Update flake lock 2024-05-06 17:03:38 +02:00
Lillian Violet a53784fd9f Ignore .envrc 2024-05-06 17:02:50 +02:00
Lillian Violet 0c0385e997 Enable zellij on queen again 2024-05-06 17:02:26 +02:00
Lillian Violet 2cc062923a Missed two 2024-05-06 16:03:46 +02:00
Lillian Violet a659cd9f80 This one too 2024-05-06 16:01:46 +02:00
Lillian Violet 79169ce8e5 Remove the duplication shit 2024-05-06 15:59:06 +02:00
Lillian Violet a4f8f48f4b All the updates after this mess, should be good now 2024-05-06 15:55:51 +02:00
Lillian Violet 28c916d0ef The hash for the cattpuccin macchiato theme for firefox was wrong 2024-05-03 11:49:13 +02:00
Lillian Violet 48536af236 update flake lock 2024-05-03 11:37:39 +02:00
Lillian Violet 796cc9c5c6 Update plasma config 2024-05-03 10:24:47 +02:00
Lillian Violet 05c0193268 don't use the minute for the month 2024-05-02 15:35:25 +02:00
Lillian Violet d4372d37aa let's replace the tab bar 2024-05-02 15:31:43 +02:00
Lillian Violet 881b79887c It won't show both left boo 2024-05-02 14:56:21 +02:00
Lillian Violet 4baf84a0f2 Change some colours 2024-05-02 14:54:57 +02:00
Lillian Violet 0816c57dd9 Let's try this layout and replace the tab bar after 2024-05-02 14:48:42 +02:00
Lillian Violet ea963cff84 Let's try this location to load the layout by default 2024-05-02 14:28:40 +02:00
Lillian Violet 473142eb13 Let's try again shall we 2024-05-02 14:18:50 +02:00
Lillian Violet 54b8fa474c let's see if this works to show the plugin 2024-05-02 14:13:20 +02:00
Lillian Violet 746b9dea57 This is what the wiki says, idk if it'll work 2024-05-02 14:04:01 +02:00
Lillian Violet bd320b9903 Add the default stuff too 2024-05-02 14:02:19 +02:00
Lillian Violet ebbd8f3c84 Give me a border 2024-05-02 13:52:28 +02:00
Lillian Violet 1c67762f10 Let's try this now 2024-05-02 13:50:29 +02:00
Lillian Violet 4a10865174 Change the layout a bit 2024-05-02 13:49:07 +02:00
Lillian Violet 499d9e8f78 They're two different files 2024-05-02 13:41:41 +02:00
Lillian Violet b088c9f564 Little wrong format there 2024-05-02 13:25:58 +02:00
Lillian Violet 5aa0d47180 Fix the path for the config file 2024-05-02 13:24:16 +02:00
Lillian Violet 2cb0384ac1 Should probably use consistent naming 2024-05-02 13:19:12 +02:00
Lillian Violet 0d89d227a5 Let's not build conduwuit for a zellij plugin 2024-05-02 13:16:25 +02:00
Lillian Violet 70d7b91dc7 Let's try the string method 2024-05-02 13:12:03 +02:00
Lillian Violet 02409ba62a Don't make the file twice 2024-05-02 12:26:09 +02:00
Lillian Violet 1ad3ad4945 Let's try it with a file, else we'll have to make it a string in the config file 2024-05-02 12:24:29 +02:00
Lillian Violet 422321705e Let's try this config then 2024-05-02 12:15:04 +02:00
Lillian Violet 8e0c718886 Forgot the : 2024-05-02 12:10:05 +02:00
Lillian Violet 823371ccaa Let's try this weird format instead 2024-05-02 12:09:15 +02:00
Lillian Violet 8b2312edf2 We need that space there not another nest 2024-05-02 12:05:00 +02:00
Lillian Violet cd8b18c3ea Remove that too 2024-05-02 11:55:56 +02:00
Lillian Violet b2f2eb5f10 Remove it from the overlays 2024-05-02 11:55:25 +02:00
Lillian Violet 84f0261121 Let's try to install zjstatus like conduwuit 2024-05-02 11:54:18 +02:00
Lillian Violet e9dab03e3f add zjstatus to installed packages 2024-05-02 11:21:29 +02:00
Lillian Violet 5887857bab Copy over the hyfetch settings 2024-05-02 11:14:22 +02:00
Lillian Violet 0e554116db Try and fix hyfetch and add zjstatus 2024-05-02 11:11:12 +02:00
Lillian Violet 814440e96a hyfetch doesn't work, let's see if it's settings 2024-05-02 10:07:26 +02:00
Lillian Violet de0fdb756d did this miss some files? 2024-05-02 10:04:24 +02:00
Lillian Violet 6f2f3bda95 replace neofetch with hyfetch 2024-05-02 10:02:32 +02:00
Lillian Violet aa7e9ac29c Also add scls to nix 2024-05-01 23:33:03 +02:00
Lillian Violet f909759031 Add simple completion language server and snippets to helix 2024-05-01 23:27:11 +02:00
Lillian Violet aef17801f6 Merge branch 'main' of git.lillianviolet.dev:Lillian-Violet/NixOS-Config 2024-05-01 23:05:37 +02:00
Lillian Violet f5bc182956 create package for and install simple-completion-language-server for helix 2024-05-01 23:05:24 +02:00
Lillian Violet afdb110f7a update flake lock 2024-05-01 10:21:26 +02:00
Lillian Violet 589da4b4fa add inlay type hints by default in helix 2024-04-30 15:25:34 +02:00
Lillian Violet dbba8a2577 set zellij to not auto start on server 2024-04-30 15:02:26 +02:00
Lillian Violet d27e25c0fc icons mostly show tofu, ugly 2024-04-30 11:35:30 +02:00
Lillian Violet 6fd9e72e49 replace ls with eza 2024-04-30 11:30:44 +02:00
Lillian Violet 5d79895d84 Navigation is weird now so let's try and fix that this way 2024-04-30 10:05:52 +02:00
Lillian Violet d8b57452ee change default fonts to new ones 2024-04-29 23:51:07 +02:00
Lillian Violet 99fe8a3974 replace tree with tre 2024-04-29 23:30:16 +02:00
Lillian Violet 728cc4cf61 add tree to all systems 2024-04-29 23:25:20 +02:00
Lillian Violet f292149445 The other theme was different and better, so let's stick to the kdl file 2024-04-29 23:20:46 +02:00
Lillian Violet a8d928742f Change bat theme to catppuccin 2024-04-29 21:49:37 +02:00
Lillian Violet 2d83db719a Replace cat with bat 2024-04-29 21:39:19 +02:00
Lillian Violet ae594211e0 Re-add the history plugins 2024-04-29 21:28:45 +02:00
Lillian Violet ee4a47dbe7 remove the makeup file 2024-04-29 21:25:04 +02:00
Lillian Violet bb29cd599f enable catppuccin module in zellij 2024-04-29 21:23:04 +02:00
Lillian Violet 0ffffc4bb8 Add starship theming 2024-04-29 20:41:00 +02:00
Lillian Violet 165c24b44d Enable zellij 2024-04-29 20:37:48 +02:00
Lillian Violet 17c818b7d8 Remove theme and add stuff for zoxide 2024-04-29 20:35:40 +02:00
Lillian Violet bec8e11067 SHould probably add shared to EDI huh 2024-04-29 20:32:19 +02:00
Lillian Violet aa1213bb65 Pare down zsh and refactor home manager a bit 2024-04-29 20:30:22 +02:00
Lillian Violet ad63481835 add zellij with basic configs 2024-04-29 20:06:28 +02:00
Lillian Violet 67c8f740a0 comment out pihole stuff 2024-04-29 16:03:51 +02:00
Lillian Violet 2d1c049cf2 Let's try this? 2024-04-29 15:57:41 +02:00
Lillian Violet afadb4eabe Let's see if this makes formatting with nix work and not wipe a file in helix 2024-04-29 15:23:55 +02:00
Lillian Violet ee2bfcf24f Let's try this config for helix and ruff 2024-04-27 16:43:54 +02:00
Lillian Violet 2011519216 Let's try without this -q 2024-04-27 16:40:07 +02:00
Lillian Violet dc86f96b8e That did fix it, let me try and use an older flake lock to see if the error disappears 2024-04-27 16:26:15 +02:00
Lillian Violet 83123499c2 Disable auto format for python in helix 2024-04-27 16:22:44 +02:00
Lillian Violet 43706133df Remove python global lsp 2024-04-27 16:21:39 +02:00
Lillian Violet 19fede337a update flake lock 2024-04-27 16:12:44 +02:00
Lillian Violet 15d7e42fed Wheatley won't compile anymore, let's just remove it for now 2024-04-27 16:12:38 +02:00
Lillian Violet 59a23dbbed Maybe direnv breaks things? 2024-04-27 15:17:47 +02:00
Lillian Violet 284f4199ed Let's copy Lotte's helix config <3 2024-04-27 14:55:46 +02:00
Lillian Violet dfea857bb6 Or this? 2024-04-27 14:45:12 +02:00
Lillian Violet 2d88e84a47 It worked but it's light mode, maybe this works? 2024-04-27 14:44:23 +02:00
Lillian Violet c882121d0c Maybe I need to enable that setting too? 2024-04-27 14:42:23 +02:00
Lillian Violet 67afd17e6e Let's try theming helix 2024-04-27 14:40:15 +02:00
Lillian Violet 245358b965 Mauve has better contrast, I'll stick with that 2024-04-27 14:25:41 +02:00
Lillian Violet 55663d1b5d Change it for shodan too 2024-04-27 14:20:34 +02:00
Lillian Violet f245d3399f This seems to compile, so let's try this 2024-04-27 14:20:06 +02:00
Lillian Violet a6ddcbf60b Without inputs. 2024-04-27 14:03:27 +02:00
Lillian Violet 484feb35d7 Merge branch 'main' of git.lillianviolet.dev:Lillian-Violet/NixOS-Config 2024-04-27 14:02:51 +02:00
Lillian Violet eca05b1384 Let's follow the example 2024-04-27 14:02:47 +02:00
Lillian Violet 2f071a7784 Maybe without the pkgs 2024-04-27 14:00:02 +02:00
Lillian Violet 12565e6ba5 Let's try to theme like this then 2024-04-27 13:57:24 +02:00
Lillian Violet a5247bb60c Try and fix decky loader 2024-04-27 13:52:50 +02:00
Lillian Violet ff66125d95 Automatically install the catppuccin theme to firefox 2024-04-27 00:21:50 +02:00
Lillian Violet 0dbcf7bc60 Let's see if I can do an overlay to change the kde theme? 2024-04-26 23:31:02 +02:00
Lillian Violet 236c3c4aa0 Remove this redundant firefox 2024-04-26 23:11:46 +02:00
Lillian Violet 7c94cd1656 And a few more :3 2024-04-26 23:10:38 +02:00
Lillian Violet 06442942aa Some initial catppucin theming :) 2024-04-26 22:59:34 +02:00
Lillian Violet 37f25a346e update flake lock 2024-04-26 09:45:22 +02:00
Lillian Violet 77073bed6e Ignore venv folder globally 2024-04-25 12:51:54 +02:00
Lillian Violet 4f243d6b30 update flake lock 2024-04-25 11:10:36 +02:00
Lillian Violet b3a4b71bcd Normal density 2024-04-24 14:11:18 +02:00
Lillian Violet 6ead075c5f Ah it was something aada did 2024-04-24 14:10:06 +02:00
Lillian Violet db75412fd9 Let's try undoing this and setting the UI 2024-04-24 14:08:15 +02:00
Lillian Violet 9581fc5052 Try and change density 2024-04-24 14:06:52 +02:00
Lillian Violet 9c6007bea8 It said this is incompatible with zsh, need to force command-not-found to false 2024-04-23 11:44:47 +02:00
Lillian Violet 95d129f1a3 Enable comma in desktop 2024-04-23 11:38:14 +02:00
Lillian Violet 0c15e86846 Add nix index database 2024-04-23 11:32:18 +02:00
Lillian Violet fd3e121d2a Some more firefox editing, removing some google, bing, ebay and amazon stuff 2024-04-22 21:24:30 +02:00
Lillian Violet 4436d8df59 Have shodan import firefox settings 2024-04-22 14:50:33 +02:00
Lillian Violet 8460d2ee94 update flake lock 2024-04-22 14:38:22 +02:00
Lillian Violet 12204f9b50 Update hash 2 2024-04-22 00:26:49 +02:00
Lillian Violet 8a001b18e9 Update hash 1 2024-04-22 00:25:34 +02:00
Lillian Violet 4287233b49 Update phanpy, hash commits after this 2024-04-22 00:23:03 +02:00
Lillian Violet 01c9323f4d Phanpy is being weird with default instance 2024-04-22 00:21:54 +02:00
Lillian Violet 280e2fc214 Search engine stuff doesn't seem to work with policies, let's see what config can do 2024-04-21 23:03:15 +02:00
Lillian Violet e0f5a6fb26 Ah sidebery has one r 2024-04-21 22:52:20 +02:00
Lillian Violet d899abddc7 Install sideberry 2024-04-21 22:48:25 +02:00
Lillian Violet 056b9799ad This might never work but last shot 2024-04-21 22:45:23 +02:00
Lillian Violet 61fc96fbd1 4 more 2024-04-21 22:44:29 +02:00
Lillian Violet 25030da53a 4 more pixels 2024-04-21 22:43:39 +02:00
Lillian Violet 7f84e7c116 Tiny bit more 2024-04-21 22:42:50 +02:00
Lillian Violet b5f45d6632 Tad more 2024-04-21 22:42:01 +02:00
Lillian Violet 1840be2a23 One is perfect, now this one 2024-04-21 22:41:10 +02:00
Lillian Violet f94614d47f And again 2024-04-21 22:40:03 +02:00
Lillian Violet b107787c63 Not sure which way it needs to go 2024-04-21 22:39:05 +02:00
Lillian Violet 62eda3b33a Try again 2024-04-21 22:38:04 +02:00
Lillian Violet aa5b0d5a0d Pretty close now 2024-04-21 22:36:58 +02:00
Lillian Violet 2fffe8e6a4 Better but not perfect yet 2024-04-21 22:34:55 +02:00
Lillian Violet e8651810d0 Let's try and change some values, this doesn't seem to work 2024-04-21 22:33:57 +02:00
Lillian Violet 43d652c129 Use the userchrome to true 2024-04-21 22:30:24 +02:00
Lillian Violet fc4c9c81ba Small b not big B bookmarks 2024-04-21 22:26:34 +02:00
Lillian Violet f8fd2cf506 Should probably put the profile settings in the profile 2024-04-21 22:25:44 +02:00
Lillian Violet 329b215bbe Add firefox config to home manager 2024-04-21 22:23:13 +02:00
Lillian Violet 0566702124 Let's remove this add for now 2024-04-21 18:15:10 +02:00
Lillian Violet 4ec642441c Let's try firefox instead, I'll delete all previous files and see how this looks 2024-04-21 18:01:28 +02:00
Lillian Violet 056954216f Let's try yeeting firefox and only keeping librewolf with all kinds of customisations 2024-04-21 17:59:03 +02:00
Lillian Violet 97edb73ac3 Change browser to librewolf 2024-04-20 20:11:43 +02:00
Lillian Violet 5b5986450e update flake lock 2024-04-20 18:47:32 +02:00
Lillian Violet 01de7075be fix ebay name 2024-04-19 17:43:16 +02:00
Lillian Violet 6e87a8b844 Add managed global firefox settings 2024-04-19 16:57:39 +02:00
Lillian Violet f28ac969b7 update flake lock 2024-04-19 09:58:14 +02:00
Lillian Violet c6f9436b2f Add comma 2024-04-18 15:11:49 +02:00
Lillian Violet 7d2ab4469d That line seems nonsensical 2024-04-18 15:10:51 +02:00
Lillian Violet 2713e8cb3b Should not be in HM 2024-04-18 15:07:28 +02:00
Lillian Violet f3005756ec Merge branch 'main' of git.lillianviolet.dev:Lillian-Violet/NixOS-Config 2024-04-18 15:06:38 +02:00
Lillian Violet 59d69e0aca Enable comma 2024-04-18 15:06:32 +02:00
Lillian Violet 26f98a6430 update flake lock 2024-04-17 20:58:49 +02:00
Lillian Violet 1513f5c42f Remove cinny desktop (the pwa is better) 2024-04-17 14:33:43 +02:00
Lillian Violet fc4c062650 update flake lock 2024-04-17 13:39:57 +02:00
Lillian Violet 9e044cbc00 Clean up forgejo configuration comments 2024-04-16 13:54:42 +02:00
Lillian Violet 49ee44b861 add git credential manager 2024-04-16 13:46:51 +02:00
Lillian Violet 734d60b0bd Make forgejo sanitizers the smae 2024-04-16 13:46:42 +02:00
Lillian Violet fddc25a0b1 Allow URI images 2024-04-16 10:45:59 +02:00
Lillian Violet 79d4c6e768 Make it one part instead of multiple levels 2024-04-16 10:39:58 +02:00
Lillian Violet b55351a6f2 Let's try this forgejo settings file 2024-04-16 10:37:19 +02:00
Lillian Violet 38d203c1d4 update flake lock 2024-04-15 23:28:06 +02:00
Lillian Violet 51e4c8d19e Or maybe this way instead? 2024-04-15 20:10:17 +02:00
Lillian Violet d69eb68ae3 Maybe add it to the correct setting location 2024-04-15 20:07:57 +02:00
Lillian Violet e43a52acad Let's see if this rendering jupyter works 2024-04-15 20:06:32 +02:00
Lillian Violet 5089a4fa9b Let's try this for sliding sync support 2024-04-15 16:56:18 +02:00
Lillian Violet 5829cb9216 update flake lock 2024-04-15 14:02:56 +02:00
Lillian Violet 2e3d85126d update flake lock 2024-04-15 12:18:28 +02:00
Lillian Violet 21e6937a92 update flake lock 2024-04-14 14:18:20 +02:00
Lillian Violet adab08168a Actually correct hash 2024-04-12 19:26:50 +02:00
Lillian Violet ea643b690d Gotta use the right format 2024-04-12 19:26:03 +02:00
Lillian Violet c457b0ec29 Wrong hash I guess 2024-04-12 19:25:29 +02:00
Lillian Violet 1481313b99 Update hash too 2024-04-12 19:24:22 +02:00
Lillian Violet 2d459ad09a Update servo 2024-04-12 19:22:11 +02:00
Lillian Violet 2ad060e323 Make stateversion 24.05 2024-04-12 17:10:46 +02:00
Lillian Violet 3d33f4710f Some sddm options changed name, refactor 2024-04-12 16:56:15 +02:00
Lillian Violet de419af271 update flake lock 2024-04-12 16:49:21 +02:00
Lillian Violet c1ce91bcd1 Delete teams 2024-04-12 16:06:45 +02:00
Lillian Violet f35cd13dff Let's try the video loopback things again 2024-04-12 10:25:41 +02:00
Lillian Violet fa4a633142 update flake lock 2024-04-11 10:39:28 +02:00
Lillian Violet 3cbedd4ba3 update flake lock 2024-04-10 19:26:06 +02:00
Lillian Violet d5a0dc5fea update flake lock 2024-04-10 09:56:29 +02:00
Lillian Violet 797a05a51c Try and build phanpy with path commands in installphase 2024-04-08 16:51:07 +02:00
Lillian Violet 2e6d9aec60 Missed one package 2024-04-07 23:00:56 +02:00
Lillian Violet d6a90a0853 refactor to remove some redundant stuff 2024-04-07 22:59:21 +02:00
Lillian Violet d11c042bc8 Extest is in nixpkgs now, let's use that option instead 2024-04-07 22:52:11 +02:00
Lillian Violet 6d32697a65 Let's also start wayland with jovian 2024-04-06 23:25:51 +02:00
Lillian Violet ada8538b9c Re-enable wayland on shodan 2024-04-06 23:16:30 +02:00
Lillian Violet 3fb363e0b5 Auto-mount conflicts with the update now so let's remove it 2024-04-06 21:00:46 +02:00
Lillian Violet c4401797c0 Fix the nginx pointer for phanpy 2024-04-06 16:14:34 +02:00
Lillian Violet a302ba2fc4 Maybe I need to copy more things? 2024-04-06 16:10:08 +02:00
Lillian Violet 9e566f5d50 Let's try adding install phase steps to phanpy 2024-04-06 16:03:44 +02:00
Lillian Violet 5824e00999 update flake lock 2024-04-06 14:01:28 +02:00
Lillian Violet 3036463113 Set the website variables correctly for phanpy 2024-04-05 23:51:19 +02:00
Lillian Violet cfbe33f6e6 enable phanpy webserver 2024-04-05 23:42:35 +02:00
Lillian Violet 0396b58228 And hash #2 2024-04-05 23:29:27 +02:00
Lillian Violet 61344adb1e Fix hash #1 2024-04-05 23:28:24 +02:00
Lillian Violet 34ff8db235 no v like you you fucking virgin ass 2024-04-05 23:27:10 +02:00
Lillian Violet 3076f17e8a Add phanpy to queen 2024-04-05 23:22:03 +02:00
Lillian Violet a49e8c5332 Merge branch 'main' of git.lillianviolet.dev:Lillian-Violet/NixOS-Config 2024-04-05 23:05:47 +02:00
Lillian Violet c003bac9b6 Add phanpy 2024-04-05 23:04:59 +02:00
Lillian Violet 157247ecf1 And make the group too 2024-04-04 19:07:07 +02:00
Lillian Violet c1dd0cd070 Add a group 2024-04-04 19:06:26 +02:00
Lillian Violet 361ecd0052 Let's make the user then 2024-04-04 19:05:50 +02:00
Lillian Violet ab517e34e5 Let's try defining this first then 2024-04-04 19:04:39 +02:00
Lillian Violet 9756668b8c Let's try this user now, it should now exist 2024-04-04 19:02:40 +02:00
Lillian Violet aa057a0bd7 Let's test it with a bad insecure secret FIXME 2024-04-04 18:58:36 +02:00
Lillian Violet 34dcbeb862 Maybe it needs to set up the user first? 2024-04-04 18:57:13 +02:00
Lillian Violet 78b80a4bbc That should be the user's name no 2024-04-04 18:54:53 +02:00
Lillian Violet 4e588c545b Need to add mariadb 2024-04-04 18:47:07 +02:00
Lillian Violet 2d0bc89b69 Add firefox sync to server 2024-04-04 18:44:53 +02:00
Lillian Violet 3fcdc11ed6 update flake lock 2024-04-03 19:59:31 +02:00
Lillian Violet 814091bfa7 Enable tcp coturn route 2024-04-01 21:54:15 +02:00
Lillian Violet 41304da00d Name doesn't exist, remove that 2024-04-01 21:44:31 +02:00
Lillian Violet 5446fb64fb Small update to turn server 2024-04-01 21:42:59 +02:00
Lillian Violet 9429c34935 Add ipv6 to coturn 2024-04-01 21:14:33 +02:00
Lillian Violet 260f902160 Remove todo, we done that 2024-04-01 18:34:48 +02:00
Lillian Violet 99468bfad3 Let's try changing the defaultHomeserver setting 2024-04-01 18:30:19 +02:00
Lillian Violet f57c4f03b4 Maybe I have to write the file with nix? 2024-04-01 18:24:56 +02:00
Lillian Violet 406ef2fd37 And that part too 2024-04-01 18:15:08 +02:00
Lillian Violet 3f386b8450 Change cinny config to only use my server! 2024-04-01 18:14:57 +02:00
Lillian Violet 09639dcc45 Add some informational tools to desktops 2024-04-01 14:59:04 +02:00
Lillian Violet ae6f52e427 Not firefox-pwa but firefoxpwa 2024-04-01 00:11:01 +02:00
Lillian Violet 8942d9f062 Maybe this will make firefox-pwa work, in home manager now, with an override 2024-04-01 00:09:56 +02:00
Lillian Violet 9de3525b14 Add firefox-pwa to desktops 2024-03-31 23:52:03 +02:00
Lillian Violet 8ac96dcb1a Added todo comment to cinny 2024-03-31 22:28:45 +02:00
Lillian Violet 0402d804f3 Tried to change the format of the image pull, this might work 2024-03-31 22:19:45 +02:00
Lillian Violet a200642072 Enable cinny web server via docker 2024-03-31 22:06:47 +02:00
Lillian Violet 0fe6c445a1 Plasmax11 for desktop for now, look at https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/issues/12 for updates on cursor fix in wayland 2024-03-31 21:03:16 +02:00
Lillian Violet ae1e57b209 Force disable sddm wayland too 2024-03-31 20:15:54 +02:00
Lillian Violet 208ebdddd1 Remove a comment from queen, enable x11 on shodan for steam input workaround... 2024-03-31 20:15:13 +02:00
Lillian Violet 540cdc9b91 That isn't what I thought it was 2024-03-31 20:11:22 +02:00
Lillian Violet be53c14edc Use steamcmd instead of steam 2024-03-31 19:52:23 +02:00
Lillian Violet 168d841704 update flake lock 2024-03-31 17:59:43 +02:00
Lillian Violet bac26bc9c3 update flake lock 2024-03-29 21:53:54 +01:00
Lillian Violet 126f5dbe2f Add prefixLength to ipv4 2024-03-28 14:00:06 +01:00
Lillian Violet 32e4cbd4e0 Re-enable ipv4 2024-03-28 13:54:25 +01:00
Lillian Violet d4037d5739 addresses might be important there 2024-03-28 13:49:44 +01:00
Lillian Violet 1199eeb960 Let's try this ipv6 again 2024-03-28 13:47:41 +01:00
Lillian Violet e70a27ec79 Use telegraf as the steam ID 2024-03-28 11:53:28 +01:00
Lillian Violet 2d3538be4f Maybe this then? 2024-03-28 11:52:19 +01:00
Lillian Violet 09923e93ff Last go 2024-03-28 11:47:55 +01:00
Lillian Violet 59d33d4274 Maybe websockets? 2024-03-28 11:45:20 +01:00
Lillian Violet 1ef1e10abe Maybe this? 2024-03-28 11:42:00 +01:00
Lillian Violet 4e05dfccf4 link telegraf to grafana 2024-03-28 11:37:35 +01:00
Lillian Violet abba99a2b3 no v2 2024-03-28 11:21:01 +01:00
Lillian Violet 37d5223f32 Set up influxdb as output 2024-03-28 11:19:01 +01:00
Lillian Violet 740e79cc9f Add telegraf logging to queen (hardware logging) 2024-03-28 11:12:02 +01:00
Lillian Violet 7611eb763f Never mind that's only for darwin 2024-03-28 10:01:02 +01:00
Lillian Violet 8d022bb9de Replace teams-for-linux with teams 2024-03-28 10:00:15 +01:00
Lillian Violet 9848167278 Desktop version though please 2024-03-27 18:24:49 +01:00
Lillian Violet 53c1656d6b Replace nheko with cinny 2024-03-27 18:22:58 +01:00
Lillian Violet a3a77aae8c Merge pull request 'dashboard/alerts' (#2) from dashboard/alerts into main
Reviewed-on: #2
2024-03-27 17:34:54 +01:00
Lillian Violet 6c0896c5a1 update flake lock 2024-03-27 17:32:52 +01:00
Lillian Violet f73d7b51e7 Change update to hopefully use the new flake with the check 2024-03-27 17:32:38 +01:00
Lillian Violet 70a717311a Update plasma manager 2024-03-27 17:27:53 +01:00
Lillian Violet 27b2ea9120 Merge pull request 'dashboard/alerts' (#1) from dashboard/alerts into main
Reviewed-on: #1
2024-03-26 14:57:48 +01:00
Lillian Violet 3c830bc6c4 Had to do a toString, thanks for the great error message nixos, fixed some other typos 2024-03-26 14:52:15 +01:00
Lillian Violet 9dacc2172e Let's change those in nginx too 2024-03-26 14:40:05 +01:00
Lillian Violet 2c33f7d069 Disable loki in grafana, settings.server not just server 2024-03-26 14:37:02 +01:00
Lillian Violet ea9aa2eddd That's where that is supposed to go for grafana 2024-03-26 14:35:54 +01:00
Lillian Violet fe1dbd4f95 Enable prometheus, add loki config example, we don't have a global log system so it's not useful though 2024-03-26 14:34:28 +01:00
Lillian Violet b5be1009cf added grafana to queen 2024-03-26 14:13:35 +01:00
75 changed files with 3390 additions and 678 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake "git+https://git.lillianviolet.dev/Lillian-Violet/dev-templates.git?dir=nix"

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/result
.envrc

View file

@ -57,7 +57,7 @@
size = "100%FREE";
content = {
type = "filesystem";
format = "bcachefs";
format = "ext4";
mountpoint = "/";
mountOptions = [
"defaults"

45
disko/queen/default.nix Normal file
View file

@ -0,0 +1,45 @@
{
disko.devices = {
disk = {
nvme0n1 = {
type = "disk";
device = "/dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:0";
content = {
type = "gpt";
partitions = {
ESP = {
size = "512M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [
"defaults"
];
};
};
swap = {
size = "16G";
content = {
type = "swap";
resumeDevice = true; # resume from hiberation from this device
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
mountOptions = [
"defaults"
];
};
};
};
};
};
};
};
}

1202
flake.lock

File diff suppressed because it is too large Load diff

154
flake.nix
View file

@ -5,24 +5,44 @@
# Nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-edge.url = "nixpkgs/master"; # Only used for bleeding edge packages
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
# Disko for declaratively setting disk formatting
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
bcachefs-tools = {
url = "github:koverstreet/bcachefs-tools";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
flake-parts = {
url = "github:hercules-ci/flake-parts"; # Flake parts for easy flake management
inputs.nixpkgs-lib.follows = "nixpkgs";
};
# Nixos generators for creating ISOs
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
# catpuccin theme
catppuccin.url = "github:catppuccin/nix";
# Conduit fork without all the fuss and drama
conduit = {
conduwuit = {
url = "github:girlbossceo/conduwuit";
inputs.nixpkgs.follows = "nixpkgs";
};
# Nix index database files
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
# Secret management with sops
sops-nix.url = "github:Mic92/sops-nix";
@ -52,52 +72,50 @@
home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
zjstatus.url = "github:dj95/zjstatus";
# Fix for steam cursor not being visible under wayland
extest.url = "github:chaorace/extest-nix";
# Add any other flake you might need
# hardware.url = "github:nixos/nixos-hardware";
# Required for making sure that Pi-hole continues running if the executing user has no active session.
linger = {
url = "github:mindsbackyard/linger-flake";
inputs.flake-utils.follows = "flake-utils";
};
pihole = {
url = "github:mindsbackyard/pihole-flake";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.linger.follows = "linger";
};
};
outputs = {
self,
nixpkgs,
flake-utils,
nixpkgs-edge,
nixos-generators,
catppuccin,
disko,
home-manager,
sops-nix,
simple-nixos-mailserver,
plasma-manager,
linger,
pihole,
zjstatus,
lanzaboote,
jovian,
nixos-hardware,
conduit,
nix-index-database,
conduwuit,
...
} @ inputs: let
inherit (self) outputs;
inherit (inputs) nixpkgs-edge;
# Supported systems for your flake packages, shell, etc.
systems = [
"armv7l-linux"
"x86_64-linux"
];
# This is a function that generates an attribute by calling a function you
# pass to it, with each system as an argument
forAllSystems = nixpkgs.lib.genAttrs systems;
pkgs-edge = import nixpkgs-edge {
system = "x86_64-linux";
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
};
};
in {
# Your custom packages
# Accessible through 'nix build', 'nix shell', etc
@ -127,6 +145,7 @@
system = "x86_64-linux";
specialArgs = {inherit inputs outputs;};
modules = [
{_module.args = {inherit pkgs-edge;};}
nixos-hardware.nixosModules.dell-xps-13-7390
# > Our main nixos configuration file <
./nixos/hosts/EDI/configuration.nix
@ -134,8 +153,13 @@
lanzaboote.nixosModules.lanzaboote
disko.nixosModules.disko
home-manager.nixosModules.home-manager
nix-index-database.nixosModules.nix-index
catppuccin.nixosModules.catppuccin
{
home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager];
home-manager.sharedModules = [
inputs.catppuccin.homeManagerModules.catppuccin
inputs.plasma-manager.homeManagerModules.plasma-manager
];
}
];
};
@ -144,14 +168,20 @@
system = "x86_64-linux";
specialArgs = {inherit inputs outputs;};
modules = [
{_module.args = {inherit pkgs-edge;};}
# > Our main nixos configuration file <
./nixos/hosts/GLaDOS/configuration.nix
sops-nix.nixosModules.sops
lanzaboote.nixosModules.lanzaboote
#lanzaboote.nixosModules.lanzaboote
disko.nixosModules.disko
home-manager.nixosModules.home-manager
nix-index-database.nixosModules.nix-index
catppuccin.nixosModules.catppuccin
{
home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager];
home-manager.sharedModules = [
inputs.catppuccin.homeManagerModules.catppuccin
inputs.plasma-manager.homeManagerModules.plasma-manager
];
}
];
};
@ -160,11 +190,18 @@
system = "x86_64-linux";
specialArgs = {inherit inputs outputs;};
modules = [
{_module.args = {inherit pkgs-edge;};}
# > Our main nixos configuration file <
./nixos/hosts/queen/configuration.nix
sops-nix.nixosModules.sops
disko.nixosModules.disko
simple-nixos-mailserver.nixosModule
catppuccin.nixosModules.catppuccin
{
home-manager.sharedModules = [
inputs.catppuccin.homeManagerModules.catppuccin
];
}
];
};
@ -172,6 +209,7 @@
system = "x86_64-linux";
specialArgs = {inherit inputs outputs;};
modules = [
{_module.args = {inherit pkgs-edge;};}
# > Our main nixos configuration file <
./nixos/hosts/shodan/configuration.nix
sops-nix.nixosModules.sops
@ -179,40 +217,56 @@
disko.nixosModules.disko
jovian.nixosModules.jovian
home-manager.nixosModules.home-manager
catppuccin.nixosModules.catppuccin
{
home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager];
home-manager.sharedModules = [
inputs.catppuccin.homeManagerModules.catppuccin
inputs.plasma-manager.homeManagerModules.plasma-manager
];
}
];
};
ISO = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs outputs;};
modules = [
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma6.nix"
"${nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
./nixos/hosts/iso/configuration.nix
sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager
{
home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager];
}
];
};
# ISO = nixpkgs.lib.nixosSystem {
# system = "x86_64-linux";
# specialArgs = {inherit inputs outputs;};
# modules = [
# {_module.args = {inherit pkgs-edge;};}
# "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma6.nix"
# "${nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
# ./nixos/hosts/iso/configuration.nix
# sops-nix.nixosModules.sops
# home-manager.nixosModules.home-manager
# nix-index-database.nixosModules.nix-index
# catppuccin.nixosModules.catppuccin
# {
# home-manager.sharedModules = [
# inputs.plasma-manager.homeManagerModules.plasma-manager
# inputs.catppuccin.homeManagerModules.catppuccin
# ];
# }
# ];
# };
wheatley = nixpkgs.lib.nixosSystem {
system = "armv7l-linux";
specialArgs = {inherit inputs outputs;};
modules = [
# make the module declared by the linger flake available to our config
#linger.nixosModules."armv7l-linux".default
#pihole.nixosModules."armv7l-linux".default
disko.nixosModules.disko
# > Our main nixos configuration file <
./nixos/hosts/wheatley/configuration.nix
sops-nix.nixosModules.sops
];
};
# iso_server = nixpkgs.lib.nixosSystem {
# system = "x86_64-linux";
# specialArgs = {inherit inputs outputs;};
# modules = [
# {_module.args = {inherit pkgs-edge;};}
# "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
# "${nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
# ./nixos/hosts/iso_server/configuration.nix
# sops-nix.nixosModules.sops
# home-manager.nixosModules.home-manager
# nix-index-database.nixosModules.nix-index
# catppuccin.nixosModules.catppuccin
# {
# home-manager.sharedModules = [
# inputs.catppuccin.homeManagerModules.catppuccin
# ];
# }
# ];
# };
};
};
}

View file

@ -16,8 +16,10 @@
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../package-configs/zsh.nix
./plasma-desktop
./package-configs/plasma-desktop.nix
./package-configs/firefox.nix
./package-configs/konsole
./package-configs/foot
];
nixpkgs = {
# You can add overlays here
@ -31,6 +33,32 @@
# patches = [ ./change-hello-to-hi.patch ];
# });
# })
(final: prev: {
catppuccin-vsc = final.catppuccin-vsc.overrideAttrs (oldAttrs: {
accent = "mauve";
boldKeywords = true;
italicComments = true;
italicKeywords = true;
extraBordersEnabled = false;
workbenchMode = "default";
bracketMode = "rainbow";
colorOverrides = {};
customUIColors = {};
});
})
(final: prev: {
catppuccin-vsc = final.catppuccin-vsc.overrideAttrs (oldAttrs: {
accent = "mauve";
boldKeywords = true;
italicComments = true;
italicKeywords = true;
extraBordersEnabled = false;
workbenchMode = "default";
bracketMode = "rainbow";
colorOverrides = {};
customUIColors = {};
});
})
];
# Configure your nixpkgs instance
config = {
@ -52,11 +80,12 @@
# Coding:
direnv
git
git-credential-manager
git-credential-manager
ruff
kate
# Chat applications:
nheko
signal-desktop
webcord-vencord
@ -70,7 +99,6 @@
# Office applications:
onlyoffice-bin
teams-for-linux
gimp
thunderbird
@ -81,15 +109,29 @@
nextcloud-client
nitrokey-app
protonvpn-gui
sops
virtualbox
watchmate
#watchmate
qbittorrent
zsh
# Theming:
catppuccin-cursors
(catppuccin-kde.override {
flavour = ["macchiato"];
accents = ["mauve"];
})
catppuccin-sddm-corners
# Theming:
catppuccin-cursors
(catppuccin-kde.override {
flavour = ["macchiato"];
accents = ["mauve"];
})
catppuccin-sddm-corners
# Web browsing:
firefox
librewolf
firefoxpwa
firefoxpwa
ungoogled-chromium
];
@ -97,10 +139,11 @@
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
#arrterian.nix-env-selector
#ban.spellright
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
charliermarsh.ruff
dracula-theme.theme-dracula
eamodio.gitlens
github.vscode-pull-request-github
jnoortheen.nix-ide
@ -109,12 +152,7 @@
ms-toolsai.jupyter
ms-pyright.pyright
ms-python.black-formatter
#ms-python.python
ms-python.vscode-pylance
#ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
oderwat.indent-rainbow
#redhat.java
rust-lang.rust-analyzer
yzhang.markdown-all-in-one
];
@ -144,6 +182,8 @@
"*.direnv"
"*.vscode"
".envrc"
"venv"
"venv"
];
};

View file

@ -0,0 +1,395 @@
{
config,
pkgs,
...
}: {
programs.firefox = {
enable = true;
nativeMessagingHosts = [pkgs.firefoxpwa];
package = pkgs.firefox;
profiles.lillian = {
isDefault = true;
settings = {
"browser.aboutConfig.showWarning" = false;
"browser.bookmarks.addedImportButton" = true;
"browser.bookmarks.restore_default_bookmarks" = false;
"browser.bookmarks.showMobileBookmarks" = true;
"browser.ctrlTab.sortByRecentlyUsed" = true;
"browser.discovery.enabled" = false;
"browser.download.panel.shown" = true;
"browser.firefox-view.feature-tour" = "{\"message\":\"FIREFOX_VIEW_FEATURE_TOUR\",\"screen\":\"\",\"complete\":true}";
"browser.newtabpage.activity-stream.section.highlights.includePocket" = false;
"browser.pageActions.persistedActions" = ''{"ids":["bookmark","_3c078156-979c-498b-8990-85f7987dd929_","firefoxpwa_filips_si"],"idsInUrlbar":["_3c078156-979c-498b-8990-85f7987dd929_","firefoxpwa_filips_si","bookmark"],"idsInUrlbarPreProton":[],"version":1}'';
"browser.search.region" = "NL";
"browser.uiCustomization.state" = ''{"placements":{"widget-overflow-fixed-list":[],"unified-extensions-area":["jid1-mnnxcxisbpnsxq_jetpack-browser-action","firefoxpwa_filips_si-browser-action","ubo-scope_raymondhill_net-browser-action","treestyletab_piro_sakura_ne_jp-browser-action","wayback_machine_mozilla_org-browser-action","plasma-browser-integration_kde_org-browser-action","kde-connect_0xc0dedbad_com-browser-action","_f209234a-76f0-4735-9920-eb62507a54cd_-browser-action","bibitnow018_aqpl_mc2_chalmers_se-browser-action","_09b14d46-21c3-4a7d-b244-e756f497935b_-browser-action","_7fc8ef53-24ec-4205-87a4-1e745953bb0d_-browser-action","_74145f27-f039-47ce-a470-a662b129930a_-browser-action","_800215d6-eff0-4a62-9268-09857c048030_-browser-action","_b3e677f4-1150-4387-8629-da738260a48e_-browser-action","_d133e097-46d9-4ecc-9903-fa6a722a6e0e_-browser-action","myallychou_gmail_com-browser-action","_b7f9d2cd-d772-4302-8c3f-eb941af36f76_-browser-action","_cca112bb-1ca6-4593-a2f1-38d808a19dda_-browser-action","gdpr_cavi_au_dk-browser-action","_54da8dcf-a015-4c80-bbb4-db7f226ac7bd_-browser-action","jid1-om7ejgwa1u8akg_jetpack-browser-action","_7c1aa46e-b74f-4325-95d2-84c07d19cdce_-browser-action","_3c078156-979c-498b-8990-85f7987dd929_-browser-action","7esoorv3_alefvanoon_anonaddy_me-browser-action","_15b1b2af-e84a-4c70-ac7c-5608b0eeed5a_-browser-action","_b9db16a4-6edc-47ec-a1f4-b86292ed211d_-browser-action","dontfuckwithpaste_raim_ist-browser-action"],"nav-bar":["back-button","forward-button","stop-reload-button","urlbar-container","customizableui-special-spring2","downloads-button","_testpilot-containers-browser-action","addon_darkreader_org-browser-action","umatrix_raymondhill_net-browser-action","ublock0_raymondhill_net-browser-action","_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action","_3579f63b-d8ee-424f-bbb6-6d0ce3285e6a_-browser-action","woop-noopscoopsnsxq_jetpack-browser-action","jid1-bofifl9vbdl2zq_jetpack-browser-action","cookieautodelete_kennydo_com-browser-action","addon_simplelogin-browser-action","jid1-aqqsmbyb0a8adg_jetpack-browser-action","unified-extensions-button","reset-pbm-toolbar-button"],"toolbar-menubar":["menubar-items"],"TabsToolbar":["tabbrowser-tabs","new-tab-button","alltabs-button","_c607c8df-14a7-4f28-894f-29e8722976af_-browser-action"],"PersonalToolbar":["import-button","personal-bookmarks"]},"seen":["save-to-pocket-button","developer-button","treestyletab_piro_sakura_ne_jp-browser-action","addon_darkreader_org-browser-action","_testpilot-containers-browser-action","wayback_machine_mozilla_org-browser-action","plasma-browser-integration_kde_org-browser-action","_c607c8df-14a7-4f28-894f-29e8722976af_-browser-action","kde-connect_0xc0dedbad_com-browser-action","_f209234a-76f0-4735-9920-eb62507a54cd_-browser-action","ublock0_raymondhill_net-browser-action","cookieautodelete_kennydo_com-browser-action","bibitnow018_aqpl_mc2_chalmers_se-browser-action","_09b14d46-21c3-4a7d-b244-e756f497935b_-browser-action","_7fc8ef53-24ec-4205-87a4-1e745953bb0d_-browser-action","woop-noopscoopsnsxq_jetpack-browser-action","_74145f27-f039-47ce-a470-a662b129930a_-browser-action","_800215d6-eff0-4a62-9268-09857c048030_-browser-action","_3579f63b-d8ee-424f-bbb6-6d0ce3285e6a_-browser-action","_b3e677f4-1150-4387-8629-da738260a48e_-browser-action","_d133e097-46d9-4ecc-9903-fa6a722a6e0e_-browser-action","jid1-bofifl9vbdl2zq_jetpack-browser-action","_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action","myallychou_gmail_com-browser-action","_b7f9d2cd-d772-4302-8c3f-eb941af36f76_-browser-action","umatrix_raymondhill_net-browser-action","_cca112bb-1ca6-4593-a2f1-38d808a19dda_-browser-action","gdpr_cavi_au_dk-browser-action","_54da8dcf-a015-4c80-bbb4-db7f226ac7bd_-browser-action","ubo-scope_raymondhill_net-browser-action","jid1-om7ejgwa1u8akg_jetpack-browser-action","_7c1aa46e-b74f-4325-95d2-84c07d19cdce_-browser-action","_3c078156-979c-498b-8990-85f7987dd929_-browser-action","addon_simplelogin-browser-action","7esoorv3_alefvanoon_anonaddy_me-browser-action","jid1-aqqsmbyb0a8adg_jetpack-browser-action","_15b1b2af-e84a-4c70-ac7c-5608b0eeed5a_-browser-action","firefoxpwa_filips_si-browser-action","_b9db16a4-6edc-47ec-a1f4-b86292ed211d_-browser-action","dontfuckwithpaste_raim_ist-browser-action","jid1-mnnxcxisbpnsxq_jetpack-browser-action"],"dirtyAreaCache":["nav-bar","PersonalToolbar","toolbar-menubar","TabsToolbar","unified-extensions-area","widget-overflow-fixed-list"],"currentVersion":20,"newElementCount":14}'';
"browser.urlbar.placeholderName" = "DuckDuckGo";
"browser.urlbar.placeholderName.private" = "DuckDuckGo";
"extensions.webextensions.uuid" = ''{"formautofill@mozilla.org":"ea6a95e0-ef85-453b-afdf-44e57e4ca32c","pictureinpicture@mozilla.org":"41fcca40-5f8a-4182-ace9-e1ff2e6fc210","screenshots@mozilla.org":"8c2c3f97-17a1-4240-b640-c9707e3b917e","webcompat-reporter@mozilla.org":"d2c1a84b-03ff-47c6-92be-a623026b79d9","webcompat@mozilla.org":"bb5b827a-1ad3-40d0-8c16-c7d6db11a62b","default-theme@mozilla.org":"83700f73-6c25-4599-9393-3e071be81fe6","wayback_machine@mozilla.org":"ef76899f-67d6-4ffb-973f-0c198a8369e4","uBlock0@raymondhill.net":"24e7b891-a28c-4555-b072-0ee184115cb4","DontFuckWithPaste@raim.ist":"6dbb9616-e8c9-40ff-a729-01dcd6fe09b4","uBO-Scope@raymondhill.net":"6afd83ed-7f93-41ad-960c-28c5ec5ac9bd","gdpr@cavi.au.dk":"4577a4f9-84e4-400c-a995-9b13640f3620","addon@simplelogin":"e492ff49-9c0e-4c42-ab28-465563e953b9","addons-search-detection@mozilla.com":"63a9d1fb-3c16-4b40-bd69-de186c138c5e","plasma-browser-integration@kde.org":"e655920d-846c-4a72-918e-86ebb25362a6","firefoxpwa@filips.si":"3ce26b62-9349-47cc-beaa-584b0c737979","addon@darkreader.org":"510c480d-7737-47ad-91a0-5b8e8f3745c3","shinigamieyes@shinigamieyes":"8f3b1099-f3b1-4468-915d-60fbfbfda8ce","7esoorv3@alefvanoon.anonaddy.me":"947c1016-2e39-48cd-ae1a-c301a6531d2a","CookieAutoDelete@kennydo.com":"28ccdbbd-d179-472a-8658-ae97d228f958","jid1-MnnxcxisBPnSXQ@jetpack":"f361e1b5-74bf-4073-ae95-245429a12cad","jid1-AQqSMBYb0a8ADg@jetpack":"8f3e6fd5-f009-4d2e-b501-0ec6b18dcf9e","wikipedia@search.mozilla.org":"c615bbc5-9fa2-48ae-a78d-7e5546c1a94e","ddg@search.mozilla.org":"4f7e3183-d053-40f6-b7b2-8f405f033281","{446900e4-71c2-419f-a6a7-df9c091e268b}":"bccbf892-7089-4d89-b886-a667e6fd9a03","{3c078156-979c-498b-8990-85f7987dd929}":"f3f046fa-c1b9-415d-b79b-236109b3926b"}'';
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.searchEngines" = "DuckDuckGo";
};
userChrome = ''
/*
Title: Drannex42's FirefoxSidebar / Vertical Tabs
Description: Vertical tab design for Firefox with dynamic indentation::
Sideberry and TreeStyleTabs (Legacy) themes available!
Repository URL: https://github.com/drannex42/FirefoxSidebar
Version: 12022.04.17
*/
:root {
--sidebar-width: 50px;
--toolbar-height: 10px;
--menubar-height: 100px;
--sidebar-padding: calc(var(--sidebar-width) + 5px);
--toolbar-start-end-padding: 5px !important;
/* Custom Sidebar/Header Backround ::
This sets the background for the other sidebar options (bookmarks, history, in case it is transparent from a theme that is not set up properly
*/
/* --custom-sidebar-bg: Field; /* Default: Field (Disabled) */
/* --custom-sidebar-header-bg: #000; */
/* ====== Extension Settings ====== */
/* Window Control / Client Side Display Settings ===
If you are putting this on the left or right side uncomment the side
preferences below and comment the other
=========================================================================
*/
--csd-width: 100px;
--csd-top: 8px;
/*
CSD - Left Side ===
Default: --csd-left: 50px; --csd-margin-left: 92px;
*/
/*
--csd-left: 50px;
--csd-margin-left: 92px;
*/
/*
CSD - Right Side ===
Defaults: --csd-right: 0px; --csd-margin-right: 95px;
*/
--csd-right: 36px;
--csd-margin-right: 130px;
/* === END: Window Control / Client Side Display Settings === */
/* === END: Extension Settings === */
}
/* ========================================================================= */
/*
Extension (Core): Sidebar
Description: This is the core implementation of the sidebar used in drannex42's FirefoxSidebar.
Repository URL: https://github.com/drannex42/FirefoxSidebar
Version: v12024.05.15 (YYYYY.MM.DD)
*/
#main-window #TabsToolbar {
visibility: collapse;
}
/* As of v12024.05.15 we updated to using this one by MrOtherGuy, with modifications */
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_sidebar.css made available under Mozilla Public License v. 2.0 */
/* Show sidebar only when the cursor is over it */
/* The border controlling sidebar width will be removed so you'll need to modify these values to change width */
#sidebar-box {
--uc-sidebar-width: 50px;
--uc-sidebar-hover-width: 260px;
--uc-autohide-sidebar-delay: 10ms;
/* Wait 0.6s before hiding sidebar */
--uc-autohide-transition-duration: 115ms;
--uc-autohide-transition-type: linear;
position: relative;
min-width: var(--uc-sidebar-width) !important;
width: var(--uc-sidebar-width) !important;
max-width: var(--uc-sidebar-width) !important;
z-index: 1;
margin-top: -40px;
}
#sidebar-box[positionend] {
direction: rtl
}
#sidebar-box[positionend]>* {
direction: ltr
}
#sidebar-box[positionend]:-moz-locale-dir(rtl) {
direction: ltr
}
#sidebar-box[positionend]:-moz-locale-dir(rtl)>* {
direction: rtl
}
#main-window[sizemode="fullscreen"] #sidebar-box {
--uc-sidebar-width: 1px;
}
#sidebar-splitter {
display: none
}
#sidebar-header {
overflow: hidden;
color: var(--chrome-color, inherit) !important;
padding-inline: 0 !important;
background: var(--custom-sidebar-header-bg, inherit) !important;
padding: 8px 12px !important;
padding-top: 9px !important;
border-bottom: none !Important;
}
#sidebar-header::before,
#sidebar-header::after {
content: "";
display: flex;
padding-left: 0px;
}
#sidebar-header,
#sidebar {
transition: min-width var(--uc-autohide-transition-duration) var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay) !important;
min-width: var(--uc-sidebar-width) !important;
will-change: min-width;
}
#sidebar-box:hover>#sidebar-header,
#sidebar-box:hover>#sidebar {
min-width: var(--uc-sidebar-hover-width) !important;
width: var(--uc-sidebar-hover-width) !important;
transition-delay: 0ms !important;
}
#sidebar-box>#sidebar-header #sidebar-title {
opacity: 0;
}
#sidebar-box:hover>#sidebar-header #sidebar-title {
opacity: 1;
}
.sidebar-panel {
background-color: transparent !important;
color: var(--newtab-text-primary-color) !important;
}
.sidebar-panel #search-box {
-moz-appearance: none !important;
background-color: rgba(249, 249, 250, 0.1) !important;
color: inherit !important;
}
/* Add sidebar divider and give it background */
#sidebar,
#sidebar-header {
background-color: inherit !important;
border-right: 1px solid var(--sidebar-border-color);
border-inline-width: 0px 1px;
}
#sidebar-box:not([positionend])> :-moz-locale-dir(rtl),
#sidebar-box[positionend]>* {
border-inline-width: 1px 0px;
}
/* Move statuspanel to the other side when sidebar is hovered so it doesn't get covered by sidebar */
#sidebar-box:not([positionend]):hover~#appcontent #statuspanel {
inset-inline: auto 0px !important;
}
#sidebar-box:not([positionend]):hover~#appcontent #statuspanel-label {
margin-inline: 0px !important;
border-left-style: solid !important;
}
.browser-toolbar {
padding-left: var(--sidebar-width) !important;
position: relative !important;
}
#PersonalToolbar {
padding: 2px 5px !important;
padding-top: 0px !important;
margin-top: 0px !important;
padding-left: calc(var(--sidebar-width) + 6px) !important;
}
/*
Extensions ::
To enable/disable specific extensions just comment/uncomment the line below.
=========================================================================
*/
/*
Extension: Window Controls / Client Side Decorations (CSD)
Description: This brings the window controls into the main bar (where the address bar exists). Please see the prefs.css folder for switching the sides from left to right.
Repository URL: https://github.com/drannex42/FirefoxSidebar
Contributors: Mr-nUUb, Xanaxus, Drannex42
Issue URL: https://github.com/drannex42/FirefoxSidebar/issues/14
*/
/* allow the buttons to appear */
.browser-toolbar {
position: unset !important;
}
/* reserve space for buttons */
#nav-bar {
padding-right: var(--csd-margin-right) !important;
margin-left: var(--csd-margin-left) !important;
}
/* move buttons next to menu button */
.titlebar-buttonbox-container {
visibility: visible !important;
position: fixed !important;
display: block;
z-index: 999999999;
top: var(--csd-top, inherit);
right: var(--csd-right, inherit);
left: var(--csd-left, inherit);
max-width: var(--csd-width);
}
/* hide buttons in fullscreen mode (video player and F11) */
#main-window[inFullscreen="true"] .titlebar-buttonbox-container,
#main-window[inDOMFullscreen="true"] .titlebar-buttonbox-container {
visibility: hidden !important;
}
/* remove empty space when in fullscreen mode (F11) */
#main-window[inFullscreen="true"] #nav-bar {
padding-right: 0px !important;
margin-left: 0px !important;
}
/* END Client Side Decorations / Window Controls */
/*
Extension: Superbox Removal (and compaction)
Description: This removes the superbox and fixes some padding around the urlbar.
Repository URL: https://github.com/drannex42/FirefoxSidebar
*/
/* --- Prevent enlargement */
#urlbar[breakout-extend] {
/* top: calc( */
/* (var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2 */
/* ) !important; */
/* Fix due to deprecation https://www.reddit.com/r/firefox/comments/1cs3g49/address_bar_suggestions_going_up_instead_of_down/ */
top: calc((var(--urlbar-container-height, --urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
left: 0 !important;
width: 100% !important;
}
#urlbar[breakout-extend] #urlbar-input-container {
height: var(--urlbar-height) !important;
/* padding: 0px !important; */
padding-block: 0px !important;
padding-inline: 0px !important;
}
.urlbarView-row {
padding: 0px 2px 0px 2px;
}
/* END Prevent enlargement --- */
/*/* --- Reduce row paddings to make them more compact */
.urlbarView-row {
padding: 2px 0px !important;
line-height: 1.2em !important;
margin: -1px;
margin-bottom: 0px;
}
.urlbarView-row-inner {
padding-bottom: 6px !important;
}
.urlbarView {
margin: 0px !important;
width: 100% !important;
}
/* END Reduce row paddings to make them more compact --- */
/* Disable Urlbar Animation */
#urlbar[breakout][breakout-extend][breakout-extend-animate]>#urlbar-background {
animation-name: none !important;
animation: none !important;
}
/* END Disable Urlbar Animation */
/* --- More compact "Search with Google" rows */
.urlbarView-row[dynamicType="onboardTabToSearch"]>.urlbarView-row-inner {
min-height: auto !important;
width: auto !important;
}
.urlbarView-row[dynamicType="onboardTabToSearch"]>.urlbarView-row-inner>.urlbarView-no-wrap>.urlbarView-favicon {
margin-bottom: -1px;
}
/* END More compact "Search with Google" rows --- */
/* Remove active border on the addressbar when in focus */
#nav-bar {
--toolbar-field-focus-border-color: #ccc;
}
/* Remove box shadow on address bar */
#urlbar-background,
#searchbar {
box-shadow: none !important;
}
'';
bookmarks = [
{
name = "estrogen production";
tags = ["chemistry" "oestrogen" "estrogen" "diy"];
url = "https://crimethinc.com/2022/12/15/producing-transdermal-estrogen-a-do-it-yourself-guide";
}
{
name = "Nix sites";
toolbar = false;
bookmarks = [
{
name = "packages";
tags = ["packages" "basic" "nix"];
url = "https://search.nixos.org/";
}
{
name = "settings";
tags = ["settings" "services" "packages" "nix"];
url = "https://mynixos.com";
}
];
}
];
};
};
}

View file

@ -0,0 +1,20 @@
{
lib,
pkgs,
inputs,
...
}: {
programs.foot = {
enable = true;
catppuccin.enable = true;
settings = {
main = {
font = "Fira Code:size=11";
};
mouse = {
hide-when-typing = "yes";
};
};
};
}

View file

@ -0,0 +1,96 @@
[Background]
Color=36,39,58
[BackgroundFaint]
Color=36,39,58
[BackgroundIntense]
Color=36,39,58
[Color0]
Color=110,115,141
[Color0Faint]
Color=110,115,141
[Color0Intense]
Color=110,115,141
[Color1]
Color=237,135,150
[Color1Faint]
Color=237,135,150
[Color1Intense]
Color=237,135,150
[Color2]
Color=166,218,149
[Color2Faint]
Color=166,218,149
[Color2Intense]
Color=166,218,149
[Color3]
Color=238,212,159
[Color3Faint]
Color=238,212,159
[Color3Intense]
Color=238,212,159
[Color4]
Color=138,173,244
[Color4Faint]
Color=138,173,244
[Color4Intense]
Color=138,173,244
[Color5]
Color=198,160,246
[Color5Faint]
Color=198,160,246
[Color5Intense]
Color=198,160,246
[Color6]
Color=137,220,227
[Color6Faint]
Color=137,220,227
[Color6Intense]
Color=137,220,227
[Color7]
Color=202,211,245
[Color7Faint]
Color=202,211,245
[Color7Intense]
Color=202,211,245
[Foreground]
Color=202,211,245
[ForegroundFaint]
Color=202,211,245
[ForegroundIntense]
Color=202,211,245
[General]
Blur=false
ColorRandomization=false
Description=Catppuccin Macchiato
Opacity=1
Wallpaper=

View file

@ -0,0 +1,8 @@
[Appearance]
ColorScheme=Catppuccin-Macchiato
[General]
Name=Catppuccin
Parent=FALLBACK/
StartInCurrentSessionDir=true
TerminalRows=30

View file

@ -0,0 +1,25 @@
{
lib,
pkgs,
inputs,
...
}: {
home.file = {
"profile" = {
source = ./Catppuccin.profile;
target = ".local/share/konsole/Catppuccin.profile";
};
};
home.file = {
"colorscheme" = {
source = ./Catppuccin-Macchiato.colorscheme;
target = ".local/share/konsole/Catppuccin-Macchiato.colorscheme";
};
};
home.file = {
"konsolerc" = {
source = ./konsolerc;
target = ".config/konsolerc";
};
};
}

View file

@ -0,0 +1,17 @@
[Desktop Entry]
DefaultProfile=Catppuccin.profile
[General]
ConfigVersion=1
[KonsoleWindow]
RememberWindowSize=false
[MainWindow]
1920x1080 screen: Height=512
1920x1080 screen: Width=911
State=AAAA/wAAAAD9AAAAAQAAAAAAAAAAAAAAAPwCAAAAAvsAAAAcAFMAUwBIAE0AYQBuAGEAZwBlAHIARABvAGMAawAAAAAA/////wAAAREA////+wAAACIAUQB1AGkAYwBrAEMAbwBtAG0AYQBuAGQAcwBEAG8AYwBrAAAAAAD/////AAABcgD///8AAAOPAAACDAAAAAQAAAAEAAAACAAAAAj8AAAAAQAAAAIAAAACAAAAFgBtAGEAaQBuAFQAbwBvAGwAQgBhAHIAAAAAAP////8AAAAAAAAAAAAAABwAcwBlAHMAcwBpAG8AbgBUAG8AbwBsAGIAYQByAAAAAAD/////AAAAAAAAAAA=
ToolBarsMovable=Disabled
[UiSettings]
ColorScheme=

View file

@ -1,11 +1,4 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
programs.plasma = {
enable = true;
shortcuts = {
@ -189,7 +182,7 @@
"kwin"."Window to Screen 6" = [];
"kwin"."Window to Screen 7" = [];
"kwin"."view_actual_size" = "Meta+0";
"kwin"."view_zoom_in" = ["Meta++" "Meta+="];
"kwin"."view_zoom_in" = "Meta++";
"kwin"."view_zoom_out" = "Meta+-";
"mediacontrol"."mediavolumedown" = [];
"mediacontrol"."mediavolumeup" = [];
@ -239,24 +232,35 @@
"plasmashell"."switch to next activity" = [];
"plasmashell"."switch to previous activity" = [];
"plasmashell"."toggle do not disturb" = [];
"services.org.kde.plasma-systemmonitor.desktop"."_launch" = "Ctrl+Esc";
"services.org.kde.spectacle.desktop"."ActiveWindowScreenShot" = ["Meta+Print" "Ctrl+!"];
"services.org.kde.spectacle.desktop"."CurrentMonitorScreenShot" = "Ctrl+#";
"services.org.kde.spectacle.desktop"."FullScreenScreenShot" = ["Ctrl+$" "Shift+Print"];
"services.org.kde.spectacle.desktop"."OpenWithoutScreenshot" = "Ctrl+^";
"services.org.kde.spectacle.desktop"."RecordWindow" = [];
"services.org.kde.spectacle.desktop"."RectangularRegionScreenShot" = ["Ctrl+@" "Meta+Shift+Print"];
"services.org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["Meta+Ctrl+Print" "Ctrl+%"];
"services.org.kde.spectacle.desktop"."_launch" = "Print";
"services.services.org.kde.plasma-systemmonitor.desktop"."_launch" = "Ctrl+Esc";
"services.services.org.kde.spectacle.desktop"."ActiveWindowScreenShot" = ["" "Meta+Print" "Ctrl+!"];
"services.services.org.kde.spectacle.desktop"."CurrentMonitorScreenShot" = "Ctrl+#";
"services.services.org.kde.spectacle.desktop"."FullScreenScreenShot" = ["" "Ctrl+$" "Shift+Print"];
"services.services.org.kde.spectacle.desktop"."OpenWithoutScreenshot" = "Ctrl+^";
"services.services.org.kde.spectacle.desktop"."RecordWindow" = [];
"services.services.org.kde.spectacle.desktop"."RectangularRegionScreenShot" = ["" "Ctrl+@" "Meta+Shift+Print"];
"services.services.org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["" "Meta+Ctrl+Print" "Ctrl+%"];
"services.services.org.kde.spectacle.desktop"."_launch" = "Print";
"services/org.kde.plasma-systemmonitor.desktop"."_launch" = "Ctrl+Esc";
"services/org.kde.spectacle.desktop"."ActiveWindowScreenShot" = ["Meta+Print" "Ctrl+!"];
"services/org.kde.spectacle.desktop"."CurrentMonitorScreenShot" = "Ctrl+#";
"services/org.kde.spectacle.desktop"."FullScreenScreenShot" = ["Ctrl+$" "Shift+Print"];
"services/org.kde.spectacle.desktop"."OpenWithoutScreenshot" = "Ctrl+^";
"services/org.kde.spectacle.desktop"."RecordRegion" = [];
"services/org.kde.spectacle.desktop"."RecordScreen" = [];
"services/org.kde.spectacle.desktop"."RecordWindow" = [];
"services/org.kde.spectacle.desktop"."RectangularRegionScreenShot" = ["Ctrl+@" "Meta+Shift+Print"];
"services/org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["Meta+Ctrl+Print" "Ctrl+%"];
"services/org.kde.spectacle.desktop"."_launch" = "Print";
"services/services.org.kde.plasma-systemmonitor.desktop"."_launch" = "Ctrl+Esc";
"services/services.org.kde.spectacle.desktop"."ActiveWindowScreenShot" = ["" "" "" "" "Meta+Print" "Ctrl+!"];
"services/services.org.kde.spectacle.desktop"."CurrentMonitorScreenShot" = "Ctrl+#";
"services/services.org.kde.spectacle.desktop"."FullScreenScreenShot" = ["" "" "" "" "Ctrl+$" "Shift+Print"];
"services/services.org.kde.spectacle.desktop"."OpenWithoutScreenshot" = "Ctrl+^";
"services/services.org.kde.spectacle.desktop"."RecordWindow" = [];
"services/services.org.kde.spectacle.desktop"."RectangularRegionScreenShot" = ["" "" "" "" "Ctrl+@" "Meta+Shift+Print"];
"services/services.org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["" "" "" "" "Meta+Ctrl+Print" "Ctrl+%"];
"services/services.org.kde.spectacle.desktop"."_launch" = "Print";
"services/services.services.org.kde.plasma-systemmonitor.desktop"."_launch" = "Ctrl+Esc";
"services/services.services.org.kde.spectacle.desktop"."ActiveWindowScreenShot" = ["" "" "" "" "" "Meta+Print" "Ctrl+!"];
"services/services.services.org.kde.spectacle.desktop"."CurrentMonitorScreenShot" = "Ctrl+#";
"services/services.services.org.kde.spectacle.desktop"."FullScreenScreenShot" = ["" "" "" "" "" "Ctrl+$" "Shift+Print"];
"services/services.services.org.kde.spectacle.desktop"."OpenWithoutScreenshot" = "Ctrl+^";
"services/services.services.org.kde.spectacle.desktop"."RecordWindow" = [];
"services/services.services.org.kde.spectacle.desktop"."RectangularRegionScreenShot" = ["" "" "" "" "" "Ctrl+@" "Meta+Shift+Print"];
"services/services.services.org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["" "" "" "" "" "Meta+Ctrl+Print" "Ctrl+%"];
"services/services.services.org.kde.spectacle.desktop"."_launch" = "Print";
};
configFile = {
"baloofilerc"."General"."dbVersion" = 2;
@ -271,11 +275,16 @@
"dolphinrc"."KFileDialog Settings"."Places Icons Static Size" = 22;
"dolphinrc"."KFileDialog Settings"."detailViewIconSize" = 16;
"dolphinrc"."PreviewSettings"."Plugins" = "mobithumbnail,fontthumbnail,ebookthumbnail,kraorathumbnail,jpegthumbnail,windowsexethumbnail,comicbookthumbnail,djvuthumbnail,opendocumentthumbnail,windowsimagethumbnail,exrthumbnail,audiothumbnail,cursorthumbnail,svgthumbnail,blenderthumbnail,gsthumbnail,rawthumbnail,ffmpegthumbs,imagethumbnail,directorythumbnail";
"dolphinrc"."Search"."Location" = "Everywhere";
"kactivitymanagerdrc"."activities"."a2cd7f51-1f1f-47a8-9544-a4c401f57a12" = "Default";
"kactivitymanagerdrc"."main"."currentActivity" = "a2cd7f51-1f1f-47a8-9544-a4c401f57a12";
"kcminputrc"."Libinput.1739.30383.CUST0001:00 06CB:76AF Touchpad"."MiddleButtonEmulation" = true;
"kcminputrc"."Libinput.1739.30383.CUST0001:00 06CB:76AF Touchpad"."NaturalScroll" = true;
"kcminputrc"."Libinput.1739.30383.CUST0001:00 06CB:76AF Touchpad"."TapToClick" = true;
"kcminputrc"."Libinput/1739/30383/CUST0001:00 06CB:76AF Touchpad"."MiddleButtonEmulation" = true;
"kcminputrc"."Libinput/1739/30383/CUST0001:00 06CB:76AF Touchpad"."NaturalScroll" = true;
"kcminputrc"."Libinput/1739/30383/CUST0001:00 06CB:76AF Touchpad"."TapToClick" = true;
"kcminputrc"."Mouse"."cursorSize" = 32;
"kcminputrc"."Tmp"."update_info" = "delete_cursor_old_default_size.upd:DeleteCursorOldDefaultSize";
"kded5rc"."Module-browserintegrationreminder"."autoload" = false;
"kded5rc"."Module-device_automounter"."autoload" = false;
@ -806,50 +815,46 @@
"khotkeysrc"."Data_3_9Triggers"."TriggersCount" = 1;
"khotkeysrc"."Data_3_9Triggers0"."GesturePointData" = "0,0.0625,-0.5,0.5,1,0.0625,0.0625,-0.5,0.5,0.875,0.125,0.0625,-0.5,0.5,0.75,0.1875,0.0625,-0.5,0.5,0.625,0.25,0.0625,-0.5,0.5,0.5,0.3125,0.0625,-0.5,0.5,0.375,0.375,0.0625,-0.5,0.5,0.25,0.4375,0.0625,-0.5,0.5,0.125,0.5,0.0625,0.5,0.5,0,0.5625,0.0625,0.5,0.5,0.125,0.625,0.0625,0.5,0.5,0.25,0.6875,0.0625,0.5,0.5,0.375,0.75,0.0625,0.5,0.5,0.5,0.8125,0.0625,0.5,0.5,0.625,0.875,0.0625,0.5,0.5,0.75,0.9375,0.0625,0.5,0.5,0.875,1,0,0,0.5,1";
"khotkeysrc"."Data_3_9Triggers0"."Type" = "GESTURE";
"khotkeysrc"."General"."AllowKDEAppsToRememberWindowPositions[$d]" = "";
"khotkeysrc"."General"."BrowserApplication[$d]" = "";
"khotkeysrc"."General"."ColorSchemeHash[$d]" = "";
"khotkeysrc"."General"."ColorScheme[$d]" = "";
"khotkeysrc"."General"."AllowKDEAppsToRememberWindowPositions" = "";
"khotkeysrc"."General"."BrowserApplication" = "";
"khotkeysrc"."Gestures"."Disabled" = true;
"khotkeysrc"."Gestures"."MouseButton" = 2;
"khotkeysrc"."Gestures"."Timeout" = 300;
"khotkeysrc"."GesturesExclude"."Comment" = "";
"khotkeysrc"."GesturesExclude"."WindowsCount" = 0;
"khotkeysrc"."Icons"."Theme[$d]" = "";
"khotkeysrc"."KDE"."AnimationDurationFactor[$d]" = "";
"khotkeysrc"."KDE"."LookAndFeelPackage[$d]" = "";
"khotkeysrc"."KDE"."ShowDeleteCommand[$d]" = "";
"khotkeysrc"."KDE"."SingleClick[$d]" = "";
"khotkeysrc"."KDE"."widgetStyle[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Allow Expansion[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Automatically select filename extension[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Breadcrumb Navigation[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Decoration position[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."LocationCombo Completionmode[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."PathCombo Completionmode[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Show Bookmarks[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Show Full Path[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Show Inline Previews[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Show Preview[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Show Speedbar[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Show hidden files[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Sort by[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Sort directories first[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Sort hidden files last[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Sort reversed[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."Speedbar Width[$d]" = "";
"khotkeysrc"."KFileDialog Settings"."View Style[$d]" = "";
"khotkeysrc"."KShortcutsDialog Settings"."Dialog Size[$d]" = "";
"khotkeysrc"."KDE"."AnimationDurationFactor" = "";
"khotkeysrc"."KDE"."ShowDeleteCommand" = "";
"khotkeysrc"."KDE"."SingleClick" = "";
"khotkeysrc"."KDE"."widgetStyle" = "";
"khotkeysrc"."KFileDialog Settings"."Allow Expansion" = "";
"khotkeysrc"."KFileDialog Settings"."Automatically select filename extension" = "";
"khotkeysrc"."KFileDialog Settings"."Breadcrumb Navigation" = "";
"khotkeysrc"."KFileDialog Settings"."Decoration position" = "";
"khotkeysrc"."KFileDialog Settings"."LocationCombo Completionmode" = "";
"khotkeysrc"."KFileDialog Settings"."PathCombo Completionmode" = "";
"khotkeysrc"."KFileDialog Settings"."Show Bookmarks" = "";
"khotkeysrc"."KFileDialog Settings"."Show Full Path" = "";
"khotkeysrc"."KFileDialog Settings"."Show Inline Previews" = "";
"khotkeysrc"."KFileDialog Settings"."Show Preview" = "";
"khotkeysrc"."KFileDialog Settings"."Show Speedbar" = "";
"khotkeysrc"."KFileDialog Settings"."Show hidden files" = "";
"khotkeysrc"."KFileDialog Settings"."Sort by" = "";
"khotkeysrc"."KFileDialog Settings"."Sort directories first" = "";
"khotkeysrc"."KFileDialog Settings"."Sort hidden files last" = "";
"khotkeysrc"."KFileDialog Settings"."Sort reversed" = "";
"khotkeysrc"."KFileDialog Settings"."Speedbar Width" = "";
"khotkeysrc"."KFileDialog Settings"."View Style" = "";
"khotkeysrc"."KShortcutsDialog Settings"."Dialog Size" = "";
"khotkeysrc"."Main"."AlreadyImported" = "defaults,kde32b1,konqueror_gestures_kde321";
"khotkeysrc"."Main"."Disabled" = false;
"khotkeysrc"."PreviewSettings"."MaximumRemoteSize[$d]" = "";
"khotkeysrc"."PreviewSettings"."MaximumRemoteSize" = "";
"khotkeysrc"."Voice"."Shortcut" = "";
"khotkeysrc"."WM"."activeBackground[$d]" = "";
"khotkeysrc"."WM"."activeBlend[$d]" = "";
"khotkeysrc"."WM"."activeForeground[$d]" = "";
"khotkeysrc"."WM"."inactiveBackground[$d]" = "";
"khotkeysrc"."WM"."inactiveBlend[$d]" = "";
"khotkeysrc"."WM"."inactiveForeground[$d]" = "";
"khotkeysrc"."WM"."activeBackground" = "";
"khotkeysrc"."WM"."activeBlend" = "";
"khotkeysrc"."WM"."activeForeground" = "";
"khotkeysrc"."WM"."inactiveBackground" = "";
"khotkeysrc"."WM"."inactiveBlend" = "";
"khotkeysrc"."WM"."inactiveForeground" = "";
"kiorc"."Confirmations"."ConfirmDelete" = true;
"kiorc"."Confirmations"."ConfirmEmptyTrash" = true;
"kiorc"."Confirmations"."ConfirmTrash" = false;
@ -888,10 +893,13 @@
"kwinrc"."Plugins"."diminactiveEnabled" = true;
"kwinrc"."Plugins"."dimscreenEnabled" = true;
"kwinrc"."Plugins"."wobblywindowsEnabled" = true;
"kwinrc"."Tiling"."padding" = 4;
"kwinrc"."Tiling.5242ae1a-0a81-5d7b-ba61-2512b597a159"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
"kwinrc"."Tiling.57cc57cb-6089-56ec-afba-00ccd06d5508"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
"kwinrc"."Tiling.5c337d24-acf0-5ac2-9082-ce9cb012bc2c"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.5,\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.5},{\"width\":0.5}]},{\"height\":0.5,\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.5},{\"width\":0.5}]}],\"width\":1}]}";
"kwinrc"."Tiling"."padding" = 0;
"kwinrc"."Tiling.5242ae1a-0a81-5d7b-ba61-2512b597a159"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}x5d}";
"kwinrc"."Tiling.57cc57cb-6089-56ec-afba-00ccd06d5508"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}x5d}";
"kwinrc"."Tiling.5c337d24-acf0-5ac2-9082-ce9cb012bc2c"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"layoutDirection\":\"vertical\",\"tiles\":x5b{\"height\":0.5,\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"width\":0.5},{\"width\":0.5}x5d},{\"height\":0.5,\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"width\":0.5},{\"width\":0.5}x5d}x5d,\"width\":1}x5d}";
"kwinrc"."Tiling/5242ae1a-0a81-5d7b-ba61-2512b597a159"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}x5d}";
"kwinrc"."Tiling/57cc57cb-6089-56ec-afba-00ccd06d5508"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}x5d}";
"kwinrc"."Tiling/5c337d24-acf0-5ac2-9082-ce9cb012bc2c"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.5046875000000002},{\"width\":0.4953124999999998}]}";
"kwinrc"."Xwayland"."Scale" = 1;
"kxkbrc"."Layout"."Options" = "compose:caps";
"kxkbrc"."Layout"."ResetOldOptions" = true;
@ -904,6 +912,7 @@
"plasma-localerc"."Formats"."LC_PAPER" = "nl_NL.UTF-8";
"plasma-localerc"."Formats"."LC_TELEPHONE" = "nl_NL.UTF-8";
"plasma-localerc"."Formats"."LC_TIME" = "en_DK.UTF-8";
"plasmarc"."Wallpapers"."usersWallpapers" = "";
"systemsettingsrc"."KFileDialog Settings"."detailViewIconSize" = 16;
};
};

View file

@ -19,11 +19,12 @@
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../../desktop
../../shared
];
home.packages = with pkgs; [
];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
home.stateVersion = "24.11";
}

View file

@ -19,6 +19,7 @@
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../../desktop
../../shared
];
home.packages = with pkgs; [
@ -32,5 +33,5 @@
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
home.stateVersion = "24.11";
}

View file

@ -19,11 +19,12 @@
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../../desktop
../../shared
];
home.packages = with pkgs; [
];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
home.stateVersion = "24.11";
}

View file

@ -0,0 +1,13 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
# You can import other home-manager modules here
imports = [
./lillian.nix
];
}

View file

@ -0,0 +1,29 @@
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
# You can import other home-manager modules here
imports = [
# If you want to use modules your own flake exports (from modules/home-manager):
# outputs.homeManagerModules.example
# Or modules exported from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModules.default
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../../shared
];
home.packages = with pkgs; [
];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.11";
}

View file

@ -18,7 +18,7 @@
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../../package-configs/zsh.nix
../../shared
];
nixpkgs = {
@ -42,5 +42,5 @@
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
home.stateVersion = "24.11";
}

View file

@ -18,8 +18,12 @@
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../../package-configs/zsh.nix
../../desktop/plasma-desktop
../../desktop/package-configs/plasma-desktop.nix
../../desktop/package-configs/firefox.nix
../../desktop/package-configs/konsole
../../desktop/package-configs/foot
../../shared
];
nixpkgs = {
# You can add overlays here
@ -69,12 +73,21 @@
nitrokey-app
protonvpn-gui
sops
watchmate
#watchmate
qbittorrent
zsh
# Theming:
catppuccin-cursors
(catppuccin-kde.override {
flavour = ["macchiato"];
accents = ["mauve"];
})
catppuccin-plymouth
catppuccin-sddm-corners
# Web browsing:
librewolf
firefox
ungoogled-chromium
];
@ -96,5 +109,5 @@
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
home.stateVersion = "24.11";
}

View file

@ -19,6 +19,7 @@
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../../package-configs/zsh.nix
../../package-configs/helix.nix
];
nixpkgs = {

View file

@ -0,0 +1,29 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
imports = [
./shell/helix
./shell/zellij
./shell/zsh.nix
./shell/starship.nix
./shell/eza.nix
./shell/hyfetch.nix
];
home = {
username = "lillian";
homeDirectory = "/home/lillian";
};
home.packages = with pkgs; [
# System tools:
vscode-langservers-extracted
sops
zsh
bat
];
}

View file

@ -0,0 +1,11 @@
{
lib,
pkgs,
...
}: {
programs.bat = {
enable = true;
extraPackages = with pkgs.bat-extras; [batdiff batman batgrep batwatch];
catppuccin.enable = true;
};
}

View file

@ -0,0 +1,7 @@
{lib, ...}: {
programs.eza = {
enable = true;
enableZshIntegration = true;
git = true;
};
}

View file

@ -0,0 +1,161 @@
{
config,
lib,
pkgs,
...
}: {
programs.helix = {
enable = true;
defaultEditor = true;
settings = {
theme = "catppuccin_macchiato";
editor = {
line-number = "relative";
lsp.display-messages = true;
lsp.display-inlay-hints = true;
cursor-shape = {
insert = "bar";
normal = "block";
select = "underline";
};
cursorline = true;
bufferline = "always";
color-modes = true;
soft-wrap = {
enable = true;
max-wrap = 25;
wrap-indicator = "";
};
};
};
languages = {
language = [
{
name = "python";
language-id = "python";
auto-format = true;
file-types = ["py"];
language-servers = ["ruff" "scls" "pylsp"];
}
{
name = "typst";
language-id = "typst";
auto-format = false;
file-types = ["typ"];
language-servers = ["typst-lsp" "scls"];
}
{
name = "rust";
language-id = "rust";
auto-format = true;
file-types = ["rs"];
roots = ["Cargo.lock"];
language-servers = ["rust-analyzer" "scls"];
}
{
name = "stub";
scope = "text.stub";
file-types = [];
shebangs = [];
roots = [];
auto-format = false;
language-servers = ["scls"];
}
{
name = "nix";
language-id = "nix";
auto-format = true;
file-types = ["nix"];
roots = ["flake.lock" "flake.nix"];
language-servers = ["nil" "scls"];
formatter = {
command = "alejandra";
args = ["-q"];
};
}
{
name = "html";
language-id = "html";
auto-format = true;
file-types = ["htm" "html"];
language-servers = ["vscode-html-language-server" "vscode-eslint-language-server"];
}
{
name = "css";
language-id = "css";
auto-format = true;
file-types = ["css"];
language-servers = ["vscode-css-language-server" "vscode-eslint-language-server"];
}
{
name = "json";
language-id = "json";
auto-format = true;
file-types = ["json"];
language-servers = ["vscode-json-language-server" "vscode-eslint-language-server"];
}
];
language-server = {
vscode-html-language-server = {
command = "vscode-html-language-server";
};
vscode-css-language-server = {
command = "vscode-css-language-server";
};
vscode-eslint-language-server = {
command = "vscode-eslint-language-server";
};
vscode-json-language-server = {
command = "vscode-json-language-server";
};
pylsp = {
config.pylsp.plugins = {
flake8 = {enabled = false;};
autopep8 = {enabled = false;};
mccabe = {enabled = false;};
pycodestyle = {enabled = false;};
pyflakes = {enabled = false;};
pylint = {enabled = false;};
yapf = {enabled = false;};
ruff = {
enabled = true;
select = ["E" "F" "UP" "B" "SIM" "I" "PD" "NPY" "PERF" "FURB" "DOC" "TRY" "W" "R" "PL" "TCH" "Q" "PT" "ICN" "C4" "COM" "FBT" "S" "N"];
ignore = ["F401"];
lineLength = 120;
};
};
};
ruff = {
command = "ruff-lsp";
};
typst-lsp = {
command = "typst-lsp";
};
rust-analyzer = {
command = "rust-analyzer";
};
nil = {
command = "nil";
};
scls = {
command = "simple-completion-language-server";
config = {
max_completion_items = 20;
snippets_first = true;
feature_words = true;
feature_snippets = true;
feature_unicode_input = true;
feature_paths = true;
};
};
};
};
};
home.file = {
"helix" = {
source = ./snippets.toml;
target = ".config/helix/external-snippets.toml";
};
};
}

View file

@ -0,0 +1,3 @@
[[sources]] # list of sources to load
name = "friendly-snippets" # optional name shown on snippet description
git = "https://github.com/rafamadriz/friendly-snippets.git" # git repo with snippets collections

View file

@ -0,0 +1,20 @@
{
config,
lib,
pkgs,
...
}: {
programs.hyfetch = {
enable = true;
settings = {
preset = "transgender";
mode = "rgb";
light_dark = "dark";
lightness = 0.65;
color_align = {
mode = "horizontal";
};
backend = "neofetch";
};
};
}

View file

@ -0,0 +1,50 @@
{
lib,
pkgs,
...
}: {
programs.starship = let
flavor = "macchiato"; # One of `latte`, `frappe`, `macchiato`, or `mocha`
in {
enable = true;
settings =
{
add_newline = true;
format = lib.concatStrings [
"$sudo"
"$all"
];
character.success_symbol = "[](bold purple)";
package.disabled = true;
sudo = {
symbol = "witch ";
style = "bold blue";
format = "[$symbol]($style)";
disabled = false;
};
hostname = {
ssh_only = false;
format = "[$hostname](bold yellow)[$ssh_symbol](bold blue):";
trim_at = "";
disabled = false;
};
username = {
show_always = true;
format = "[$user]($style)@";
};
git_branch.style = "bold blue";
directory.style = "bold blue";
direnv.disabled = false;
palette = "catppuccin_${flavor}";
}
// builtins.fromTOML (builtins.readFile
(pkgs.fetchFromGitHub
{
owner = "catppuccin";
repo = "starship";
rev = "5629d23"; # Replace with the latest commit hash
sha256 = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0=";
}
+ /palettes/${flavor}.toml));
};
}

View file

@ -0,0 +1,107 @@
{
lib,
pkgs,
inputs,
...
}: let
layout =
pkgs.writeText "default.kdl"
''
layout {
tab {
pane
}
swap_tiled_layout name="vertical" {
tab max_panes=5 {
pane split_direction="vertical" {
pane
pane { children; }
}
}
tab max_panes=8 {
pane split_direction="vertical" {
pane { children; }
pane { pane; pane; pane; pane; }
}
}
tab max_panes=12 {
pane split_direction="vertical" {
pane { children; }
pane { pane; pane; pane; pane; }
pane { pane; pane; pane; pane; }
}
}
}
swap_tiled_layout name="horizontal" {
tab max_panes=5 {
pane
pane
}
tab max_panes=8 {
pane {
pane split_direction="vertical" { children; }
pane split_direction="vertical" { pane; pane; pane; pane; }
}
}
tab max_panes=12 {
pane {
pane split_direction="vertical" { children; }
pane split_direction="vertical" { pane; pane; pane; pane; }
pane split_direction="vertical" { pane; pane; pane; pane; }
}
}
}
default_tab_template {
pane size=1 borderless=true {
plugin location="file:${inputs.zjstatus.packages.${pkgs.system}.default}/bin/zjstatus.wasm" {
format_left "#[bg=#1D1D2E,fg=#C9D2F5,bold] {session} {mode} {tabs}"
format_right "#[bg=#C9D2F5,fg=#1D1D2E]#[bg=#C9D2F5,fg=#C9D2F5]#[bg=#C9D2F5,fg=#1D1D2E,bold]{datetime}#[bg=#1D1D2E,fg=#C9D2F5]"
mode_locked "#[fg=magenta,bold] {name} "
mode_normal "#[fg=green,bold] {name} "
mode_resize "#[fg=orange,bold] {name} "
mode_default_to_mode "resize"
tab_normal "#[bg=#C9D2F5,fg=#1D1D2E]#[bg=#C9D2F5,fg=#C9D2F5]#[bg=#C9D2F5,fg=#1D1D2E,bold]{name}{sync_indicator}{fullscreen_indicator}{floating_indicator}#[bg=#C9D2F5,fg=#C9D2F5]#[bg=#1D1D2E,fg=#C9D2F5]"
tab_active "#[bg=#A6DA95,fg=#1D1D2E]#[bg=#A6DA95,fg=#A6DA95]#[bg=#A6DA95,fg=#1D1D2E,bold]{name}{sync_indicator}{fullscreen_indicator}{floating_indicator}#[bg=#A6DA95,fg=#A6DA95]#[bg=#1D1D2E,fg=#A6DA95]"
tab_sync_indicator " "
tab_fullscreen_indicator " "
tab_floating_indicator "󰉈 "
datetime "#[bg=#C9D2F5,fg=#1D1D2E,bold]{format} "
datetime_format "%Y-%m-%d %H:%M"
datetime_timezone "Europe/Amsterdam"
}
}
children
pane size=2 borderless=true {
plugin location="status-bar"
}
}
}
'';
in {
programs.zellij = {
# This autostarts zellij on zsh start
# TODO find specific settings for vscode to avoid
enable = true;
enableZshIntegration = true;
};
home.file = {
"layout" = {
source = "${layout}";
target = ".config/zellij/layouts/default.kdl";
};
};
home.file = {
"config" = {
source = ./zellij.kdl;
target = ".config/zellij/config.kdl";
};
};
}

View file

@ -0,0 +1,31 @@
session_serialization true
theme "catppuccin-macchiato"
themes {
catppuccin-mocha {
bg "#585b70" // Surface2
fg "#cdd6f4"
red "#f38ba8"
green "#a6e3a1"
blue "#89b4fa"
yellow "#f9e2af"
magenta "#f5c2e7" // Pink
orange "#fab387" // Peach
cyan "#89dceb" // Sky
black "#181825" // Mantle
white "#cdd6f4"
}
catppuccin-macchiato {
bg "#5b6078" // Surface2
fg "#cad3f5"
red "#ed8796"
green "#a6da95"
blue "#8aadf4"
yellow "#eed49f"
magenta "#f5bde6" // Pink
orange "#f5a97f" // Peach
cyan "#91d7e3" // Sky
black "#1e2030" // Mantle
white "#cad3f5"
}
}

View file

@ -6,11 +6,6 @@
pkgs,
...
}: {
# Enable starship
programs.starship = {
enable = true;
};
programs.zoxide = {
enable = true;
};
@ -20,7 +15,13 @@
shellAliases = {
cd = "z";
code = "codium ./";
ls = "eza";
lh = "ls -lah";
cat = "bat";
tree = "tre";
neofetch = "hyfetch";
shutdown = "shutdown 0";
reboot = "reboot 0";
};
plugins = [
{
@ -33,6 +34,15 @@
sha256 = "sha256-Z6EYQdasvpl1P78poj9efnnLj7QQg13Me8x1Ryyw+dM=";
};
}
{
name = "terraform";
src = pkgs.fetchFromGitHub {
owner = "macunha1";
repo = "zsh-terraform";
rev = "fd1471d3757f8ed13f56c4426f88616111de2a87";
sha256 = "0z6i9wjjklb4lvr7zjhbphibsyx51psv50gm07mbb0kj9058j6kc";
};
}
];
autosuggestion.enable = true;
enableCompletion = true;
@ -43,64 +53,24 @@
enable = true;
plugins = [
"git"
"adb"
"battery"
"branch"
"coffee"
"colored-man-pages"
"colorize"
"command-not-found"
"common-aliases"
"compleat"
"composer"
"copypath"
"copybuffer"
"copyfile"
"cp"
"dirhistory"
"dirpersist"
"docker"
"docker-compose"
"extract"
"fancy-ctrl-z"
"fastfile"
"frontend-search"
"git-auto-fetch"
"git-escape-magic"
"git-extras"
"git-flow"
"github"
"gitignore"
"gnu-utils"
"gpg-agent"
"history"
"history-substring-search"
"fancy-ctrl-z"
"git-flow"
"isodate"
"jsontools"
"keychain"
"man"
"nanoc"
"pip"
"pipenv"
"pyenv"
"python"
"rsync"
"rvm"
"screen"
"sdk"
"sfdx"
"shell-proxy"
"sudo"
"systemadmin"
"systemd"
"themes"
"urltools"
"web-search"
"z"
"zsh-interactive-cd"
"zsh-navigation-tools"
"z"
];
theme = "jtriley";
};
# stuff for zoxide & tre
initExtra = ''
eval "$(zoxide init --cmd cd zsh)"
tre() { command tre "$@" -e && source "/tmp/tre_aliases_$USER" 2>/dev/null; }
'';
};
}

View file

@ -6,15 +6,20 @@
lib,
config,
pkgs,
pkgs-edge,
...
}: {
imports = [
# Import shared packages
../shared
./package-configs
];
nixpkgs = {
# You can add overlays here
overlays = [
#(final: prev: {
#bcachefs-tools = pkgs-edge.bcachefs-tools;
#})
# Add overlays your own flake exports (from overlays and pkgs dir):
outputs.overlays.additions
outputs.overlays.modifications
@ -25,52 +30,72 @@
};
};
environment.systemPackages = with pkgs; [
# Custom tools
dvd
dvt
servo
restart
# Allow executing of anything on the system with a , eg: , python executes python from the nix store even if not in $PATH currently
programs.command-not-found.enable = lib.mkForce false;
programs.nix-index.enable = true;
programs.nix-index-database.comma.enable = true;
# System tools
aha
bcachefs-tools
direnv
git-filter-repo
gnupg
pciutils
podman
podman-compose
sbctl
tpm2-tools
tpm2-tss
waydroid
xwaylandvideobridge
yubikey-personalization
zsh
environment.systemPackages =
(with pkgs; [
# Custom tools
dvd
dvt
servo
restart
# KDE/QT
krunner-translator
kdePackages.discover
kdePackages.kcalc
kdePackages.kdepim-addons
kdePackages.kirigami
kdePackages.kdeconnect-kde
# kdePackages.krunner-ssh
# kdePackages.krunner-symbols
kdePackages.packagekit-qt
kdePackages.plasma-pa
kdePackages.sddm-kcm
kdePackages.dolphin-plugins
libportal-qt5
libportal
# System tools
aha
#bcachefs-tools
clinfo
comma
direnv
exfat
exfatprogs
git-filter-repo
gnupg
pciutils
podman
podman-compose
sbctl
tpm2-tools
tpm2-tss
virtualgl
vulkan-tools
waydroid
waypipe
wayland-utils
xwaylandvideobridge
yubikey-personalization
zsh
# User tools
noisetorch
qjackctl
wireplumber
rustdesk
];
# KDE/QT
krunner-translator
kdePackages.discover
kdePackages.filelight
kdePackages.kcalc
kdePackages.kdepim-addons
kdePackages.kirigami
kdePackages.kdeconnect-kde
kdePackages.konsole
# kdePackages.krunner-ssh
# kdePackages.krunner-symbols
kdePackages.packagekit-qt
kdePackages.plasma-pa
kdePackages.sddm-kcm
kdePackages.dolphin-plugins
libportal-qt5
libportal
# User tools
noisetorch
qjackctl
wireplumber
#rustdesk
])
++ (with pkgs-edge; [
# list of latest packages from nixpkgs master
# Can be used to install latest version of some packages
]);
programs.direnv = {
enable = true;
@ -83,8 +108,9 @@
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
extest.enable = true;
};
hardware.opengl.driSupport32Bit = true; # Enables support for 32bit libs that steam uses
hardware.graphics.enable32Bit = true; # Enables support for 32bit libs that steam uses
# Set your time zone.
time.timeZone = "Europe/Amsterdam";
@ -93,10 +119,12 @@
services.xserver.enable = true;
# Enable the KDE Plasma Desktop Environment.
services.xserver.displayManager.sddm.wayland.enable = true;
services.xserver.displayManager.sddm.enable = true;
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};
services.displayManager.defaultSession = "plasma";
services.desktopManager.plasma6.enable = true;
services.xserver.displayManager.defaultSession = "plasma";
programs.kdeconnect.enable = true;
# Enable flatpak support
@ -120,7 +148,6 @@
services.fwupd.enable = true;
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
@ -148,12 +175,12 @@
# FIXME: re-enable virtual camera loopback when it build again.
boot.bootspec.enable = true;
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
boot.supportedFilesystems = ["bcachefs"];
# boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback.out];
#boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
#boot.supportedFilesystems = ["bcachefs"];
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback.out];
boot.kernelModules = [
# Virtual Camera
# "v4l2loopback"
"v4l2loopback"
# Virtual Microphone, built-in
"snd-aloop"
];
@ -162,7 +189,7 @@
# exclusive_caps: Skype, Zoom, Teams etc. will only show device when actually streaming
# card_label: Name of virtual camera, how it'll show up in Skype, Zoom, Teams
# https://github.com/umlaeute/v4l2loopback
# options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
'';
boot.loader.systemd-boot.configurationLimit = 3;
boot.loader.efi.canTouchEfiVariables = true;

View file

@ -0,0 +1,12 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
imports = [
./firefox
];
}

View file

@ -0,0 +1,171 @@
{
config,
pkgs,
...
}: {
programs.firefox = {
enable = true;
package = pkgs.firefox;
policies = {
DisableTelemetry = true;
DisableFirefoxStudies = true;
DisablePocket = true;
DisableFirefoxAccounts = true;
DisableAccounts = true;
DisableProfileImport = true;
OverrideFirstRunPage = "";
OverridePostUpdatePage = "";
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "newtab";
ManualAppUpdateOnly = true;
OfferToSaveLogins = false;
PasswordManagerEnabled = false;
DownloadDirectory = "\${home}/Downloads";
EnableTrackingProtection = {
Value = true;
Cryptomining = true;
Fingerprinting = true;
};
ExtensionSettings = {
# "*".installation_mode = "blocked"; # blocks all addons except the ones specified below
# Catppuccin Macchiato - Lavender theme:
"{6396519b-0923-41a4-948a-3cb54a3918b3}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/catppuccin-macchiato-lavender/latest.xpi";
installation_mode = "force_installed";
};
# Sideberry:
"{3c078156-979c-498b-8990-85f7987dd929}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/sidebery/latest.xpi";
installation_mode = "force_installed";
};
# Privacy Badger:
"jid1-MnnxcxisBPnSXQ@jetpack" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/privacy-badger17/latest.xpi";
installation_mode = "force_installed";
};
# Bitwarden:
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
installation_mode = "force_installed";
};
# Libredirect:
"7esoorv3@alefvanoon.anonaddy.me" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/libredirect/latest.xpi";
installation_mode = "force_installed";
};
# DarkReader:
"addon@darkreader.org" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi";
installation_mode = "force_installed";
};
# SimpleLogin:
"addon@simplelogin" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/simplelogin/latest.xpi";
installation_mode = "force_installed";
};
# Cookie Auto Delete:
"CookieAutoDelete@kennydo.com" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/cookie-autodelete/latest.xpi";
installation_mode = "force_installed";
};
# Don't fuck with paste:
"DontFuckWithPaste@raim.ist" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/don-t-fuck-with-paste/latest.xpi";
installation_mode = "force_installed";
};
# Firefox pwas:
"firefoxpwa@filips.si" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/pwas-for-firefox/latest.xpi";
installation_mode = "force_installed";
};
# Consent o matic:
"gdpr@cavi.au.dk" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/consent-o-matic/latest.xpi";
installation_mode = "force_installed";
};
# Mailvelope:
"jid1-AQqSMBYb0a8ADg@jetpack" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/mailvelope/latest.xpi";
installation_mode = "force_installed";
};
# KDE connect:
"kde-connect@0xc0dedbad.com" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/kde-connect/latest.xpi";
installation_mode = "force_installed";
};
# Plasma browser integration:
"plasma-browser-integration@kde.org" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/plasma-integration/latest.xpi";
installation_mode = "force_installed";
};
# Shinigami eyes:
"shinigamieyes@shinigamieyes" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/shinigami-eyes/latest.xpi";
installation_mode = "force_installed";
};
# uBlock Origin:
"uBlock0@raymondhill.net" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
installation_mode = "force_installed";
};
# uBlock Scope:
"uBO-Scope@raymondhill.net" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ubo-scope/latest.xpi";
installation_mode = "force_installed";
};
# Wayback machine:
"wayback_machine@mozilla.org" = {
install_url = "https://addons.mozilla.org/firefox/downloads/file/4047136/wayback_machine_new-3.2.xpi";
installation_mode = "force_installed";
};
"frankerfacez@frankerfacez.com" = {
install_url = "https://cdn.frankerfacez.com/script/frankerfacez-4.0-an+fx.xpi";
installation_mode = "force_installed";
};
};
FirefoxHome = {
Search = true;
TopSites = false;
SponsoredTopSites = false;
Highlights = false;
Pocket = false;
SponsoredPocket = false;
Snippets = false;
};
FirefoxSuggest = {
WebSuggestions = false;
SponsoredSuggestions = false;
ImproveSuggest = false;
};
Preferences = {
"browser.compactmode.show" = true;
"browser.uidensity" = 0;
# "browser.newtabpage.activity-stream.feeds.topsites" = false;
# "browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
"font.name.serif.x-western" = "Crimson";
"font.name.sans-serif.x-western" = "Atkinson Hyperlegible";
"font.name.monospace.x-western" = "FiraCode Nerd Font";
"font.size.variable.x-western" = 14;
"signon.rememberSignons" = true;
};
# TODO: switch to ManagedBookmarks as this will be dropped at some point https://mozilla.github.io/policy-templates/#managedbookmarks
# Bookmarks = [
# {
# Title = "NixOS wiki";
# Placement = "toolbar";
# URL = "https://nixos.wiki/";
# }
# {
# Title = "NixOS options";
# Placement = "toolbar";
# URL = "https://nixos.org/manual/nixos/stable/options";
# }
# {
# Title = "NixOS home-manager options";
# Placement = "toolbar";
# URL = "https://nix-community.github.io/home-manager/options.xhtml";
# }
# ];
};
};
}

View file

@ -58,5 +58,5 @@
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "unstable";
system.stateVersion = "24.11";
}

View file

@ -1,17 +1,21 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
boot.initrd.kernelModules = ["dm-snapshot"];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
#fileSystems."/" =
# { device = "UUID=65956905-b7a5-4573-81fe-622c42cabdf5";

View file

@ -38,11 +38,11 @@
services.xserver.videoDrivers = ["amdgpu"];
# Add vulkan support to GPU
hardware.opengl.extraPackages = with pkgs; [
hardware.graphics.extraPackages = with pkgs; [
amdvlk
];
# For 32 bit applications
hardware.opengl.extraPackages32 = with pkgs; [
hardware.graphics.extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];
@ -67,12 +67,12 @@
};
};
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.loader.systemd-boot.enable = true;
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
# boot.lanzaboote = {
# enable = true;
# pkiBundle = "/etc/secureboot";
# };
users.users.lillian.extraGroups = ["gamemode"];
@ -87,5 +87,5 @@
networking.hostName = "GLaDOS";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "unstable";
system.stateVersion = "24.11";
}

View file

@ -19,6 +19,10 @@
../../shared
];
programs.command-not-found.enable = lib.mkForce false;
programs.nix-index.enable = true;
programs.nix-index-database.comma.enable = true;
boot.tmp.cleanOnBoot = true;
zramSwap.enable = false;
networking.domain = "";
@ -146,5 +150,5 @@
boot.supportedFilesystems = lib.mkForce ["bcachefs" "btrfs" "cifs" "f2fs" "jfs" "ntfs" "reiserfs" "vfat" "xfs"];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "unstable";
system.stateVersion = "24.11";
}

View file

@ -0,0 +1,127 @@
{
inputs,
outputs,
lib,
config,
pkgs,
nixpkgs-stable,
...
}: {
imports = [
# If you want to use modules your own flake exports (from modules/home-manager):
# outputs.homeManagerModules.example
# outputs.nixosModules.contabo.wan
inputs.home-manager.nixosModules.home-manager
# Or modules exported from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModules.defaults
# Import shared settings
../../shared
];
programs.command-not-found.enable = lib.mkForce false;
programs.nix-index.enable = true;
programs.nix-index-database.comma.enable = true;
boot.tmp.cleanOnBoot = true;
zramSwap.enable = false;
networking.domain = "";
services.openssh = {
enable = true;
# require public key authentication for better security
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
nixpkgs = {
# You can add overlays here
overlays = [
];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
#Set up sops config, and configure where the keyfile is, then set the mode for the unencrypted keys
sops.defaultSopsFile = ./secrets/sops.yaml;
environment.systemPackages = with pkgs; [
# Custom tools
dvd
dvt
servo
restart
install-nix
# System tools
aha
direnv
efitools
git-filter-repo
gnupg
pciutils
sbctl
tpm2-tools
tpm2-tss
zsh
];
# Contabo ipv6 nameservers: "2a02:c207::1:53" "2a02:c207::2:53"
networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [22];
# Configure keymap in X11
services.xserver.xkb = {
layout = "us";
variant = "";
options = "terminate:ctrl_alt_bksp,compose:caps_toggle";
};
security.tpm2.enable = true;
security.tpm2.pkcs11.enable = true; # expose /run/current-system/sw/lib/libtpm2_pkcs11.so
security.tpm2.tctiEnvironment.enable = true; # TPM2TOOLS_TCTI and TPM2_PKCS11_TCTI env variables
users.users.lillian.extraGroups = ["tss"]; # tss group has access to TPM devices
# Set your time zone.
time.timeZone = "Europe/Amsterdam";
programs.git = {
enable = true;
};
programs.direnv = {
enable = true;
};
# Enable completion of system packages by zsh
environment.pathsToLink = ["/share/zsh"];
# kde power settings do not turn off screen
systemd = {
services.sshd.wantedBy = pkgs.lib.mkForce ["multi-user.target"];
targets = {
sleep.enable = false;
suspend.enable = false;
hibernate.enable = false;
hybrid-sleep.enable = false;
};
};
home-manager = {
extraSpecialArgs = {inherit inputs outputs;};
users = {
# Import your home-manager configuration
lillian = import ../../../home-manager/hosts/iso_server;
};
};
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
boot.supportedFilesystems = lib.mkForce ["bcachefs" "btrfs" "cifs" "f2fs" "jfs" "ntfs" "reiserfs" "vfat" "xfs"];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "unstable";
}

View file

@ -0,0 +1,21 @@
lillian-password: ENC[AES256_GCM,data:kDP9LpmtLR2UEjCY0kgcdHmYAYLipOd/9I3NuiRHzLDhCX44M5QGfbQrle7bi9EOVD4eNB3uNtk+oBClr7cc21E9YtMIp5vg2g==,iv:EWB/hMRtWZfEn48Qmjo/V30BtSLrOsmo/cuEKnfW6Wk=,tag:vjiOkVga18BLKjf3GnZM2Q==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age12e00qvf4shtmsfq3ujamyaa72pjvad2qhrxkvpl9hryrjvgxev4sjhmkxz
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBrTFI5MDRiUkp1TGF2eHlG
VmwyVEdXQVR4dFJaZTNxeTRXQXZNbkN6T1dRClZyMU1LbFFmY0RwK1pmNDNWY0hW
bUJGYXI5ZEFIdDhUak1kMzF1WTE2SGsKLS0tIHpUQUVEWml1a251RmhQSGt1dm5E
a1hsN3NaVzNvRXlwcEpPd0RVQndiZk0KJ7/cnWzw1zSmgn+bOJn4Y1xRHqlk+zRM
Om0p+V9tUCCS5yGzacp8pFCa2DQNj0OVdyB2ZpjAiOzK7vWY8EU5XA==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-05-03T14:29:41Z"
mac: ENC[AES256_GCM,data:ezq0K/lFSNSog0UzvsVNNpCewzBKmKJdsXlkWzZ8nhXN7/1lHeoONQnoEooNhNhpmFF1yCvcArZ6Suy7+R4UuybKBky+6r62fyz0BKrAO9y0Xb/HFiAJPAYwP7/5sRFq/jDdtMAbjLxJhoH128md5LoHXhUUc3sws/SIQvdan4I=,iv:/IxAO3rw4lc8ZzDWUtfJb3siGCtzCxid5NfhEnad01Q=,tag:IRg7LV7hnFmWl5WhWD2ZSg==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.8.1

View file

@ -24,6 +24,9 @@
# Import server settings
../../server
# Import disko
# ../../../disko/queen
];
boot.tmp.cleanOnBoot = true;
@ -43,6 +46,7 @@
];
# Configure your nixpkgs instance
config = {
allowBroken = true;
# Disable if you don't want unfree packages
allowUnfree = true;
};
@ -52,7 +56,6 @@
sops.defaultSopsFile = ./secrets/sops.yaml;
environment.systemPackages = with pkgs; [
akkoma
fzf
matrix-conduit
docker
@ -70,9 +73,11 @@
nextcloud28
nginx
onlyoffice-documentserver
openssl
phanpy
postgresql_16
python3
python311Packages.nbconvert
python310
python310Packages.nbconvert
jupyter
rabbitmq-server
roundcube
@ -87,22 +92,38 @@
];
# Create an auto-update systemd service that runs every day
system.autoUpgrade = {
flake = "git+https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git";
dates = "daily";
enable = true;
};
# system.autoUpgrade = {
# flake = "git+https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git";
# dates = "daily";
# enable = true;
# };
systemd.services.systemd-networkd.serviceConfig.Environment = "SYSTEMD_LOG_LEVEL=debug";
# systemd.services.systemd-networkd.serviceConfig.Environment = "SYSTEMD_LOG_LEVEL=debug";
# Enable networking
networking.networkmanager.enable = true;
networking.nat.enable = true;
networking.nat.internalInterfaces = ["ve-+"];
networking.nat.externalInterface = "ens18";
# networking.networkmanager.enable = true;
# networking.nat.enable = true;
# networking.nat.internalInterfaces = ["ve-+"];
# networking.nat.externalInterface = "ens18";
networking.enableIPv6 = lib.mkForce true;
networking.nameservers = ["1.1.1.1"];
networking.nameservers = ["2a02:c207::1:53" "2a02:c207::2:53"];
# Contabo ipv6 nameservers: "2a02:c207::1:53" "2a02:c207::2:53"
# networking.interfaces.ens18.ipv4.addresses = [
# {
# address = "62.171.160.195";
# prefixLength = 32;
# }
# ];
networking.interfaces.ens18.ipv6.addresses = [
{
address = "2a02:c207:2063:2448::1";
prefixLength = 64;
}
];
networking.defaultGateway6 = {
address = "fe80::1";
interface = "ens18";
};
# Open ports in the firewall.
networking.firewall = {
@ -168,5 +189,5 @@
boot.loader.efi.canTouchEfiVariables = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "unstable";
system.stateVersion = "24.11";
}

View file

@ -7,12 +7,21 @@
}: {
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
boot.loader.grub.device = "/dev/sda";
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod"];
boot.initrd.kernelModules = ["nvme"];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
networking.useDHCP = lib.mkDefault true;
fileSystems."/" = {
device = "/dev/sda3";
device = "/dev/disk/by-uuid/dc10d09c-9394-4854-acd5-93ceccd2f448";
fsType = "ext4";
};
swapDevices = [{device = "/dev/sda2";}];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
fileSystems."/nix/store" = {
device = "/nix/store";
fsType = "none";
options = ["bind"];
};
swapDevices = [];
}

View file

@ -9,6 +9,10 @@ rpcSecret: ENC[AES256_GCM,data:gOuQSY2RI6rnSnG1,iv:xz1ueq4/UOKYBs5r9Tk4jL0+GyX8u
wg-private: ENC[AES256_GCM,data:6BEuNqqG//p5UhRmQ4RPEze6jZdvzK4PEXxlbX2ANYIhFpacj0aZnCr9o/A=,iv:tPlwYdV4I5oA8qG+bfVi1Dpbf7xedByantqsmylZXKQ=,tag:k1BqKqlayOWz5QW1XiAjqQ==,type:str]
lillian-password: ENC[AES256_GCM,data:tc+Romv2fL+tdqLLmbwqaF4IHrNZ0VEpnECmW/66FW7IUpjHMyS7YP+pmmvDCzM9afIXMxyPFHGNRwiCmxqstiiNeSeLdo6rDw==,iv:sGeu9aNTgdpThv+0Z/nZKIrat1xNgM0t/KTGPaFbsdI=,tag:kZBHF4X0KO9znog61NwU+Q==,type:str]
coturn-auth-secret: ENC[AES256_GCM,data:RYxyATuYIcrGd8h8Gc4CP9ZQ80ekuuwHehnOPYisHejmycgT8a2mWpk+5r3HkFmBNcLDeNlfnhIif5oLHGuHyw==,iv:M2GdNDxP4xpP35FJPTgljbcKpOm6DmEEnIYRItAxDVI=,tag:IiiNXeTi6Yja5PrnKRkhdA==,type:str]
grafana-telegraf-key: ENC[AES256_GCM,data:agpUzG1/n2NAKDt45IgelmDf0CUlC82fmD4f7JdcszNuUg7uCNA7XeaJ6PZtHQ==,iv:keo3i+qSbtXkA5fyCr2S5z9nJS9bXUn5WDiPgWocPU8=,tag:p/nDff10PRhi9pOszp1PnA==,type:str]
sync-secrets: ENC[AES256_GCM,data:AwCgqfSXmYVGnCV5PJ5Ql44IiutTS76F1H7Ow7gB4mQQ8PtiAsmArzpAXd7LzsXedm55X04U+GvkcbM9cwPcF+psyb3Zi8EnI/mjnI9MgFyySSEcosJZVAtCpXGIMyYgRXtF5OBh5CzupAG059d1TDAqrSpLXMuSDdypTaOMHxnlq5q1swfpzhhY3PVgUKVFXdjZLX8aF3JTE9ceVxFsB+traLzOQsl+QKty0x0mpuqR97zkMCchX7bTwgUgbl7phzTvmwV8Qw==,iv:gkZs5NB9+CLfz4kfV4ha2llZQPP81uuXRKqUlASgpiA=,tag:DXkiG0ZFHLHlVhwLwtv/XQ==,type:str]
writefreely: ENC[AES256_GCM,data:QOj5h/rHCxmgpPNhu3IS4eyruhQokHTJxW6yQM9YDgQ=,iv:qAd+/rAAanzL9FTIX22M+2kwI0WI2d3i86cJrn8MFBo=,tag:3zvpqnovDEoJdvK/qcFDuQ==,type:str]
writefreelymysql: ENC[AES256_GCM,data:1JZwIX04O3DBAo7JvEkeNrFcSdcmk/u4WUf/kkbr2JA=,iv:8H8MR8w1iLfl2r62EbxPnLzs4qWFmwB5gNKEaly8q6c=,tag:K01oKMXkeMOFs3u7frMs0Q==,type:str]
sops:
kms: []
gcp_kms: []
@ -24,8 +28,8 @@ sops:
KzNBMCtUaS9sU21Xc1JUd1FSR29tSkEKyqaDM/WUWjK2l+ahE6sIFYsQ6Qtkf7yz
NWFTzsDZBmm9kpSIjchf+PuBuoRHeEKbEH8jnMlYB3J8boEnUnXMlw==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-03-24T19:25:02Z"
mac: ENC[AES256_GCM,data:Bd2CcyaZk3C5hOFzCo54dKpBduR2fEr6J78pS3bBVvIDMWAL574k2mtYwzixaXPGbUdPMccRhYZcYyhq6x0A+g99kcZYqDV1lRRBUfg6mJ/eEDLcoD3rYd3XgWFzen6PKTsg/rL35EG2EVVSndZKTx4AI0213lcv6BYeb7cZt/0=,iv:UOxGbO07FTcaknwoUMBwlG+AR4EmZeAd3KJkpPwDJL4=,tag:uyoRQVZ3hM6TWsQB3Lin9g==,type:str]
lastmodified: "2024-08-16T13:34:43Z"
mac: ENC[AES256_GCM,data:IdQmx7/Y2fdQ9gBgKYCUZQuAVRqbP5KWG4EplO6pYqA8b5xzGnmCSCwyYIXU+3NExEZCEKEfX68mdYlWPRTKUdamOBdN+fQrGXwr5lw5dpKe03ccGw7Hayi0B4O8WbLEjw1RU50v2eoK9MpD5FPrUu1AzGz3+txxzV3hoxg6Sp0=,iv:WXvxAvg+sAKYbzjaz1QKDgVrnMraO3EtIgC12zb9Xi0=,tag:FmH84rGBotouvjCOq+xL8w==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.8.1
version: 3.9.0

View file

@ -16,7 +16,7 @@
'';
systemd.services."external-drive-mount@" = {
path = with pkgs; [jq coreutils udisks bash util-linux toybox auto-mount steam];
path = with pkgs; [util-linux udisks bash auto-mount steam jq];
enable = true;
serviceConfig = {
ExecStart = "${pkgs.auto-mount}/bin/auto-mount add %i";

View file

@ -15,8 +15,9 @@
# Or modules exported from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModules.default
# Import the locale settings
# Import the shared settings
../../shared
../../desktop/package-configs/firefox
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
@ -35,7 +36,6 @@
nixpkgs = {
# You can add overlays here
overlays = [
inputs.extest.overlays.default
];
# Configure your nixpkgs instance
config = {
@ -52,27 +52,20 @@
auto-mount
#System:
alejandra
btrfs-progs
decky-loader
efitools
extest
git
git-filter-repo
home-manager
htop
jq
noto-fonts
noto-fonts-emoji-blob-bin
noto-fonts-emoji
oh-my-zsh
rsync
rustdesk
#rustdesk
sbctl
steam
udisks
util-linux
wget
zsh
waypipe
python3
protonup-qt
#KDE:
krunner-translator
@ -90,42 +83,36 @@
#Gaming:
heroic
legendary-gl
protontricks
rare
];
#Enable steam deck steam interface
jovian.steam.enable = true;
#Autostart this inteface at login
jovian.steam.autoStart = true;
#What desktop to start when switching to desktop session
jovian.steam.desktopSession = "plasma";
jovian.steam.user = "lillian";
#Enable gyro service for CEMU
jovian.devices.steamdeck.enableGyroDsuService = true;
#Enable steam deck specific services
jovian.devices.steamdeck.enable = true;
#Enable auto updates for the BIOS and controller firmware
jovian.devices.steamdeck.autoUpdate = true;
jovian.decky-loader.enable = true;
jovian.hardware.has.amd.gpu = true;
jovian = {
steam = {
enable = true;
autoStart = true;
user = "lillian";
desktopSession = "plasma";
};
decky-loader = {
enable = true;
package = pkgs.decky-loader-prerelease;
extraPackages = [pkgs.python3];
};
devices.steamdeck = {
enable = true;
autoUpdate = true;
enableGyroDsuService = true;
};
};
programs.steam = lib.mkForce {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
package = pkgs.steam.override {
extraProfile = ''export LD_PRELOAD=${pkgs.extest}/lib/libextest.so:$LD_PRELOAD'';
};
extest.enable = true;
};
hardware.opengl.driSupport32Bit = true; # Enables support for 32bit libs that steam uses
hardware.graphics.enable32Bit = true; # Enables support for 32bit libs that steam uses
# Enable the X11 windowing system.
services.xserver.enable = true;
@ -134,7 +121,9 @@
services.desktopManager.plasma6.enable = true;
programs.kdeconnect.enable = true;
services.xserver.displayManager.sddm.settings = {
services.displayManager.defaultSession = "plasma";
services.displayManager.sddm.wayland.enable = lib.mkForce true;
services.displayManager.sddm.settings = {
Autologin = {
Session = "plasma.desktop";
User = "lillian";
@ -177,7 +166,6 @@
services.fwupd.enable = true;
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
@ -234,5 +222,5 @@
boot.plymouth.enable = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "unstable";
system.stateVersion = "24.11";
}

View file

@ -0,0 +1,23 @@
{
config,
pkgs,
inputs,
lib,
...
}: {
services.nginx = {
enable = true;
virtualHosts = {
"cinny.gladtherescake.eu" = {
root = "${pkgs.cinny}";
## Force HTTP redirect to HTTPS
forceSSL = true;
## LetsEncrypt
enableACME = true;
locations."/" = {
index = "index.html";
};
};
};
};
}

View file

@ -36,7 +36,7 @@ in {
# This causes NixOS to use the flake defined in this repository instead of
# the build of Conduit built into nixpkgs.
package = inputs.conduit.packages.${pkgs.system}.default;
package = inputs.conduwuit.packages.${pkgs.system}.default;
settings.global = {
inherit server_name;
@ -44,6 +44,10 @@ in {
allow_registration = false;
turn_uris = ["turn:turn.gladtherescake.eu.url?transport=udp" "turn:turn.gladtherescake.eu?transport=tcp"];
turn_secret = "cPKWEn4Fo5TAJoE7iX3xeVOaMVE4afeRN1iRGWYfbkWbkaZMxTpnmazHyH6c6yXT";
well_known = {
server = "matrix.gladtherescake.eu:443";
client = "https://matrix.gladtherescake.eu";
};
};
};
@ -63,7 +67,6 @@ in {
# Configure NGINX as a reverse proxy
services.nginx = {
enable = true;
recommendedProxySettings = true;
virtualHosts = {
"${server_name}" = {
@ -123,6 +126,15 @@ in {
add_header Access-Control-Allow-Origin "*";
'';
};
locations."/_matrix/client/unstable/org.matrix.msc3575/sync" = {
proxyPass = "http://matrix.gladtherescake.eu/client/unstable/org.matrix.msc3575/sync";
proxyWebsockets = true;
recommendedProxySettings = false;
extraConfig = ''
proxy_set_header Host $host;
proxy_buffering off;
'';
};
extraConfig = ''
merge_slashes off;

View file

@ -8,14 +8,13 @@
users.users.nginx.extraGroups = ["turnserver"];
services.coturn = {
enable = true;
lt-cred-mech = true;
use-auth-secret = true;
static-auth-secret-file = config.sops.secrets."coturn-auth-secret".path;
static-auth-secret = "cPKWEn4Fo5TAJoE7iX3xeVOaMVE4afeRN1iRGWYfbkWbkaZMxTpnmazHyH6c6yXT";
realm = "turn.gladtherescake.eu";
relay-ips = [
"62.171.160.195"
"2a02:c207:2063:2448::1"
];
no-tcp-relay = true;
extraConfig = "
cipher-list=\"HIGH\"
no-loopback-peers

View file

@ -0,0 +1,15 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
imports = [
./grafana
#./loki
./prometheus
./telegraf
];
}

View file

@ -0,0 +1,48 @@
{
config,
pkgs,
...
}: {
# grafana configuration
services.grafana = {
enable = true;
settings.server = {
domain = "grafana.lillianviolet.dev";
http_port = 2342;
http_addr = "127.0.0.1";
};
provision = {
datasources.settings = {
apiVersion = 1;
datasources = [
{
name = "Prometheus";
type = "prometheus";
access = "proxy";
url = "http://localhost:${toString config.services.prometheus.port}";
isDefault = true;
}
# {
# name = "Loki";
# type = "loki";
# access = "proxy";
# url = "http://localhost:${config.services.loki.port}";
# isDefault = true;
# }
];
};
};
};
# nginx reverse proxy
services.nginx.virtualHosts.${config.services.grafana.settings.server.domain} = {
## Force HTTP redirect to HTTPS
forceSSL = true;
## LetsEncrypt
enableACME = true;
locations."/" = {
proxyPass = "http://${toString config.services.grafana.settings.server.http_addr}:${toString config.services.grafana.settings.server.http_port}";
proxyWebsockets = true;
};
};
}

View file

@ -0,0 +1,10 @@
{
config,
pkgs,
...
}: {
services.loki = {
enable = true;
configFile = ./loki.yaml;
};
}

View file

@ -0,0 +1,40 @@
# Enables authentication through the X-Scope-OrgID header, which must be present
# if true. If false, the OrgID will always be set to "fake".
auth_enabled: false
server:
http_listen_address: "0.0.0.0"
http_listen_port: 3100
ingester:
lifecycler:
address: "127.0.0.1"
ring:
kvstore:
store: inmemory
replication_factor: 1
final_sleep: 0s
chunk_idle_period: 5m
chunk_retain_period: 30s
schema_config:
configs:
- from: 2020-05-15
store: boltdb
object_store: filesystem
schema: v11
index:
prefix: index_
period: 168h
storage_config:
boltdb:
directory: /tmp/loki/index
filesystem:
directory: /tmp/loki/chunks
limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h

View file

@ -0,0 +1,38 @@
{
config,
pkgs,
...
}: {
services.prometheus = {
enable = true;
port = 9001;
# Export the current system metrics
exporters = {
node = {
enable = true;
enabledCollectors = ["systemd"];
port = 9002;
};
};
scrapeConfigs = [
# Scrape the current system
{
job_name = "GrafanaService system";
static_configs = [
{
targets = ["127.0.0.1:9002"];
}
];
}
# Scrape the Loki service
# {
# job_name = "Loki service";
# static_configs = [
# {
# targets = ["127.0.0.1:3100"];
# }
# ];
# }
];
};
}

View file

@ -0,0 +1,56 @@
{
inputs,
lib,
config,
pkgs,
user,
...
}: {
sops.secrets."grafana-telegraf-key".mode = "0440";
sops.secrets."grafana-telegraf-key".owner = config.users.users.telegraf.name;
services.telegraf = {
enable = true;
extraConfig = {
agent = {
interval = "10s";
round_interval = true;
metric_batch_size = 1000;
metric_buffer_limit = 10000;
collection_jitter = "0s";
flush_interval = "10s";
flush_jitter = "0s";
precision = "";
debug = false;
quiet = false;
logfile = "";
hostname = "queen";
omit_hostname = false;
};
inputs = {
cpu = {
percpu = true;
totalcpu = true;
collect_cpu_time = false;
report_active = false;
core_tags = false;
};
disk = {
ignore_fs = ["tmpfs" "devtmpfs" "devfs" "overlay" "aufs" "squashfs"];
};
diskio = {};
kernel = {};
mem = {};
system = {};
};
outputs = {
websocket = {
url = "ws://localhost:${toString config.services.prometheus.port}/api/live/push/telegraf";
data_format = "influx";
headers = {
Authorisation = "Bearer glsa_lqpcKV34Pp0d7eIhKN79E2HTwzWWwN4m_fe64e398";
};
};
};
};
};
}

View file

@ -12,8 +12,13 @@
./gotosocial
./mail-server
./nextcloud
./phanpy
./postgres
./roundcube
./coturn
./dashboard
#./cinny
#./firefox-sync
./writefreely
];
}

View file

@ -0,0 +1,30 @@
{
config,
pkgs,
...
}: let
port = 5126;
in {
sops.secrets."sync-secrets".mode = "0440";
sops.secrets."sync-secrets".owner = config.users.users.firefox-syncserver.name;
users.groups.firefox-syncserver = {};
users.users.firefox-syncserver = {
isSystemUser = true;
group = "firefox-syncserver";
extraGroups = [config.users.groups.keys.name];
};
services.mysql.package = pkgs.mariadb;
services.firefox-syncserver = {
enable = true;
secrets = config.sops.secrets."sync-secrets".path;
singleNode = {
enable = true;
hostname = "sync.gladtherescake.eu";
url = "http://localhost:${toString port}";
enableNginx = true;
enableTLS = true;
};
};
}

View file

@ -7,33 +7,15 @@
...
}: {
imports = [];
#users.groups.gitea = {};
#users.users = {
# gitea = {
# openssh.authorizedKeys.keys = [
# "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCnYgErCnva8fvLvsmTMC6dHJp2Fvwja0BYL8K/58ugDxNA0PVGj5PpEMar5yhi4AFGGYL4EgD75tRgI/WQU87ZiKjJ6HFIhgX9curncB2kIJ0JoA+FIQMNOT72GFuhjcO4svanrobsMrRmcn193suXY/N6m6F+3pitxBfHPWuPKKjlZqVBzpqCdz9pXoGOk48OSYv7Zyw8roVsUw3fqJqs68LRLM/winWVhVSPabXGyX7PAAW51Nbv6M64REs+V1a+wGvK5sGhRy7lIBAIuD22tuL4/PZojST1hasKN+7cSp7F1QTi4u0yeQ2+gIclQNuhfvghzl6zcVEpOycFouSIJaJjo8jyuHkbm4I2XfALVTFHe7sLpYNNS7Mf6E6i5rHvAvtXI4UBx/LjgPOj7RWZFaotxQRk1D+N0y2xNrO4ft6mS+hrJ/+ybp1XTGdtlkpUDKjiTZkV7Z4fq9J0jtijvtxRfcPhjia50IIHtZ28wVBMCCwYzh5pR15F/XbvKCc= lillian@EDI"
# "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC7+LEQnC/nlYp7nQ4p6hUCqaGiqfsA3Mg8bSy+zA8Fj lillian@GLaDOS"
# ];
# isSystemUser = true;
# isNormalUser = false;
# group = "gitea";
# extraGroups = ["virtualMail"];
# };
#};
#sops.secrets."mailpassunhash".mode = "0440";
#sops.secrets."mailpassunhash".owner = config.users.users.virtualMail.name;
services.forgejo = {
enable = true;
#user = "gitea";
#group = "gitea";
#stateDir = "/var/lib/gitea";
#TODO: different mail passwords for different services
#mailerPasswordFile = config.sops.secrets."mailpassunhash".path;
database = {
#user = "gitea";
#name = "gitea";
type = "postgres";
};
settings = {
@ -64,13 +46,21 @@
ROOT_URL = "https://git.lillianviolet.dev/";
HTTP_PORT = 3218;
};
markup.jupyter = "
"markup.jupyter" = {
ENABLED = true;
FILE_EXTENSIONS = .ipynb
RENDER_COMMAND = jupyter nbconvert --stdout --to html --template full
IS_INPUT_FILE = true
RENDER_CONTENT_MODE = no-sanitizer
";
FILE_EXTENSIONS = ".ipynb";
RENDER_COMMAND = "${pkgs.jupyter}/bin/jupyter nbconvert --stdout --to html --template full";
IS_INPUT_FILE = true;
RENDER_CONTENT_MODE = "no-sanitizer";
};
"markup.sanitizer.jupyter0" = {
ELEMENT = "div";
ALLOW_ATTR = "class";
REGEXP = "";
};
"markup.sanitizer.jupyter0.img" = {
ALLOW_DATA_URI_IMAGES = true;
};
};
};

View file

@ -49,7 +49,7 @@
enable = true;
hostName = "nextcloud.gladtherescake.eu";
package = pkgs.nextcloud28;
package = pkgs.nextcloud29;
# Use HTTPS for links
https = true;

View file

@ -0,0 +1,23 @@
{
config,
pkgs,
inputs,
lib,
...
}: {
services.nginx = {
enable = true;
virtualHosts = {
"phanpy.gladtherescake.eu" = {
root = "${pkgs.phanpy}";
## Force HTTP redirect to HTTPS
forceSSL = true;
## LetsEncrypt
enableACME = true;
locations."/" = {
index = "index.html";
};
};
};
};
}

View file

@ -0,0 +1,39 @@
{
config,
pkgs,
...
}: {
sops.secrets."writefreely".mode = "0440";
sops.secrets."writefreely".owner = config.users.users.writefreely.name;
sops.secrets."writefreelymysql".mode = "0440";
sops.secrets."writefreelymysql".owner = config.users.users.writefreely.name;
services.writefreely = {
enable = true;
host = "writefreely.gladtherescake.eu";
nginx.enable = true;
nginx.forceSSL = true;
acme.enable = true;
# database = {
# type = "mysql";
# createLocally = true;
# passwordFile = config.sops.secrets."writefreelymysql".path;
# };
admin = {
initialPasswordFile = config.sops.secrets."writefreely".path;
name = "GLaDTheresCake";
};
settings = {
app = {
min_username_len = 2;
max_blogs = 100;
default_visibility = "public";
federation = true;
local_timeline = true;
};
server.port = 1212;
};
};
systemd.services.writefreely = {
path = [pkgs.openssl];
};
}

View file

@ -4,6 +4,7 @@
lib,
config,
pkgs,
pkgs-edge,
...
}: {
imports = [
@ -13,8 +14,12 @@
sops.age.keyFile = ../../../../../../var/secrets/keys.txt;
sops.secrets."lillian-password".neededForUsers = true;
#TODO: remove this when unneeded for freetube
nixpkgs.config.permittedInsecurePackages = [
"python3.12-youtube-dl-2021.12.17"
];
nix = {
package = pkgs.nixFlakes;
package = pkgs.lix;
gc = {
automatic = true;
dates = "weekly";
@ -33,16 +38,35 @@
experimental-features = "nix-command flakes";
# Deduplicate and optimize nix store
auto-optimise-store = true;
extra-substituters = [
"https://cache.lix.systems"
"https://nix-community.cachix.org"
"https://nixpkgs-unfree.cachix.org"
"https://0uptime.cachix.org"
];
trusted-public-keys = [
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs="
"0uptime.cachix.org-1:ctw8yknBLg9cZBdqss+5krAem0sHYdISkw/IFdRbYdE="
];
};
};
catppuccin.flavor = "macchiato";
catppuccin.enable = true;
console.catppuccin.enable = true;
home-manager.backupFileExtension = "backup";
users.users.lillian = {
isNormalUser = true;
extraGroups = ["sudo" "networkmanager" "wheel" "vboxsf" "docker"];
shell = pkgs.zsh;
hashedPasswordFile = config.sops.secrets."lillian-password".path;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGatnsrKMoZSW24Lw4meb6BAgHgeyN/8rUib4nZVT+CB lillian@EDI"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILhwA+ZdP2tEBYQNdzLHZzFHxocyeqzhXI6tFpaZA3PZ lillian@EDI"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC7+LEQnC/nlYp7nQ4p6hUCqaGiqfsA3Mg8bSy+zA8Fj lillian@GLaDOS"
];
};

View file

@ -4,6 +4,7 @@
lib,
config,
pkgs,
pkgs-edge,
...
}: {
nixpkgs = {
@ -15,39 +16,57 @@
];
};
environment.systemPackages = with pkgs; [
# Custom tools
rebuild
rebuild-no-inhibit
install-nix
update
upgrade
environment.systemPackages =
(with pkgs; [
# Custom tools
rebuild
rebuild-no-inhibit
install-nix
install-nix-no-inhibit
update
upgrade
# simple-completion-language-server
# System tools
age
alejandra
e2fsprogs
git
git-filter-repo
home-manager
htop
killall
libnotify
neofetch
oh-my-zsh
rsync
helix
wget
zsh
tldr
# System tools
age
alejandra
e2fsprogs
git
git-filter-repo
helix
home-manager
htop
killall
oh-my-zsh
rsync
tre-command
wget
zsh
tldr
# System libraries
];
# System libraries
])
++ (with pkgs-edge; [
# list of latest packages from nixpkgs master
# Can be used to install latest version of some packages
]);
# fonts.packages = with pkgs; [
# noto-fonts
# noto-fonts-emoji-blob-bin
# noto-fonts-emoji
# (nerdfonts.override {fonts = ["FiraCode" "DroidSansMono"];})
# ];
fonts = {
packages = with pkgs; [
cantarell-fonts
dejavu_fonts
fira-code
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
paratype-pt-sans
paratype-pt-mono
paratype-pt-serif
roboto
twemoji-color-font
font-awesome
atkinson-hyperlegible
];
enableDefaultPackages = false;
};
}

View file

@ -4,9 +4,9 @@
# You can change versions, add patches, set compilation flags, anything really.
# https://nixos.wiki/wiki/Overlays
modifications = final: prev: {
steam = prev.steam.override {
extraProfile = ''export LD_PRELOAD=${inputs.extest}/lib/libextest.so:$LD_PRELOAD'';
};
# steam = prev.steam.override {
# extraProfile = ''export LD_PRELOAD=${inputs.extest}/lib/libextest.so:$LD_PRELOAD'';
# };
};
# This one brings our custom packages from the 'pkgs' directory

View file

@ -3,11 +3,8 @@
stdenv,
system,
pkgs,
jq,
coreutils,
udisks,
toybox,
util-linux,
jq,
writeShellApplication,
}:
writeShellApplication
@ -16,7 +13,7 @@ writeShellApplication
name = "auto-mount";
runtimeInputs = [jq coreutils udisks util-linux toybox pkgs.steam pkgs.extest];
runtimeInputs = [pkgs.steam];
text = ''
set -euo pipefail
@ -76,7 +73,7 @@ writeShellApplication
# TODO use -ifrunning and check return value - if there was a steam process and it returns -1, the message wasn't sent
# need to retry until either steam process is gone or -ifrunning returns 0, or timeout i guess
echo "Sent URL to steam: steam://''${command}/''${arg} (steam://''${command}/''${encoded})" >> /home/lillian/steam.txt
systemd-run -M 1000@ --user --collect --wait sh -c "export LD_PRELOAD=${pkgs.extest}/lib/libextest.so:$LD_PRELOAD ${pkgs.steam}/bin/steam steam://''${command}/''${encoded@Q}"
systemd-run -M 1000@ --user --collect --wait sh -c "${pkgs.steam}/bin/steam steam://''${command}/''${encoded@Q}"
else
echo "Could not send steam URL steam://''${command}/''${arg} (steam://''${command}/''${encoded}) -- steam not running"
fi

50
pkgs/cinny/default.nix Normal file
View file

@ -0,0 +1,50 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
pkgs,
}: let
port = 2143;
configFile =
pkgs.writeText "config.json"
''
{
"defaultHomeserver": 0,
"homeserverList": [
"matrix.gladtherescake.eu"
],
"allowCustomHomeservers": false
}
'';
in
buildNpmPackage rec {
pname = "cinny";
version = "09a0a2d";
src = fetchFromGitHub {
owner = "cinnyapp";
repo = pname;
rev = "${version}";
hash = "sha256-ee8YOJ0fGy26OWXb2Uumzy68M4UpERHH3ni0q+tDY14=";
};
npmDepsHash = "sha256-zelk15/rXXjhWuHj1GsSevnyXVBeDkMJ0qZfPyejq4A=";
# The prepack script runs the build script, which we'd rather do in the build phase.
npmPackFlags = ["--ignore-scripts" "--max_old_space_size=4096"];
installPhase = ''
mkdir $out
npm run build
cp -r dist/* $out
mkdir $out/app
cp ${configFile} $out/app/config.json
'';
meta = with lib; {
description = "Yet another matrix client";
homepage = "https://cinny.in/";
license = licenses.agpl3O;
maintainers = with maintainers; [Lillian-Violet];
};
}

View file

@ -11,5 +11,7 @@ pkgs: {
update = pkgs.callPackage ./update {};
upgrade = pkgs.callPackage ./upgrade {};
restart = pkgs.callPackage ./restart {};
phanpy = pkgs.callPackage ./phanpy {};
auto-mount = pkgs.callPackage ./auto-mount {};
simple-completion-language-server = pkgs.callPackage ./simple-completion-language-server {};
}

View file

@ -16,7 +16,7 @@ writeShellApplication
set -e
pushd /tmp > /dev/null
rm -rf ./install-nix
git clone https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git ./install-nix
git clone https://codeberg.org/Lillian-Violet/NixOS-Config.git ./install-nix
pushd ./install-nix/nixos/hosts > /dev/null
echo "Please choose the hostname you are installing to from the following list:"
i=1
@ -39,9 +39,11 @@ writeShellApplication
"./disko/''${dir}/default.nix"
echo "NixOS Installing..."
sudo nixos-install --flake .#"''${dir}"
sudo nixos-install --flake .#"''${dir}"
popd > /dev/null
echo "Cleaning up repository in '/tmp/install-nix'..."
rm -rf ./install-nix
rm -rf ./install-nix
popd > /dev/null
echo "NixOS Install Succeeded!"
'';

36
pkgs/phanpy/default.nix Normal file
View file

@ -0,0 +1,36 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
}:
buildNpmPackage rec {
pname = "phanpy";
version = "2024.04.19.5145730";
src = fetchFromGitHub {
owner = "cheeaun";
repo = pname;
rev = "${version}";
hash = "sha256-+/VtvDYBRy5Y6ZmqNH3id4hph1p3323G2zeE1bqfT1Y=";
};
npmDepsHash = "sha256-9tcZ3jQg+mHeI2K/dNFs0C1k7CfHwxbx+/+I8pdO/wQ=";
# The prepack script runs the build script, which we'd rather do in the build phase.
npmPackFlags = ["--ignore-scripts"];
installPhase = ''
export PHANPY_CLIENT_NAME="Phanpy on gladtherescake.eu"
export PHANPY_WEBSITE="phanpy.gladtherescake.eu"
mkdir $out
npm run build
cp -r dist/* $out
'';
meta = with lib; {
description = "Minimalistic opinionated Mastodon web client.";
homepage = "https://phanpy.social/";
license = licenses.mit;
maintainers = with maintainers; [Lillian-Violet];
};
}

View file

@ -15,7 +15,7 @@ writeShellApplication
set -e
pushd /tmp > /dev/null
rm -rf ./rebuild
git clone https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git ./rebuild
git clone https://codeberg.org/Lillian-Violet/NixOS-Config.git ./rebuild
pushd ./rebuild > /dev/null
echo "NixOS Rebuilding..."
sudo nixos-rebuild switch --flake .#

View file

@ -17,11 +17,11 @@
}:
stdenv.mkDerivation rec {
pname = "servo";
version = "2024-01-05";
version = "2024-04-12";
src = fetchurl {
url = "https://github.com/servo/servo-nightly-builds/releases/download/${version}/servo-latest.tar.gz";
hash = "sha256-IlmoYIFk0QO0CieJ49m8PnEou1Q3w+Tk9rypI0ya2WQ=";
hash = "sha256-sMqjnFrJvlu3Dck/HdyKVzqMZxvMatlt9/5cHqzjusI=";
};
nativeBuildInputs = [

View file

@ -0,0 +1,24 @@
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "simple-completion-language-server";
version = "ff9f90bc96c347f284571bc6310bc31f95508d55";
src = fetchFromGitHub {
owner = "estin";
repo = pname;
rev = version;
hash = "sha256-qybbZXjKzKcc6UXfAjwmkkB+qEUuGQXABRbMj7bNksM=";
};
cargoHash = "sha256-VTz2Fm+PRUPM5+u9D+2TzGGIEQwb1j0Lz0WRaQ5/Yzo=";
meta = with lib; {
description = "Language server to enable word completion and snippets for Helix editor";
homepage = "https://github.com/estin/simple-completion-language-server";
license = licenses.mit;
maintainers = ["Lillian-Violet"];
};
}

View file

@ -0,0 +1 @@
/nix/store/3l0wgxsvf5sz2q9sgyj0blc1ivzg808b-simple-completion-language-server-ff9f90bc96c347f284571bc6310bc31f95508d55

View file

@ -14,13 +14,13 @@ writeShellApplication
set -e
pushd /tmp > /dev/null
rm -rf ./update
git clone forgejo@git.lillianviolet.dev:Lillian-Violet/NixOS-Config.git ./update
git clone git@codeberg.org:Lillian-Violet/NixOS-Config.git ./update
pushd ./update > /dev/null
echo "Updating flake lock..."
nix flake update
git add flake.lock
sudo nix flake check
git stage ./flake.lock
git commit -m "update flake lock"
sudo nix flake check
git push
popd > /dev/null
echo "Cleaning up repository in '/tmp/update'..."

1
result
View file

@ -1 +0,0 @@
/nix/store/a9kdf62qv1r5s0nb40a1ij9lm2vsh418-nixos-24.05.20240319.b06025f-x86_64-linux.iso