316 Commits

Author SHA1 Message Date
kenji 59656b7dc8 successful integration of jovian 2025-07-18 12:37:19 -05:00
kenji f18f33c9c3 added jovian 2025-07-18 10:56:26 -05:00
kenji 10c6f094f6 added boot configs, changed displayserver to 2025-07-18 10:40:22 -05:00
kenji a6fdaf9a27 renamed incorrect var 2025-07-18 08:47:27 -05:00
kenji 1b8e5032f9 added steamos 2025-07-18 08:33:22 -05:00
kenji aaef1dccb2 Revert "conf: added boot and steam optimizations"
This reverts commit 7ab78044b7.
2025-07-18 07:32:38 -05:00
kenji 21a61f528b added extrapackages for steam 2025-07-18 07:25:19 -05:00
kenji 7ab78044b7 conf: added boot and steam optimizations 2025-07-18 07:25:05 -05:00
kenji 28e9c06ea8 launch! 2025-07-17 21:58:51 -05:00
kenji 960ac31702 steam is no longer big picture 2025-07-17 21:37:19 -05:00
kenji f6b1976809 minor change to launching gs.sh 2025-07-17 15:10:29 -05:00
kenji f6156cad67 added launch.nix 2025-07-17 15:04:47 -05:00
kenji 88b4ff68a6 added gs.sh 2025-07-17 15:00:15 -05:00
kenji a4e2cf06e9 changed gaming special workspace to steam 2025-07-17 14:44:11 -05:00
kenji 67fa3f06ed autologin ENABLED 2025-07-16 18:04:41 -05:00
kenji 20930ea6c2 cleaned up exec-once 2025-07-16 18:04:37 -05:00
kenji deb4749489 starts on steam bigpicture 2025-07-16 17:59:45 -05:00
kenji 96b228aadc fixed 2025-07-16 17:43:34 -05:00
kenji 2dc8180d1b mod 2025-07-16 17:13:01 -05:00
kenji dd1213c5b7 added colours 2025-07-16 16:52:46 -05:00
kenji 47bd23b3dd modified caelestia-cli 2025-07-16 16:19:44 -05:00
kenji 25bba64185 test 2025-07-16 10:00:22 -05:00
kenji ffdb003aa2 added libnotify 2025-07-16 09:53:18 -05:00
kenji d3c0b74ab5 qs: add wl-screenrec 2025-07-16 09:51:50 -05:00
kenji c9b98978fa hypr: changed binds 2025-07-16 09:49:58 -05:00
kenji 7cec25fdb9 fix: steam bind 2025-07-16 09:15:26 -05:00
kenji 446cfea7dd test 2025-07-16 09:01:23 -05:00
kenji 3fd62d4525 test 2025-07-16 08:47:09 -05:00
kenji 69253992df test 2025-07-16 08:07:55 -05:00
kenji 35845cac3a added special workspace: gaming 2025-07-15 21:18:05 -05:00
kenji 33c6170c15 test 2025-07-15 17:44:14 -05:00
kenji dd36c2711a test 2025-07-14 22:42:32 -05:00
kenji e9c69c2cc1 added quickshell 2025-07-14 22:08:23 -05:00
kenji 30fbcec7f5 added app2unit 2025-07-14 21:53:48 -05:00
kenji c0f21fa798 organized 2025-07-14 21:49:43 -05:00
kenji cb61d6ad3d test 2025-07-14 21:38:45 -05:00
kenji 7588100a62 removed hardware-conf 2025-07-14 13:31:34 -05:00
kenji 5ce6b68252 nixos-hardware ADDED APFEL 2025-07-09 22:04:47 -05:00
kenji 5a6cdb3171 added steam home 2025-07-09 17:30:07 -05:00
kenji dcf30faa51 moved bottles to system 2025-07-09 17:02:46 -05:00
kenji 3096697e35 README: added protonup 2025-07-09 16:54:32 -05:00
kenji cdce0628ab added launchers for proton games 2025-07-09 16:47:40 -05:00
kenji 1c82b5eafe added protonup 2025-07-09 16:42:25 -05:00
kenji 216011d9f6 removed custom text 2025-07-09 16:34:15 -05:00
kenji 73a837925b test 2025-07-09 14:40:57 -05:00
kenji 47258d9e4d test 2025-07-09 14:24:53 -05:00
kenji 8ae075d84c added sunshine 2025-07-09 11:30:03 -05:00
kenji 6e4fe781ab added appimage "moondeck-buddy" 2025-07-09 11:10:40 -05:00
kenji dfbdf1cd87 changed mangohud ocnfig 2025-07-09 10:52:08 -05:00
kenji f947721819 added geekbench6 2025-07-09 10:40:01 -05:00
kenji c3fdb180ff setup wallpaper 2025-07-08 23:51:09 -05:00
kenji e1b503b43b added matugen 2025-07-08 23:44:13 -05:00
kenji a46fa6344d removed hdm1 2025-07-08 23:42:07 -05:00
kenji 2ab60c6047 added linuxcachyos 2025-07-08 23:33:21 -05:00
kenji 2a3c6ae6a9 added new bookmarsk 2025-07-08 23:33:11 -05:00
kenji 0181c007fe added dev.nix 2025-07-08 23:07:47 -05:00
kenji 83cdb81173 added execs 2025-07-08 23:05:40 -05:00
kenji 2580cf8aa5 converted to zsh 2025-07-08 23:05:33 -05:00
kenji de8e083e92 removed earlysetup 2025-07-08 23:05:25 -05:00
kenji 49460feb44 changed bibata to modern ice 2025-07-08 22:59:22 -05:00
kenji 4768918d0d added bibata 2025-07-08 22:40:55 -05:00
kenji a534ad610f added solaar and logitech support 2025-07-08 22:39:11 -05:00
kenji 4015222d6a cleaned up 2025-07-08 22:33:23 -05:00
kenji b23774d0a2 organized hypr config 2025-07-08 22:28:17 -05:00
kenji 58c1860ecf converted hyprsunset to service 2025-07-08 22:28:10 -05:00
kenji 302c5e11b2 fixed hyprsunset 2025-07-08 22:23:04 -05:00
kenji 757d9e523d fixed hyprsunset 2025-07-08 22:22:02 -05:00
kenji 673d824c26 added hyprsunset 2025-07-08 22:15:24 -05:00
kenji 8355d35aaf cleaned up zsh 2025-07-08 22:10:18 -05:00
kenji 1601f4b622 removed quickshell for now 2025-07-08 22:07:10 -05:00
kenji ee5165b068 added gitea 2025-07-08 22:05:36 -05:00
kenji 76138fc342 add cloudflared 2025-07-08 22:05:33 -05:00
kenji 2f1b33d070 added cloudflared 2025-07-08 22:05:30 -05:00
kenji bde12c7a04 added hyprland flake 2025-07-08 22:02:02 -05:00
kenji 658d489fd5 hyprland now uses 2025-07-08 22:01:56 -05:00
kenji 95f95e208d removed quickshell 2025-07-08 22:01:49 -05:00
kenji b5eb134f69 fixed home-manager not responding 2025-07-08 22:01:43 -05:00
kenji 6264269817 test 2025-07-08 10:11:12 -05:00
kenji 8151c56cc4 added wsaction 2025-07-08 09:56:59 -05:00
kenji 3a75206afb total revamp!! 2025-07-07 21:01:19 -05:00
kenji b5a542a37c added quickshell 2025-07-07 20:01:00 -05:00
kenji bd2465d356 test 2025-07-07 18:20:12 -05:00
kenji e5bc8801a4 test 2025-07-07 16:39:34 -05:00
kenji c97a5887df test 2025-07-07 16:25:40 -05:00
kenji ec55ac55b2 mionr fix 2025-07-07 14:42:02 -05:00
kenji 65f04a69ae test 2025-07-07 14:27:33 -05:00
kenji ad40c37d1e tret 2025-07-07 13:47:08 -05:00
lsoriano-mcm 4f3fe9be8b t\P 2025-07-05 16:12:54 -05:00
lsoriano-mcm 6f3c0e8f6c a 2025-07-05 14:07:54 -05:00
lsoriano-mcm 481fb8c6c4 re 2025-07-05 14:06:08 -05:00
lsoriano-mcm 94f5d8ba01 resadm 2025-07-05 14:05:02 -05:00
lsoriano-mcm ea18baa039 fixed formatting 2025-07-05 13:57:47 -05:00
lsoriano-mcm 1653fe3eb2 readme 2025-07-05 13:56:33 -05:00
lsoriano-mcm 162321eb28 updated lock 2025-07-05 11:28:35 -05:00
lsoriano-mcm d947870a55 added bashls for nixovim 2025-07-05 11:01:06 -05:00
lsoriano-mcm 6550d6e871 test 2025-07-05 09:22:12 -05:00
lsoriano-mcm 352f2d923b added custom apps 2025-07-04 22:52:23 -05:00
lsoriano-mcm e10deb6ae5 added fonts 2025-07-04 22:28:59 -05:00
lsoriano-mcm 90123ac18d added fonts 2025-07-04 22:25:44 -05:00
lsoriano-mcm 1bd3096d53 fix 2025-07-04 22:06:30 -05:00
lsoriano-mcm ca68b1de73 added HAKASE hostname 2025-07-04 21:46:22 -05:00
lsoriano-mcm f8386beb6c added zoxide 2025-07-04 14:39:20 -05:00
lsoriano-mcm b9f125e76a added eza 2025-07-04 11:41:59 -05:00
lsoriano-mcm 3717ecc642 added btop 2025-07-04 11:36:04 -05:00
lsoriano-mcm 377cd79704 unknown 2025-07-04 11:32:08 -05:00
lsoriano-mcm fea33ada52 fl 2025-07-03 21:13:33 -05:00
lsoriano-mcm a4cf2833bc added python package 2025-07-03 20:50:31 -05:00
lsoriano-mcm 8491971427 FIX: darwin version now works! 2025-07-03 20:45:15 -05:00
lsoriano-mcm b4f4b67a8b test 2025-07-03 16:49:45 -05:00
lsoriano-mcm f59110c87e renamed to home.nix 2025-07-03 16:34:49 -05:00
lsoriano-mcm 3dd4f2783e test 2025-07-03 15:30:58 -05:00
biscuit d8657c7eeb added heroic launcher 2025-06-25 22:24:55 -05:00
biscuit 3c4ed456cf upd 2025-06-25 11:02:03 -05:00
biscuit 551302a00e removed other configs 2025-06-25 09:18:25 -05:00
lsoriano-mcm 9aaffe2677 test 2025-06-20 19:54:34 -05:00
lsoriano-mcm 11cee2638a test 2025-06-20 19:47:25 -05:00
lsoriano-mcm e35dc3d28e test 2025-06-20 18:08:36 -05:00
biscuit b686cf7751 test 2025-06-20 11:22:25 -05:00
biscuit 7fd7cfac70 test 2025-06-20 11:19:11 -05:00
biscuit 2023828364 teset 2025-06-20 11:18:26 -05:00
biscuit 2d8ba9f7ea q 2025-06-20 08:58:14 -05:00
biscuit bc70242a99 test 2025-06-19 18:19:05 -05:00
biscuit 0eabcc4fc1 test 2025-06-19 18:13:35 -05:00
biscuit 1e301b958e update 2025-06-19 17:47:42 -05:00
biscuit 4a4f66c08e test 2025-06-19 17:38:29 -05:00
biscuit e33dbea82e test 2025-06-19 17:18:02 -05:00
biscuit 50813851cb nix: added LOGIOPS 2025-06-19 17:06:05 -05:00
biscuit b3c502fdf3 king 2025-06-19 13:59:35 -05:00
biscuit 3587a7042d test 2025-06-19 13:46:17 -05:00
biscuit cfc2f01e57 test 2025-06-19 13:38:31 -05:00
biscuit ebef97f84b test 2025-06-19 13:36:11 -05:00
biscuit 3740928c70 test 2025-06-19 13:21:32 -05:00
biscuit 435742f29c fastfetch: changed 2025-06-19 12:58:05 -05:00
biscuit 0ebe999f92 test 2025-06-19 12:39:23 -05:00
biscuit 005c744cb6 FIXED 2025-06-18 13:21:08 -05:00
biscuit a2b4b0d8ea test 2025-06-18 13:06:36 -05:00
biscuit e8c6cb073f kitty test 2025-06-18 12:54:46 -05:00
biscuit 17b01cbf1c remove kitty-catppuccin 2025-06-18 12:45:06 -05:00
biscuit 6d5cd6d78e test 2025-06-18 12:38:27 -05:00
biscuit c48d1543a4 upd 2025-06-18 12:32:05 -05:00
biscuit ac41162a6e terst 2025-06-18 12:25:27 -05:00
biscuit 74f26f5997 test 2025-06-18 12:05:52 -05:00
biscuit 0a1acae08a matugen 2025-06-18 11:37:23 -05:00
biscuit 54f2f1e8f9 test 2025-06-18 11:32:32 -05:00
biscuit a25d41100a cleaned up 2025-06-12 09:23:12 -05:00
biscuit 381830a767 cleaned up 2025-06-12 09:21:55 -05:00
biscuit d1c11014de fix 2025-06-12 09:01:15 -05:00
biscuit b41a820dcc ags: MASSIVE REVAMP 2025-06-11 20:57:02 -05:00
biscuit 38ba3a2fdb kitty: changed theme file to kanagawa 2025-06-11 19:54:08 -05:00
biscuit 998f4905b0 ags: moved pos of workspace and time 2025-06-11 19:53:59 -05:00
biscuit 9cc45e426d ags: now only shows BAR in primary monitor 2025-06-11 19:46:09 -05:00
biscuit 7053adc718 fixed swww 2025-06-11 07:24:45 -05:00
biscuit 8d6af2f936 fixed the firefox 2025-06-11 07:19:04 -05:00
biscuit f4788f863e Revert "nix: added firefox"
This reverts commit b6911bc045.
2025-06-11 07:04:30 -05:00
biscuit 2ba8639dfd testtest 2025-06-11 07:03:36 -05:00
biscuit a609216012 test 2025-06-11 06:57:42 -05:00
biscuit b6911bc045 nix: added firefox 2025-06-11 06:54:24 -05:00
biscuit 09fbbec45e test 2025-06-11 06:47:18 -05:00
biscuit b697c89aae nix: added steam
yeety mcspanky
2025-06-11 06:34:45 -05:00
biscuit 0e0b8a40c7 added hyprconf 2025-06-10 22:00:01 -05:00
lsoriano-mcm 555fea04b4 pud 2025-06-09 10:18:05 -05:00
lsoriano-mcm fee08ad3d2 add fishAliases 2025-06-09 10:07:38 -05:00
lsoriano-mcm b3e0e3e76f test 2025-06-09 10:01:57 -05:00
lsoriano-mcm 4dee2bf44f test 2025-06-09 09:58:14 -05:00
lsoriano-mcm f23d023551 test 2025-06-07 14:09:34 -05:00
lsoriano-mcm 61ac2f71d5 ignores config.local 2025-06-07 14:05:33 -05:00
lsoriano-mcm ca9e487111 changed info.nix to config.nix 2025-06-07 14:03:34 -05:00
lsoriano-mcm f8e327d46d termsize 2025-06-07 14:01:25 -05:00
lsoriano-mcm 835a7fdad3 test 2025-06-07 13:56:23 -05:00
lsoriano-mcm 6034a9797c optimize: replaced omz to antidote 2025-06-07 13:49:32 -05:00
lsoriano-mcm c204eed76e test 2025-06-07 12:18:35 -05:00
lsoriano-mcm 0abf1447af test 2025-06-07 11:24:52 -05:00
lsoriano-mcm 73ece504c9 organized better 2025-06-07 08:11:17 -05:00
lsoriano-mcm 30f2178b6f RE 2025-06-06 20:25:13 -05:00
lsoriano-mcm 5b0a8b3c49 READ 2025-06-06 20:17:01 -05:00
lsoriano-mcm da0db9551c README 2025-06-06 20:04:42 -05:00
lsoriano-mcm f1b1dcdd9e Ignore info.local.nix 2025-06-06 19:28:16 -05:00
lsoriano-mcm b3bcc0f058 Remove info.local.nix from version control 2025-06-06 19:28:05 -05:00
lsoriano-mcm 2b1bc85514 added user override configuration 2025-06-06 19:26:24 -05:00
lsoriano-mcm 6517af5889 organized 2025-06-06 16:57:47 -05:00
lsoriano-mcm 43f8d827f6 macos: neovim 2025-06-06 16:47:12 -05:00
biscuit f7d3c7a7c4 MOCHA 2025-06-06 10:28:29 -05:00
biscuit 7f7cbe74f7 t 2025-06-06 09:10:36 -05:00
biscuit e3c5d8c166 upd 2025-06-06 09:02:22 -05:00
biscuit 8957622879 upd 2025-06-06 08:38:11 -05:00
biscuit 657fde7545 test 2025-06-06 08:15:41 -05:00
biscuit f757369821 fixed 2025-06-06 07:50:10 -05:00
biscuit e623b83d68 cleaned up 2025-06-06 07:46:05 -05:00
biscuit 2b8d4a1dce upd 2025-06-06 07:41:01 -05:00
lsoriano-mcm e6103c3153 upd 2025-06-06 07:39:53 -05:00
lsoriano-mcm 6b0a342cdd added DARWIN 2025-06-06 06:50:54 -05:00
biscuit 280a2da2db cleaned up xserver 2025-06-05 16:35:58 -05:00
biscuit 363d470386 upd 2025-06-05 16:35:01 -05:00
biscuit f715f08831 uses flakes for hyprland 2025-06-05 14:54:13 -05:00
biscuit c4e0681c33 workspace now can work back and forth 2025-06-05 14:21:17 -05:00
biscuit a3121c0ce0 a 2025-06-05 13:49:30 -05:00
biscuit 6af25e5453 test 2025-06-05 09:01:04 -05:00
biscuit fd8da098ed upd 2025-06-05 08:55:54 -05:00
biscuit e83c8ded35 abc 2025-06-05 08:53:00 -05:00
biscuit 229b0041a6 fix 2025-06-05 07:52:31 -05:00
biscuit 128e6a04c2 test 2025-06-04 15:17:24 -05:00
biscuit a92159168c changed date 2025-06-04 14:32:51 -05:00
biscuit 1fb2d40aa8 added bluetooth 2025-06-03 19:31:08 -05:00
biscuit 7ec496be3d upd 2025-06-03 19:10:59 -05:00
biscuit 35a794a648 cleaned up 2025-06-03 17:19:06 -05:00
biscuit b8dfddd2e8 test 2025-06-03 17:17:03 -05:00
biscuit 4a49aba2ba MAJOR FIX: neovim now works well 2025-06-03 17:13:13 -05:00
biscuit d1bffc3952 upd 2025-06-03 17:06:27 -05:00
biscuit 8b2e901680 test 2025-06-03 17:01:20 -05:00
biscuit a5db5cc54d test 2025-06-03 11:55:29 -05:00
biscuit efede58a6d upd 2025-06-03 11:29:36 -05:00
biscuit 7df80623d5 test 2025-06-03 04:21:36 -05:00
biscuit 028df1fd35 NEO added 2025-06-03 03:55:42 -05:00
biscuit 12e64d34e6 fix 2025-06-02 15:12:37 -05:00
biscuit ba7174224c upd 2025-06-02 14:05:20 -05:00
biscuit c794974b20 fx 2025-06-02 13:32:32 -05:00
biscuit d9fdab315c test 2025-05-27 17:36:09 -05:00
biscuit b3d37d7b20 test 2025-05-27 17:22:13 -05:00
biscuit 88076292de add git 2025-05-27 16:44:19 -05:00
biscuit 25c0a328e6 fix 2025-05-27 08:15:59 -05:00
biscuit ab855f18ea removed 2025-05-26 19:30:56 -05:00
biscuit b7659157fa starship & fastfetch replaced home conf with settings 2025-05-26 19:29:10 -05:00
biscuit 608df0bd38 fix: hypridle home already exists 2025-05-26 19:15:48 -05:00
biscuit 1871ca6ef6 upd 2025-05-26 19:12:14 -05:00
biscuit d7eed2ecf6 yeet 2025-05-26 18:59:25 -05:00
biscuit 789e6786cc fix font 2025-05-26 18:54:59 -05:00
biscuit 8e9bfe9522 added rubik font 2025-05-26 18:53:15 -05:00
biscuit 0c99dfefbb organize 2025-05-21 17:57:59 -05:00
biscuit c16cedf981 upde 2025-05-21 17:54:30 -05:00
biscuit 4f0c6d3e46 README revamp 2025-05-21 17:54:27 -05:00
biscuit 752a6ad1de upd 2025-05-21 17:43:56 -05:00
biscuit 802c2aa6bf added MarkdownPreview 2025-05-21 17:28:57 -05:00
biscuit 2a6b5bc2c7 upd 2025-05-21 17:21:05 -05:00
biscuit e986b99ce7 test 2025-05-21 12:58:53 -05:00
biscuit c17dabdbd8 added users (MAJOR FIX) 2025-05-21 12:58:39 -05:00
biscuit 0ab12aabff cleaned up even more 2025-05-21 12:24:41 -05:00
biscuit 30ecca57ba cleaned up drastically 2025-05-21 12:20:32 -05:00
biscuit cd734937c0 changed biscuit to desktop 2025-05-21 11:25:59 -05:00
biscuit 477b592b06 cleaned up 2025-05-21 11:20:30 -05:00
biscuit fda9681b84 upd 2025-05-21 11:11:45 -05:00
biscuit 694042f027 changed everything to default.nix 2025-05-21 11:11:26 -05:00
biscuit 7e77b1acd4 upd 2025-05-21 11:06:24 -05:00
biscuit 6b765f1b54 organized wl 2025-05-21 11:06:09 -05:00
biscuit 97d65f2f7e added opt 2025-05-21 11:05:22 -05:00
biscuit 9186f2cc28 organized shellAliases 2025-05-21 10:56:53 -05:00
biscuit 6ae2221007 upd 2025-05-21 10:51:10 -05:00
biscuit e862ce8f9b nix: added commercial fonts 2025-05-21 09:01:53 -05:00
biscuit 6dbe009076 purge 2025-05-21 08:45:46 -05:00
biscuit 598abbf308 upd 2025-05-21 08:45:04 -05:00
biscuit 17ccf2ba8c nix 2025-05-21 08:35:48 -05:00
biscuit ca5b15b377 a 2025-05-21 00:55:15 -05:00
biscuit a11926ee85 upd 2025-05-21 00:25:39 -05:00
biscuit f19b7ab674 upd 2025-05-21 00:22:15 -05:00
biscuit 306e540a67 upd 2025-05-21 00:07:43 -05:00
biscuit 5185edce48 upd 2025-05-20 23:34:47 -05:00
biscuit b3f9882c7e upd 2025-05-20 23:20:32 -05:00
biscuit ee7b59c521 upd 2025-05-20 23:19:27 -05:00
biscuit 113a15cd69 upd 2025-05-20 23:04:23 -05:00
biscuit 2ea4f6631c upd 2025-05-20 23:00:24 -05:00
biscuit e21cf63216 upd 2025-05-20 22:55:43 -05:00
biscuit f31387ab12 upd 2025-05-20 22:43:37 -05:00
biscuit 4ec339c53b upd 2025-05-20 22:41:52 -05:00
hakase eb70a6dd52 added Monolisa font 2025-05-20 22:37:33 -05:00
biscuit a9aef32984 upd 2025-05-20 22:33:12 -05:00
biscuit 58d575ebeb added monolisa 2025-05-20 21:56:13 -05:00
biscuit be57946347 upd 2025-05-20 21:47:13 -05:00
biscuit 63c2f887db upd 2025-05-20 21:38:02 -05:00
biscuit 36222bdb63 upd 2025-05-20 21:36:34 -05:00
biscuit de69800662 upd file name 2025-05-20 21:29:10 -05:00
biscuit f2a1604009 upd 2025-05-20 21:27:50 -05:00
biscuit dfec0bc5da upd 2025-05-20 21:23:55 -05:00
biscuit 45ce1678d1 updd 2025-05-20 21:22:46 -05:00
biscuit 5022c31815 wofi 2025-05-20 18:53:30 -05:00
biscuit 2534d83bdd upd 2025-05-20 18:19:55 -05:00
biscuit 3e7917aee3 hypr: removes redundant delays 2025-05-20 14:32:32 -05:00
biscuit 530a7c9777 upd 2025-05-20 14:22:02 -05:00
biscuit a3b195da1f fixed cursor not appearing 2025-05-20 14:04:26 -05:00
biscuit fa1a376d85 removed plymouth 2025-05-20 12:25:37 -05:00
biscuit 25d034d7dc cleaned up 2025-05-20 12:20:52 -05:00
biscuit a0572f8a95 added variable 2025-05-20 12:02:26 -05:00
biscuit 6e32ac5ceb added waybar 2025-05-20 11:53:30 -05:00
biscuit 5278908420 added vpn wg 2025-05-20 11:35:53 -05:00
biscuit 6044c4e063 added vpn 2025-05-20 11:28:28 -05:00
biscuit d0532495e0 added cursor 2025-05-20 11:05:33 -05:00
biscuit 3339960062 add cursor 2025-05-20 11:00:22 -05:00
biscuit 77854b1c69 upd 2025-05-20 10:58:07 -05:00
biscuit b1ca82da64 upd 2025-05-20 10:56:16 -05:00
biscuit 72bc56a934 upd 2025-05-20 10:49:41 -05:00
biscuit aac77be6ec upd 2025-05-20 10:42:30 -05:00
biscuit 6404fbd36d upd 2025-05-20 10:27:15 -05:00
biscuit f442452a2e added tldr 2025-05-20 07:56:58 -05:00
biscuit 35f515e828 upd fastfetch 2025-05-20 07:41:30 -05:00
biscuit 3215644a87 added btop 2025-05-20 07:30:55 -05:00
biscuit 05198ddeab upd 2025-05-20 07:29:53 -05:00
biscuit 67402c3e54 upd 2025-05-20 07:23:25 -05:00
biscuit 78abaed26f upd 2025-05-20 07:08:13 -05:00
biscuit 64a56ea346 added starship 2025-05-20 06:57:18 -05:00
biscuit 453bc1f249 upd 2025-05-20 06:31:39 -05:00
biscuit 7fc61d7d27 cleaned up 2025-05-20 05:56:07 -05:00
biscuit d9edf3f389 added gdm 2025-05-19 21:40:20 -05:00
biscuit 4a29a676b5 hypr: added moving via keyboard 2025-05-19 21:37:21 -05:00
biscuit 6a61e05ae7 added modules for ags 2025-05-19 21:29:23 -05:00
biscuit ce1301af38 added ags 2025-05-19 21:13:58 -05:00
biscuit dd3caf07d2 added fastfetch 2025-05-19 20:52:42 -05:00
biscuit c62421cfb6 added jetbrainsmono-nerdfont 2025-05-19 20:48:36 -05:00
biscuit d4026e1559 added firacode font family 2025-05-19 20:38:46 -05:00
biscuit 53346c17ea added fonts 2025-05-19 20:33:56 -05:00
biscuit 52356a4a87 upd 2025-05-19 20:30:17 -05:00
biscuit c603389ebc upd 2025-05-19 20:27:33 -05:00
biscuit 2d8e528b6f added clipboard 2025-05-19 19:22:42 -05:00
biscuit 87dea595d3 nix: changed sha256 2025-05-19 19:17:54 -05:00
biscuit 9629dd0ba0 up 2025-05-19 19:14:18 -05:00
biscuit 9a722c915a u 2025-05-19 19:08:25 -05:00
biscuit 65e7e86739 (hypr) more configs added 2025-05-19 18:42:40 -05:00
biscuit 1b0dcd2863 nix: removed impure 2025-05-19 18:12:57 -05:00
biscuit c1e4ef47f3 initialization 2025-05-19 17:53:19 -05:00
101 changed files with 3560 additions and 1304 deletions
View File
+48 -4
View File
@@ -1,6 +1,50 @@
# Getting Started
# Nix Sakamoto
A rewrite of the original Sakamoto NixOS configuration.
`nixos-rebuild switch --flake LOCATION#HOST_NAME`
`home-manager switch --flake LOCATION#HOST_NAME`
## Installation
Installing Sakamoto Nix configuration may vary on your current operating system.
Change `LOCATION` and `HOST_NAME`.
| Hosts | Description |
|----------|--------------|
| hakase | gaming desktop (linux) |
| sakamoto | \[unavailable] server that uses containers (linux) |
| nano | \[unavailable] windows configuration |
| macos | macos configuration |
**Note: Replace `${Hosts}` with one of the options from the table above.**
### Linux Installation
1. Install [Nix](https://nixos.org).
2. Clone this directory.
```sh
$ git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos
```
3. Create a hardware-configuration.conf
```sh
$ sudo nixos-generate-config --dir ~/.config/nixos/hosts/${Hosts}/
```
4. ⚠️ Modify `config.nix` that suits your configuration. **Be sure to edit `config.nix`! Most especially `myConfig.essentials.Username`. Otherwise, your OS could break!!!**
5. Rebuild.
```sh
$ sudo nixos-rebuild switch --flake ~/.config/nixos/hosts/#${Hosts}
```
6. Install unstable channel (fixes `pkgs.fish` misconfiguration).
```sh
$ nix-channel --add https://nixos.org/channels/nixos-unstable nixos nix-channel --update
```
7. (Optional) You can install `proton-ge` by running the following command:
```sh
protonup
```
### MacOS (Darwin) Installation
1. Install [Nix](https://nixos.org).
2. Clone this directory.
```sh
$ git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos
```
3. ⚠️ Modify `config.nix` that suits your configuration. **Be sure to edit `config.nix`! Most especially `myConfig.essentials.Username`. Otherwise, configuration would not work!!!**
4. Rebuild.
```sh
$ sudo nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake ~/.config/nixos#macos
```
+85
View File
@@ -0,0 +1,85 @@
{
myConfig = {
essentials = {
# !!! replace it with your own, else system might malfunction.
Username = "kenji";
};
general = {
Terminal = {
font = "JetBrainsMono Nerd Font";
size = "18";
shell = "fish"; # or zsh
aliases = {};
};
allowUnfree = true;
};
nixos = {
Hostname = "hakase";
Timezone = "America/Chicago";
Boot = {
mode = "systemd"; # systemd or grub
};
Gaming = {
enable = true;
};
Apps = {
packages = pkgs:
with pkgs; [
jellyfin-media-player
goverlay
geekbench_6
gparted
ntfs3g
todoist
feishin
discord
xfce.thunar
];
};
Hyprland = {
enable = false;
monitors = [
"DP-1, highres@165,0x1080,1,vrr,1"
"DP-2, highres@highrr,0x0,1"
"HDMI-A-1, 1920x1080@120, 20000x20000,1"
# "HDMI-A-1, disabled"
];
};
Git = {
user = "";
email = "";
defaultBranch = "master";
};
};
optionals = {
Builds = {
trustedUsers = [
"@groups"
];
buildMachines = [
{
hostName = "";
sshUser = "";
sshKey = "";
system = "";
supportedFeatures = ["big-parallel" "kvm" "nixos-test"];
}
];
};
Ssh = {
extraConfig = ''
Host macair
User biscuit
HostName 192.168.68.81
Host gitea.sakamoto.dev
User kenji
ProxyCommand cloudflared access ssh --hostname %h
HostName gitea.sakamoto.dev
'';
};
};
};
}
Generated
+890 -137
View File
File diff suppressed because it is too large Load Diff
+89 -78
View File
@@ -1,102 +1,113 @@
{
description = "A very basic flake";
description = "A rewrite of the original Sakamoto NixOS config.";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; # ensures version follows nixpkgs
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
jovian = {
url = "github:Jovian-Experiments/Jovian-NixOS";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland.url = "github:hyprwm/Hyprland";
hyprland.inputs.nixpkgs.follows = "nixpkgs";
astal.url = "github:aylur/astal";
astal.inputs.nixpkgs.follows = "nixpkgs";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
ags.url = "github:aylur/ags";
ags.inputs.nixpkgs.follows = "nixpkgs";
darwin = {
url = "github:lnl7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprpanel.url = "github:Jas-SinghFSU/Hyprpanel";
hyprpanel.inputs.nixpkgs.follows = "nixpkgs";
nixovim = {
url = "git+https://git.sakamoto.dev/kenji/nixovim.git";
inputs.nixpkgs.follows = "nixpkgs";
};
matugen = {
url = "github:/InioX/Matugen";
inputs.nixpkgs.follows = "nixpkgs";
};
quickshell = {
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
inputs.nixpkgs.follows = "nixpkgs";
};
caelestia-shell = {
url = "git+https://git.sakamoto.dev/kenji/caelestia-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
flake-utils,
home-manager,
ags,
astal,
hyprpanel,
darwin,
...
} @ inputs: let
lib = nixpkgs.lib;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
# TODO: migrate to another nix file.
# packages.${system}.default = pkgs.stdenv.mkDerivation {
# pname = "marble";
# src = ./marble;
# dontUnpack = true;
#
# nativeBuildInputs = with pkgs; [
# wrapGAppsHook
# gobject-introspection
# ];
#
# buildInputs =
# (with astal.packages.${system}; [
# astal3
# io
# apps
# battery
# bluetooth
# hyprland
# mpris
# network
# notifd
# powerprofiles
# tray
# wireplumber
# ])
# ++ (with pkgs; [
# gjs
# ]);
#
# preFixup = ''
# gappsWrapperArgs+=(
# --prefix PATH : ${with pkgs;
# lib.makeBinPath [
# dart-sass
# fzf
# ]}
# )
# '';
#
# installPhase = ''
# mkdir -p $out/bin
# install $src $out/bin/marble
# '';
# }; # END TODO
config = import ./config.nix;
nixosConfigurations = {
biscuit = lib.nixosSystem {
specialArgs = {inherit inputs system;};
mkArgs = system:
{
inherit inputs system;
}
// config;
systems = ["x86_64-linux" "aarch64-linux"];
in
flake-utils.lib.eachSystem systems (system: let
pkgs = import nixpkgs {
inherit system;
modules = [
./nixos/configuration.nix
];
config.allowUnfree = true;
};
};
homeConfigurations = {
biscuit = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs {
inherit system;
overlays = [inputs.hyprpanel.overlay];
args = mkArgs system;
in {
})
// {
nixosConfigurations = {
hakase = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = mkArgs "x86_64-linux";
modules = [
./hosts/hakase/configuration.nix
];
};
};
homeConfigurations = {
hakase = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
extraSpecialArgs = mkArgs "x86_64-linux";
};
modules = [
./home/hakase.nix
];
};
};
darwinConfigurations = {
macos = darwin.lib.darwinSystem {
system = "aarch64-darwin";
specialArgs = mkArgs "aarch64-darwin";
modules = [
./hosts/macos/darwin.nix
];
};
# inherit pkgs;
extraSpecialArgs = {inherit inputs system;};
modules = [./home-manager/home.nix];
};
};
};
}
Executable
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
set -xeuo pipefail
gamescopeArgs=(
--adaptive-sync # VRR support
--hdr-enabled
--mangoapp # performance overlay
--rt
--steam
)
steamArgs=(
-pipewire-dmabuf
-tenfoot
)
mangoConfig=(
cpu_temp
gpu_temp
ram
vram
)
mangoVars=(
MANGOHUD=1
MANGOHUD_CONFIG="$(IFS=,; echo "${mangoConfig[*]}")"
)
export "${mangoVars[@]}"
exec gamescope "${gamescopeArgs[@]}" -- steam "${steamArgs[@]}"
-26
View File
@@ -1,26 +0,0 @@
{
inputs, outputs, lib, config, pkgs, ...
}: {
imports = [
../modules/editor.nix
../modules/terminal.nix
../modules/wayland.nix
];
home = {
username = "biscuit";
homeDirectory = "/home/biscuit";
};
home.packages = [];
home.sessionVariables = {};
programs.git.enable = true;
programs.neovim.enable = true;
systemd.user.startServices = "sd-switch";
programs.home-manager.enable = true;
home.stateVersion = "23.05";
}
+15
View File
@@ -0,0 +1,15 @@
{
config,
pkgs,
inputs,
...
}: {
imports = [
../modules/home/terminal.nix
];
programs.home-manager.enable = true;
home.packages = [];
home.stateVersion = "25.11";
}
+16
View File
@@ -0,0 +1,16 @@
{
pkgs,
inputs,
...
}: let
info = import ../config.nix;
in {
imports = [
# inputs.chaotic.homeManagerModules.default
../modules/home/desktop.nix
../modules/home/terminal.nix
];
# nix.package = pkgs.nix;
home.packages = info.myConfig.nixos.Apps.packages pkgs;
home.stateVersion = "25.05";
}
+186
View File
@@ -0,0 +1,186 @@
{
pkgs,
myConfig,
inputs,
lib,
specialArgs,
...
}: {
imports = [
inputs.home-manager.nixosModules.home-manager
inputs.chaotic.nixosModules.default
./hardware-configuration.nix
../../modules/default/desktop.nix
../../modules/default/dev.nix
../../modules/default/remote.nix
];
environment.systemPackages = with pkgs; [
pavucontrol
wl-clipboard
wget
protontricks
];
users = {
defaultUserShell = pkgs.${myConfig.general.Terminal.shell};
users = {
${myConfig.essentials.Username} = {
isNormalUser = true;
extraGroups = ["wheel" "networkmanager" "input" "video"];
initialHashedPassword = "$y$j9T$NHFtSwF4NJtEmgMjy4Xdg.$9WQltjEx3eEfZ7GbpGLW8lBhJtiXPOeIawrxdmx0.vB";
useDefaultShell = true;
packages = [];
};
};
};
home-manager = {
backupFileExtension = "backup";
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
users.${myConfig.essentials.Username} = import ../../home/hakase.nix;
};
nixpkgs.config.allowUnfree = myConfig.general.allowUnfree;
hardware.logitech.wireless.enable = true;
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
hardware.bluetooth.settings = {
General = {
MultiProfile = "multiple";
FastConnectable = true;
};
};
hardware.graphics = {
enable = true;
enable32Bit = true;
};
i18n.defaultLocale = "en_US.UTF-8";
time.timeZone = "${myConfig.nixos.Timezone}";
boot.loader = {
systemd-boot = lib.mkIf (myConfig.nixos.Boot.mode == "systemd") {
enable = true;
};
grub = lib.mkIf (myConfig.nixos.Boot.mode == "grub") {
efiSupport = true;
enable = true;
device = "nodev";
useOSProber = true;
};
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
};
programs.ssh.extraConfig = myConfig.optionals.Ssh.extraConfig;
programs.bash = {
interactiveShellInit = ''
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
fi
'';
};
programs = {
zsh.enable = true;
fish.enable = true;
};
services = {
displayManager.sessionPackages = [inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland];
# getty.autologinUser = "${myConfig.essentials.Username}";
# greetd = {
# enable = true;
# settings.default_session = {
# user = "${myConfig.essentials.Username}";
# command = "Hyprland";
# };
# };
seatd.enable = true;
upower.enable = true;
scx.enable = true; # by default uses scx_rustland scheduler
libinput.enable = true;
blueman.enable = true;
printing.enable = true;
openssh.enable = true;
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# lowLatency = {
# enable = true;
# quantum = 64;
# rate = 48000;
# };
};
};
# make pipewire realtime-capable
security.rtkit.enable = true;
nix = {
distributedBuilds = true;
settings = {
builders-use-substitutes = true;
trusted-users = myConfig.optionals.Builds.trustedUsers;
experimental-features = ["nix-command" "flakes"];
};
};
console = {
earlySetup = false;
font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz";
packages = with pkgs; [terminus_font];
useXkbConfig = true;
};
networking = {
networkmanager.enable = true;
firewall = {
enable = true;
allowedTCPPorts = [22 80];
allowedUDPPorts = [53];
};
proxy.default = null;
proxy.noProxy = null;
};
boot.loader.timeout = 0;
boot.loader.limine.maxGenerations = 5;
hardware.amdgpu.initrd.enable = true;
boot.kernelParams = ["quiet"];
boot.kernelPackages = pkgs.linuxPackages_cachyos;
boot.kernel.sysctl = {
"kernel.split_lock_mitigate" = 0;
"kernel.nmi_watchdog" = 0;
"kernel.sched_bore" = "1";
};
boot.initrd = {
systemd.enable = true;
kernelModules = [];
verbose = false;
};
boot.plymouth.enable = true;
boot.consoleLogLevel = 0;
systemd.extraConfig = "DefaultTimeoutStopSec=5s";
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
system.stateVersion = "25.05";
}
+47
View File
@@ -0,0 +1,47 @@
# 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")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/532ac73e-1370-4e4d-9d5a-15033de0b96d";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/1368-D3F3";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/780aa81f-c4d6-478b-9c51-2d60362fdb07";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/b02ef55c-4caf-4a24-a6a2-fb8001eafe22"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp11s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp10s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
+47
View File
@@ -0,0 +1,47 @@
{
pkgs,
myConfig,
inputs,
system,
mkArgs,
...
}: {
imports = [
../../modules/default/darwin.nix
inputs.home-manager.darwinModules.home-manager
];
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = [];
# Auto upgrade nix package and the daemon service.
# services.nix-daemon.enable = true;
# services.karabiner-elements.enable = true;
# nix.package = pkgs.nix;
# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";
nix.settings.trusted-users = myConfig.optionals.Builds.trustedUsers;
# Create /etc/zshrc that loads the nix-darwin environment.
programs.zsh.enable = true; # default shell on catalina
programs.fish.enable = true;
# $ darwin-rebuild changelog
system.stateVersion = 5;
# The platform the configuration will be used on.
nixpkgs.hostPlatform = "aarch64-darwin";
security.pam.services.sudo_local.touchIdAuth = true;
users.users.${myConfig.essentials.Username} = {
name = "${myConfig.essentials.Username}";
home = "/Users/${myConfig.essentials.Username}";
# shell = pkgs.${myConfig.general.terminal.Shell}; # no support for nix-darwin, but can be changed via chsh.
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = mkArgs system;
home-manager.users.${myConfig.essentials.Username} = import ../../home/darwin.nix;
}
+169
View File
@@ -0,0 +1,169 @@
{
config,
pkgs,
lib,
myConfig,
inputs,
...
}: {
imports = [
# Include the results of the hardware scan.
inputs.chaotic.nixosModules.default
./hardware-configuration.nix
];
nix.settings.experimental-features = ["nix-command" "flakes"];
nixpkgs.config.allowUnfree = true;
####################
# Boot & Kernel #
####################
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.timeout = 0;
boot.loader.limine.maxGenerations = 5;
hardware.amdgpu.initrd.enable = true;
boot.kernelParams = ["quiet"];
boot.kernelPackages = pkgs.linuxPackages_cachyos;
boot.kernel.sysctl = {
"kernel.split_lock_mitigate" = 0;
"kernel.nmi_watchdog" = 0;
"kernel.sched_bore" = "1";
};
boot.initrd = {
systemd.enable = true;
kernelModules = [];
verbose = false;
};
boot.plymouth.enable = true;
boot.consoleLogLevel = 0;
systemd.extraConfig = "DefaultTimeoutStopSec=5s";
################
# FileSystems #
################
# fileSystems."/" = {
# options = ["compress=zstd"];
# };
############
# Network #
############
networking = {
networkmanager.enable = true;
firewall.enable = false;
hostName = "nixos";
};
#################
# Bluetooth #
#################
hardware.bluetooth.enable = true;
hardware.bluetooth.settings = {
General = {
MultiProfile = "multiple";
FastConnectable = true;
};
};
#################
# Sound & RTKit #
#################
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
########################
# Graphical & Greetd #
########################
services.xserver.enable = false;
services.getty.autologinUser = "steamos";
services.greetd = {
enable = true;
settings.default_session = {
user = "${myConfig.essentials.Username}";
command = "steam-gamescope > /dev/null 2>&1";
};
};
########################
# Programs & Gaming #
########################
services.automatic-timezoned.enable = true;
services.flatpak.enable = true;
xdg.portal.enable = true;
xdg.portal.config.common.default = "*";
xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-gtk];
# programs.steam.gamescopeSession.args = ["-w 1920" "-h 1080" "-r 120" "--xwayland-count 2" "-e" "--hdr-enabled" "--mangoapp"];
programs = {
appimage = {
enable = true;
binfmt = true;
};
fish = {enable = true;};
mosh = {enable = true;};
tmux = {enable = true;};
gamescope.capSysNice = true;
steam = {
enable = true;
gamescopeSession.enable = true;
extraCompatPackages = with pkgs; [proton-ge-bin];
extraPackages = with pkgs; [
mangohud
gamescope-wsi
];
};
};
environment.sessionVariables = {
PROTON_USE_NTSYNC = "1";
ENABLE_HDR_WSI = "1";
DXVK_HDR = "1";
PROTON_ENABLE_AMD_AGS = "1";
PROTON_ENABLE_NVAPI = "1";
ENABLE_GAMESCOPE_WSI = "1";
STEAM_MULTIPLE_XWAYLANDS = "1";
};
###################
# Virtualization #
###################
virtualisation.docker.enable = true;
virtualisation.docker.enableOnBoot = false;
virtualisation.libvirtd.enable = true;
###############
# Users #
###############
users.users.${myConfig.essentials.Username} = {
isNormalUser = true;
description = "SteamOS user";
extraGroups = ["networkmanager" "wheel" "docker" "video" "seat" "audio" "libvirtd"];
# password = "steamos";
};
#################
# Security #
#################
security.sudo.wheelNeedsPassword = false;
security.polkit.enable = true;
services.seatd.enable = true;
services.openssh.enable = true;
######################
######################
########################
# System State Version #
########################
system.stateVersion = "25.05";
}
@@ -8,24 +8,30 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/8552e23a-af9f-4af8-947f-9ea6ff1e7195";
fsType = "ext4";
{ device = "/dev/disk/by-uuid/532ac73e-1370-4e4d-9d5a-15033de0b96d";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/00BB-80E9";
{ device = "/dev/disk/by-uuid/1368-D3F3";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/780aa81f-c4d6-478b-9c51-2d60362fdb07";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/2a916b88-8039-481b-9c30-4edd0f329eb3"; }
[ { device = "/dev/disk/by-uuid/b02ef55c-4caf-4a24-a6a2-fb8001eafe22"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
@@ -33,9 +39,9 @@
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp11s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp10s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
+5
View File
@@ -0,0 +1,5 @@
{
imports = [
../../packages/python/default.nix
];
}
+19
View File
@@ -0,0 +1,19 @@
{
lib,
myConfig,
...
}: {
imports =
[
../../packages/hyprland/default.nix
../../packages/matugen/default.nix
../../packages/quickshell/default.nix
]
++ [
../../packages/steam/default.nix
../../packages/bottles/default.nix
]
++ lib.optionals (myConfig.nixos.Gaming.enable == true) [
../../packages/steam/jovian.nix
];
}
+5
View File
@@ -0,0 +1,5 @@
{
imports = [
../../packages/python/default.nix
];
}
+4
View File
@@ -0,0 +1,4 @@
{
imports = [
];
}
-6
View File
@@ -1,6 +0,0 @@
{ ... }: {
imports = [
../packages/nvim/default.nix
];
}
+26
View File
@@ -0,0 +1,26 @@
{
imports =
[
../../packages/fonts/home.nix
../../packages/firefox/home.nix
../../packages/hyprland/home.nix
../../packages/hyprlock/home.nix
../../packages/hypridle/home.nix
../../packages/quickshell/home.nix
../../packages/swww/home.nix
../../packages/hyprsunset/home.nix
../../packages/matugen/home.nix
../../packages/rofi/home.nix
../../packages/bibata/home.nix
]
++ [
../../packages/solaar/home.nix
]
++ [
../../packages/mangohud/home.nix
../../packages/protonup/home.nix
../../packages/lutris/home.nix
../../packages/steam/home.nix
];
}
+6
View File
@@ -0,0 +1,6 @@
{
imports = [
../../packages/moondeck-buddy/appimage.nix
../../packages/sunshine/default.nix
];
}
+19
View File
@@ -0,0 +1,19 @@
{
imports = [
../../packages/fish/home.nix
../../packages/kitty/home.nix
../../packages/neovim/home.nix
../../packages/starship/home.nix
../../packages/fastfetch/home.nix
../../packages/zsh/home.nix
../../packages/zoxide/home.nix
../../packages/fonts/home.nix
../../packages/git/home.nix
../../packages/btop/home.nix
../../packages/eza/home.nix
../../packages/cloudflared/home.nix
];
}
-11
View File
@@ -1,11 +0,0 @@
{ ... }: {
imports = [
../system/firefox/default.nix
../system/astal/default.nix
../system/hyprland/default.nix
../system/fonts/default.nix
../system/cursor/default.nix
../system/development/default.nix
../system/theme/default.nix
];
}
-7
View File
@@ -1,7 +0,0 @@
{ pkgs, ... }: {
imports = [
../packages/zsh/default.nix
../packages/kitty/default.nix
../packages/fastfetch/default.nix
];
}
-8
View File
@@ -1,8 +0,0 @@
{ ... }: {
imports = [
../packages/hyprland/default.nix
../packages/waybar/default.nix
../packages/ags/default.nix
];
}
-105
View File
@@ -1,105 +0,0 @@
{ config, pkgs, inputs, ... }: {
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../modules/system.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "nixos"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Enable networking
networking.networkmanager.enable = true;
# Enable bluetooth
hardware.bluetooth.enable = true;
services.blueman.enable = true;
# Set your time zone.
time.timeZone = "America/Chicago";
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8"; LC_TIME = "en_US.UTF-8";
};
# Configure keymap in X11
services.xserver.xkb = {
layout = "us";
variant = "";
};
# Define a user account. Don't forget to set a password with passwd.
users = {
defaultUserShell = pkgs.bash;
users.biscuit = {
isNormalUser = true;
description = "Biscuit";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh;
packages = with pkgs; [];
};
};
# List packages installed in system profile.
environment.systemPackages = with pkgs; [
wl-clipboard
vim # Default editor
wget
git
home-manager
zsh
p7zip
btop
libnotify
astal.apps
];
environment.sessionVariables = {
};
# Enable the OpenSSH daemon.
services.openssh.enable = true;
# Enable non-bash shell
programs.zsh.enable = true;
### ----------------------------------------
### DESKTOP START
services.xserver.displayManager.gdm.enable = true;
hardware = {
# pulseaudio.enable = true;
graphics.enable = true;
nvidia.modesetting.enable = false;
};
### DESKTOP END
### ----------------------------------------
# Enable experimental features
nix.settings.experimental-features = [ "nix-command" "flakes" ];
#nixpkgs = {
# overlays = [
# (final: prev: {
# nvchad = inputs.nvchad4nix.packages.${pkgs.system}.nvchad;
#})
#];
#};
# System state version
system.stateVersion = "24.11"; # Ensure this matches your NixOS version
}
+5 -1
View File
@@ -9,5 +9,9 @@ App.start({
print(request)
res("ok")
},
main: () => App.get_monitors().map(Bar),
main: () => {
const monitors = App.get_monitors()
const primary = monitors.find(m => m.primary) || monitors[0]
return Bar(primary)
}
})
+3
View File
@@ -0,0 +1,3 @@
$background: #131318;
$foreground: #e4e1e9;
$primary: #bec2ff;
+40 -4
View File
@@ -1,8 +1,27 @@
@use "sass:color";
@use "./colors" as *;
$bg: #212223;
$fg: #f1f1f1;
$accent: #378DF7;
// default
// $bg: #212223;
// $fg: #f1f1f1;
// $accent: #378DF7;
// $radius: 7px;
// Kanagawa Theme
// $bg: #1F1F28;
// $fg: #DCD7BA;
// $accent: #C0A36E;
// $radius: 7px;
// mstcl
// $bg: #121212;
// $fg: #f1f1f1;
// $accent: #C0A36E;
// $radius: 7px;
$bg: $background;
$fg: $foreground;
$accent: $primary;
$radius: 7px;
window.Bar {
@@ -12,6 +31,7 @@ window.Bar {
color: $fg;
font-size: 1.1em;
font-weight: bold;
font-family: "JetBrainsMono Nerd Font";
label {
margin: 0 8px;
@@ -54,8 +74,24 @@ window.Bar {
}
}
.Time {
.TimeHM {
font-weight: bold;
color: $accent;
}
.TimeDate {
// color: color.adjust($fg, $lightness: -10%);
color: $fg;
opacity: 0.85;
font-weight: normal;
}
}
.FocusedClient {
color: $accent;
color: color.adjust($fg, $lightness: -30%);
opacity: 0.7;
}
.Media .Cover {
+35 -19
View File
@@ -124,27 +124,42 @@ function Workspaces() {
}
function FocusedClient() {
const hypr = Hyprland.get_default()
const focused = bind(hypr, "focusedClient")
const hypr = Hyprland.get_default();
const focused = bind(hypr, "focusedClient");
return <box
className="Focused"
visible={focused.as(Boolean)}>
{focused.as(client => (
client && <label label={bind(client, "title").as(String)} />
))}
</box>
return (
<box className="FocusedClient" visible={focused.as(Boolean)}>
{focused.as(client => {
if (!client) return null;
return (
<label
label={bind(client, "title").as(title => {
return title.length > 40
? title.slice(0, 37) + "..."
: title;
})}
/>
);
})}
</box>
);
}
function Time({ format = "%H:%M %a %b %e" }) {
function Time({ format = "%H:%M|%a %b %d" }) {
const time = Variable<string>("").poll(1000, () =>
GLib.DateTime.new_now_local().format(format)!)
GLib.DateTime.new_now_local().format(format)!
);
return <label
className="Time"
onDestroy={() => time.drop()}
label={time()}
/>
return bind(time).as(str => {
const [hm, date] = str.split("|");
return (
<box className="Time">
<label className="TimeHM" label={hm} />
<label className="TimeDate" label={date} />
</box>
);
});
}
export default function Bar(monitor: Gdk.Monitor) {
@@ -157,10 +172,11 @@ export default function Bar(monitor: Gdk.Monitor) {
anchor={TOP | LEFT | RIGHT}>
<centerbox>
<box hexpand halign={Gtk.Align.START}>
<Time />
<Workspaces />
<FocusedClient />
</box>
<box>
<Workspaces />
<Time />
</box>
<box hexpand halign={Gtk.Align.END} >
<SysTray />
-45
View File
@@ -1,45 +0,0 @@
{
inputs,
pkgs,
system,
...
}: {
# add the home manager module
imports = [
inputs.ags.homeManagerModules.default
# inputs.astal.homeManagerModules.default
];
home.packages = [
# inputs.astal.packages.${system}.default
];
programs.ags = {
enable = true;
# symlink to ~/.config/ags
configDir = ./custom;
# additional packages to add to gjs's runtime
extraPackages = with inputs.ags.packages.${pkgs.system}; [
apps
auth
battery
bluetooth
hyprland
mpris
network
notifd
powerprofiles
tray
wireplumber
pkgs.fzf
pkgs.dart-sass
pkgs.esbuild
];
};
# programs.astal = {
# enable = true;
# };
}
Submodule packages/ags/epik-shell deleted from 9002206c8b
+28
View File
@@ -0,0 +1,28 @@
{
inputs,
pkgs,
system,
...
}: {
imports = [inputs.ags.homeManagerModules.default];
programs.ags = {
enable = true;
configDir = ./custom;
extraPackages = let
agsPkgs = inputs.ags.packages.${system};
in
with pkgs; [
agsPkgs.battery
agsPkgs.hyprland
agsPkgs.mpris
agsPkgs.wireplumber
agsPkgs.notifd
agsPkgs.apps
agsPkgs.network
agsPkgs.tray
fzf
];
};
}
+5
View File
@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
bibata-cursors
];
}
@@ -1,10 +1,5 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
gcc
rustc
cargo
nodejs
python313
busybox
bottles
];
}
+9
View File
@@ -0,0 +1,9 @@
{
programs.btop = {
enable = true;
settings = {
vim_keys = true;
theme_background = false;
};
};
}
+5
View File
@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
cloudflared
];
}
+12
View File
@@ -0,0 +1,12 @@
{pkgs, ...}: {
programs.eza = {
enable = true;
git = true;
colors = "auto";
icons = "auto";
enableZshIntegration = true;
enableFishIntegration = true;
enableBashIntegration = true;
};
}
-3
View File
@@ -1,3 +0,0 @@
{ ... }: {
programs.fastfetch.enable = true;
}
+131
View File
@@ -0,0 +1,131 @@
{
programs.fastfetch = {
enable = true;
settings = {
logo = {
padding = {
top = 2;
left = 1;
right = 2;
};
};
display = {
separator = " ";
};
modules = [
# Title
{
type = "title";
format = "{#1} {#}{user-name-colored}";
}
# System Information Header
{
type = "custom";
format = "{#1} {#}System Information";
}
{
type = "os";
key = " {#keys}󰍹 OS";
}
{
type = "kernel";
key = " {#keys}󰒋 Kernel";
}
{
type = "uptime";
key = " {#keys}󰅐 Uptime";
}
{
type = "packages";
key = " {#keys}󰏖 Packages";
format = "{all}";
}
{
type = "custom";
format = "{#1}";
}
# Desktop Environment
{
type = "custom";
format = "{#1} {#}Desktop Environment";
}
{
type = "de";
key = " {#keys}󰧨 DE";
}
{
type = "wm";
key = " {#keys}󱂬 WM";
}
{
type = "wmtheme";
key = " {#keys}󰉼 Theme";
}
{
type = "display";
key = " {#keys}󰹑 Resolution";
}
{
type = "shell";
key = " {#keys}󰞷 Shell";
}
{
type = "terminalfont";
key = " {#keys}󰛖 Font";
}
{
type = "custom";
format = "{#1}";
}
# Hardware Information
{
type = "custom";
format = "{#1} {#}Hardware Information";
}
{
type = "cpu";
key = " {#keys}󰻠 CPU";
}
{
type = "gpu";
key = " {#keys}󰢮 GPU";
}
{
type = "memory";
key = " {#keys}󰍛 Memory";
}
{
type = "disk";
key = " {#keys}󰋊 Disk (/)";
folders = "/";
}
{
type = "custom";
format = "{#1}";
}
# Colors
{
type = "colors";
key = "";
symbol = "circle";
}
# Footer
{
type = "custom";
format = "{#1}";
}
];
};
};
}
+113
View File
@@ -0,0 +1,113 @@
{
programs.firefox = {
enable = true;
languagePacks = [
"en-US"
];
profiles = {
hakase = {
search.force = true;
isDefault = true;
search.default = "ddg";
settings = {
"browser.contentblocking.category" = "strict";
"extensions.pocket.enabled" = false;
"extensions.screenshots.disabled" = true;
"browser.topsites.contile.enabled" = false;
"browser.formfill.enable" = false;
"browser.search.suggest.enabled" = false;
"browser.search.suggest.enabled.private" = false;
"browser.urlbar.suggest.searches" = false;
"browser.urlbar.showSearchSuggestionsFirst" = false;
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
"browser.newtabpage.activity-stream.feeds.snippets" = false;
"browser.newtabpage.activity-stream.section.highlights.includePocket" = false;
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = false;
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = false;
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = false;
"browser.newtabpage.activity-stream.showSponsored" = false;
"browser.newtabpage.activity-stream.system.showSponsored" = false;
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
"browser.startup.homepage" = "https://dash.sakamoto.dev";
"browser.newtabpage.pinned" = [
{
title = "Dashboard";
url = "https://dash.sakamoto.dev";
}
];
};
bookmarks = {
force = true;
settings = [
{
toolbar = true;
bookmarks = [
{
name = "Home Manager";
url = "https://mynixos.com/home-manager/options/programs";
}
{
name = "YouTube";
url = "https://youtube.com";
}
];
}
];
};
};
};
policies = {
DisableTelemetry = true;
DisableFirefoxStudies = true;
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
DisablePocket = true;
DisableFirefoxAccounts = true;
DisableAccounts = true;
DisableFirefoxScreenshots = true;
OverrideFirstRunPage = "";
OverridePostUpdatePage = "";
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
SearchBar = "unified"; # alternative: "separate"
/*
---- EXTENSIONS ----
*/
# Check about:support for extension/add-on ID strings.
# Valid strings for installation_mode are "allowed", "blocked",
# "force_installed" and "normal_installed".
ExtensionSettings = {
"*".installation_mode = "blocked";
"uBlock0@raymondhill.net" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
installation_mode = "force_installed";
};
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/file/4493940/bitwarden_password_manager-2025.5.0.xpi";
installation_mode = "force_installed";
};
"tridactyl.vim@cmcaine.co.uk" = {
install_url = "https://addons.mozilla.org/firefox/downloads/file/4405615/tridactyl_vim-1.24.2.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";
# };
# 1Password:
# "{d634138d-c276-4fc8-924b-40a0ea21d284}" = {
# install_url = "https://addons.mozilla.org/firefox/downloads/latest/1password-x-password-manager/latest.xpi";
# installation_mode = "force_installed";
# };
};
};
};
}
+19
View File
@@ -0,0 +1,19 @@
{
pkgs,
myConfig,
...
}: {
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting
fish_vi_key_bindings
zoxide init fish | source
'';
shellAliases = myConfig.general.Terminal.aliases;
plugins = with pkgs.fishPlugins; [
];
};
}
+8
View File
@@ -0,0 +1,8 @@
{pkgs, ...}: {
fonts = {
fontconfig.enable = true;
};
home.packages = with pkgs; [
nerd-fonts.jetbrains-mono
];
}
+10
View File
@@ -0,0 +1,10 @@
{myConfig, ...}: {
programs.git = {
enable = true;
extraConfig = {
user.name = "${myConfig.nixos.Git.user}";
user.email = "${myConfig.nixos.Git.email}";
init.defaultBranch = "${myConfig.nixos.Git.defaultBranch}";
};
};
}
+38
View File
@@ -0,0 +1,38 @@
{...}: {
services.hypridle = {
enable = true;
settings = {
general = {
lock_cmd = "pidof hyprlock || hyprlock"; # avoid starting multiple hyprlock instances.
before_sleep_cmd = "loginctl lock-session"; # lock before suspend.
after_sleep_cmd = "hyprctl dispatch dpms on && agu"; # avoid needing to press a key twice to turn on the display.
};
listener = [
# {
# timeout = 150;
# on-timeout = "brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
# on-resume = "brightnessctl -r"; # restore monitor backlight.
# }
# {
# timeout = 150;
# on-timeout = "brightnessctl -sd rgb:kbd_backlight set 0"; # turn off keyboard backlight.
# on-resume = "brightnessctl -rd rgb:kbd_backlight"; # turn on keyboard backlight.
# }
# {
# timeout = 300;
# on-timeout = "loginctl lock-session"; # lock screen when timeout has passed.
# }
# {
# timeout = 330;
# on-timeout = "hyprctl dispatch dpms off"; # screen off after 5.5min.
# on-resume = "hyprctl dispatch dpms on && brightnessctl -r"; # screen on and restore brightness on resume.
# }
{
timeout = 500;
on-timeout = "systemctl suspend"; # suspend PC after 30min.
}
];
};
};
}
+42
View File
@@ -0,0 +1,42 @@
{
config,
pkgs,
myConfig,
...
}: {
wayland.windowManager.hyprland.settings = {
animations = {
enabled = true;
bezier = [
"linear, 0, 0, 1, 1"
"md3_standard, 0.2, 0, 0, 1"
"md3_decel, 0.05, 0.7, 0.1, 1"
"md3_accel, 0.3, 0, 0.8, 0.15"
"overshot, 0.05, 0.9, 0.1, 1.1"
"crazyshot, 0.1, 1.5, 0.76, 0.92"
"hyprnostretch, 0.05, 0.9, 0.1, 1.0"
"menu_decel, 0.1, 1, 0, 1"
"menu_accel, 0.38, 0.04, 1, 0.07"
"easeInOutCirc, 0.85, 0, 0.15, 1"
"easeOutCirc, 0, 0.55, 0.45, 1"
"easeOutExpo, 0.16, 1, 0.3, 1"
"softAcDecel, 0.26, 0.26, 0.15, 1"
"md2, 0.4, 0, 0.2, 1"
];
animation = [
"windows, 1, 3, md3_decel, popin 60%"
"windowsIn, 1, 3, md3_decel, popin 60%"
"windowsOut, 1, 3, md3_accel, popin 60%"
"border, 1, 10, default"
"fade, 1, 3, md3_decel"
"layersIn, 1, 3, menu_decel, slide"
"layersOut, 1, 1.6, menu_accel"
"fadeLayersIn, 1, 2, menu_decel"
"fadeLayersOut, 1, 0.5, menu_accel"
"workspaces, 1, 7, menu_decel, slide"
"specialWorkspace, 1, 3, md3_decel, slidevert"
];
};
};
}
+297
View File
@@ -0,0 +1,297 @@
{
config,
pkgs,
...
}: {
wayland.windowManager.hyprland.settings = {
exec = [
"hyprctl dispatch submap global"
];
submap = [
"global"
];
# Shell keybinds
bindi = [
"$mod, Super_L, global, caelestia:launcher" # bind to `bind` because `bindi` maps to it
# Launcher
];
bindin =
[
"$mod, catchall, global, caelestia:launcherInterrupt"
"$mod, mouse:272, global, caelestia:launcherInterrupt"
"$mod, mouse:273, global, caelestia:launcherInterrupt"
"$mod, mouse:274, global, caelestia:launcherInterrupt"
"$mod, mouse:275, global, caelestia:launcherInterrupt"
"$mod, mouse:276, global, caelestia:launcherInterrupt"
"$mod, mouse:277, global, caelestia:launcherInterrupt"
"$mod, mouse_up, global, caelestia:launcherInterrupt"
"$mod, mouse_down, global, caelestia:launcherInterrupt"
"$mod, K, global, caelestia:launcherInterrupt"
"$mod, H, global, caelestia:launcherInterrupt"
"$mod, J, global, caelestia:launcherInterrupt"
"$mod, L, global, caelestia:launcherInterrupt"
"$mod, S, global, caelestia:launcherInterrupt"
"$mod, G, global, caelestia:launcherInterrupt"
"$mod, T, global, caelestia:launcherInterrupt"
"$mod, D, global, caelestia:launcherInterrupt"
"$mod, Escape, global, caelestia:launcherInterrupt"
"$mod, PERIOD, global, caelestia:launcherInterrupt"
"$mod, E, global, caelestia:launcherInterrupt"
"$mod, V, global, caelestia:launcherInterrupt"
"$mod, W, global, caelestia:launcherInterrupt"
"$mod, Q, global, caelestia:launcherInterrupt"
"$mod, C, global, caelestia:launcherInterrupt"
"$mod, Return, global, caelestia:launcherInterrupt"
]
++ (
# Go to workspace group #
builtins.concatLists (builtins.genList (
i: let
ws = i + 1;
in [
"$mod, ${toString ws}, global, caelestia:launcherInterrupt"
]
)
9)
)
++ [
"$mod, 0, global, caelestia:launcherInterrupt"
];
bind =
[
# Misc
"Control+Alt, Delete, exec, caelestia:session"
"$mod ALT, A, global, caelestia:showall"
"$mod ALT, L, global, caelestia:lock"
# Restore lock - these are `bindl` in your original, but `exec` should be fine here.
# However, `bindl` is typically for a *release* event. If `caelestia shell -d` is a daemon,
# and `caelestia:lock` is a quickshell internal, you might need to reconsider.
# For direct translation, they go into `bindl` list.
# Media - handled by bindl below
# Apps
"$mod, Return, exec, app2unit -- kitty"
"$mod, W, exec, app2unit -- firefox"
"$mod, E, exec, app2unit -- thunar"
"$mod, Q, killactive"
"$mod ALT, E, exec, app2unit -- nemo"
"Control+Alt, Escape, exec, app2unit -- qps"
"Control+Alt, V, exec, app2unit -- pavucontrol"
# Utilities
"$mod SHIFT, S, global, caelestia:screenshotFreeze"
"$mod SHIFT ALT, S, global, caelestia:screenshot"
"$mod ALT, R, exec, caelestia record -s"
"Control+Alt, R, exec, caelestia record"
"$mod SHIFT ALT, R, exec, caelestia record -r"
"$mod SHIFT, C, exec, hyprpicker -a" # Colour picker
# Sleep
"$mod SHIFT, PRINT, exec, systemctl suspend-then-hibernate"
# Clipboard and emoji picker
"$mod, V, exec, pkill fuzzel || caelestia clipboard"
"$mod ALT, V, exec, pkill fuzzel || caelestia clipboard -d"
"$mod, Period, exec, pkill fuzzel || caelestia emoji -p"
# Testing
# This is a `bindl` (key release), so move it to `bindl` list below.
# Window actions
"$mod, H, movefocus, l"
"$mod, L, movefocus, r"
"$mod, K, movefocus, u"
"$mod, J, movefocus, d"
"$mod SHIFT, H, movewindow, l"
"$mod SHIFT, L, movewindow, r"
"$mod SHIFT, K, movewindow, u"
"$mod SHIFT, J, movewindow, d"
"$mod CTRL, Backslash, centerwindow, 1"
"$mod CTRL ALT, Backslash, resizeactive, exact 55% 70%"
"$mod CTRL ALT, Backslash, centerwindow, 1"
"$mod ALT, Backslash, exec, caelestia pip"
"$mod, P, pin"
"$mod, F, fullscreen, 0"
"$mod ALT, F, fullscreen, 1"
# Special workspace toggles
"Control+Shift, Escape, exec, caelestia toggle sysmon"
"$mod, Escape, exec, caelestia toggle sysmon"
"$mod, M, exec, caelestia toggle music"
"$mod, D, exec, caelestia toggle communication"
"$mod, R, exec, caelestia toggle todo"
"$mod, G, togglespecialworkspace, gaming"
"$mod SHIFT, G, movetoworkspace, special:gaming"
"$mod, T, exec, caelestia toggle steam"
# "$mod, T, togglespecialworkspace, special:steam"
# "$mod SHIFT, T, movetoworkspace, special:steam"
# Toggle special workspace
"$mod, S, exec, caelestia toggle specialws"
# Window groups
"$mod, Comma, togglegroup"
"$mod SHIFT, Comma, lockactivegroup, toggle"
# Go to workspace -1/+1 (mouse binds are `bind` for mouse-wheel)
"$mod, mouse_down, workspace, -1"
"$mod, mouse_up, workspace, +1"
# Move window to workspace -1/+1
"$mod ALT, mouse_down, movetoworkspace, -1"
"$mod ALT, mouse_up, movetoworkspace, +1"
# Move window to/from special workspace
"$mod CTRL SHIFT, up, movetoworkspace, special:special"
"$mod CTRL SHIFT, down, movetoworkspace, e+0"
"$mod ALT, S, movetoworkspace, special:special"
]
++ (
# Go to workspace #
let
wsaction = "~/.config/hypr/scripts/wsaction.fish";
in
builtins.concatLists (builtins.genList (
i: let
ws = i + 1;
in [
"$mod, ${toString ws}, exec, ${wsaction} workspace ${toString ws}"
]
)
9) # For workspaces 1-9
)
++ [
# "$mod, 0, exec, ${config.wayland.windowManager.hyprland.settings.workspaceRule."0".exec} workspace 10" # Workaround for workspace 0
# Re-adding `wsaction` since it's used here.
"$mod, 0, exec, ~/.config/hypr/scripts/wsaction.fish workspace 10"
]
++ (
# Go to workspace group #
let
wsaction = "~/.config/hypr/scripts/wsaction.fish";
in
builtins.concatLists (builtins.genList (
i: let
ws = i + 1;
in [
"Control+$mod, ${toString ws}, exec, ${wsaction} -g workspace ${toString ws}"
]
)
9)
)
++ [
"Control+$mod, 0, exec, ~/.config/hypr/scripts/wsaction.fish -g workspace 10"
]
++ (
# Move window to workspace #
let
wsaction = "~/.config/hypr/scripts/wsaction.fish";
in
builtins.concatLists (builtins.genList (
i: let
ws = i + 1;
in [
"$mod SHIFT, ${toString ws}, exec, ${wsaction} movetoworkspace ${toString ws}"
]
)
9)
)
++ [
"$mod SHIFT, 0, exec, ~/.config/hypr/scripts/wsaction.fish movetoworkspace 10"
]
++ (
# Move window to workspace group #
let
wsaction = "~/.config/hypr/scripts/wsaction.fish";
in
builtins.concatLists (builtins.genList (
i: let
ws = i + 1;
in [
"Control+$mod ALT, ${toString ws}, exec, ${wsaction} -g movetoworkspace ${toString ws}"
]
)
9)
)
++ [
"Control+$mod ALT, 0, exec, ~/.config/hypr/scripts/wsaction.fish -g movetoworkspace 10"
];
binde = [
"$mod, Minus, splitratio, -0.1"
"$mod, Equal, splitratio, 0.1"
"Control+$mod, left, workspace, -1"
"$mod, Page_Up, workspace, -1"
"Control+$mod, right, workspace, +1"
"$mod, Page_Down, workspace, +1"
"$mod ALT, Page_Up, movetoworkspace, -1"
"$mod ALT, Page_Down, movetoworkspace, +1"
"Control+$mod SHIFT, right, movetoworkspace, +1"
"Control+$mod SHIFT, left, movetoworkspace, -1"
"Alt, Tab, cyclenext, activewindow" # `binde` for cycle next
"Control+Alt, Tab, changegroupactive, f" # `binde` for change group active
];
bindm = [
"$mod, mouse:272, movewindow"
"$mod, Z, movewindow"
"$mod, mouse:273, resizewindow"
"$mod, X, resizewindow"
];
bindl = [
# Restore lock
"$mod ALT, L, exec, caelestia shell -d"
"$mod ALT, L, global, caelestia:lock" # This is a Hyprland `global` command, not an `exec`
# Brightness
", XF86MonBrightnessUp, global, caelestia:brightnessUp"
", XF86MonBrightnessDown, global, caelestia:brightnessDown"
# Media
"Control+$mod, Space, global, caelestia:mediaToggle"
", XF86AudioPlay, global, caelestia:mediaToggle"
", XF86AudioPause, global, caelestia:mediaToggle"
"Control+$mod, Equal, global, caelestia:mediaNext"
", XF86AudioNext, global, caelestia:mediaNext"
"Control+$mod, Minus, global, caelestia:mediaPrev"
", XF86AudioPrev, global, caelestia:mediaPrev"
", XF86AudioStop, global, caelestia:mediaStop"
# Utilities (screenshot is `bindl` in your original)
", Print, exec, caelestia screenshot" # Full screen capture > clipboard
# Volume
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
"$mod SHIFT, M, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
# Clipboard and emoji picker (alternate paste is `bindl`)
"Control+Shift+Alt, V, exec, sleep 0.5s && ydotool type -d 1 \"$(cliphist list | head -1 | cliphist decode)\""
# Testing
"$mod ALT, f12, exec, notify-send -u low -i dialog-information-symbolic 'Test notification' \"Here's a really long message to test truncation and wrapping\\nYou can middle click or flick this notification to dismiss it!\" -a 'Shell' -A \"Test1=I got it!\" -A \"Test2=Another action\""
];
bindel = [
# Volume
", XF86AudioRaiseVolume, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 10%+"
", XF86AudioLowerVolume, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%-"
];
bindr = [
# Kill/restart
"Control+$mod SHIFT, R, exec, qs -c caelestia kill"
"Control+$mod ALT, R, exec, qs -c caelestia kill; caelestia shell -d"
];
};
}
+27
View File
@@ -0,0 +1,27 @@
{
config,
pkgs,
myConfig,
...
}: {
wayland.windowManager.hyprland.settings = {
exec = [
"cp -L --no-preserve=mode --update=none ~/.config/hypr/scheme/default.conf ~/.config/hypr/scheme/current.conf"
];
source = [
"~/.config/hypr/scheme/current.conf"
];
group = {
groupbar = {
"text_color" = "rgb($onPrimary)";
"col.active" = "rgba($primaryd4)";
"col.inactive" = "rgba($outlined4)";
"col.locked_active" = "rgba($primaryd4)";
"col.locked_inactive" = "rgba($secondaryd4)";
};
};
misc = {
background_color = "rgb($surfaceVariant)";
};
};
}
+33
View File
@@ -0,0 +1,33 @@
{
config,
pkgs,
myConfig,
...
}: {
wayland.windowManager.hyprland.settings = {
decoration = {
rounding = 10;
rounding_power = 2;
active_opacity = 1.0;
inactive_opacity = 1.0;
dim_inactive = true;
dim_strength = 0.1;
dim_special = 0.8;
shadow = {
enabled = true;
range = 4;
render_power = 3;
color = "rgba(1a1a1aee)";
};
blur = {
enabled = true;
size = 3;
passes = 1;
vibrancy = 0.1696;
};
};
};
}
+31
View File
@@ -0,0 +1,31 @@
{
config,
pkgs,
myConfig,
...
}: {
wayland.windowManager.hyprland.settings = {
env = [
"HYPRCURSOR_THEME, Bibata-Original-Classic"
"HYPRCURSOR_SIZE, 24"
"QT_QPA_PLATFORMTHEME, qt5ct"
"QT_WAYLAND_DISABLE_WINDOWDECORATION, 1"
"QT_AUTO_SCREEN_SCALE_FACTOR, 1"
"XCURSOR_THEME, sweet-rainbow"
"XCURSOR_SIZE, 24"
"GDK_BACKEND, wayland,x11"
"QT_QPA_PLATFORM, wayland;xcb"
"SDL_VIDEODRIVER, wayland,x11"
"CLUTTER_BACKEND, wayland"
"ELECTRON_OZONE_PLATFORM_HINT, auto"
"XDG_CURRENT_DESKTOP, Hyprland"
"XDG_SESSION_TYPE, wayland"
"XDG_SESSION_DESKTOP, Hyprland"
"_JAVA_AWT_WM_NONREPARENTING, 1"
];
};
}
+27
View File
@@ -0,0 +1,27 @@
{
config,
pkgs,
myConfig,
...
}: {
wayland.windowManager.hyprland.settings = {
exec-once = [
# "[workspace special:communication silent] discord"
"[workspace special:steam silent] steam"
"[workspace special:preload silent] kitty --single-instance --hold fastfetch"
"[workspace special:preload silent] firefox"
"[workspace 1] kitty --single-instance --hold -e fish -C fastfetch"
"hyprctl setcursor Bibata-Modern-Ice 24"
"solaar -w hide"
# "sunshine"
# "moondeck-buddy"
"wl-paste --type text --watch cliphist store"
"wl-paste --type image --watch cliphist store"
"sleep 3 && caelestia shell"
];
};
}
+128
View File
@@ -0,0 +1,128 @@
{
config,
pkgs,
myConfig,
...
}: {
wayland.windowManager.hyprland.settings = {
# ######## Window rules ########
windowrule = [
"opaque, class:foot|equibop"
"center 1, floating:1, xwayland:0"
# Float
"float, class:guifetch"
"float, class:yad"
"float, class:zenity"
"float, class:wev"
"float, class:org\\.gnome\\.FileRoller" # Escaped backslash
"float, class:file-roller"
"float, class:blueman-manager"
"float, class:com\\.github\\.GradienceTeam\\.Gradience" # Escaped backslash
"float, class:feh"
"float, class:imv"
"float, class:system-config-printer"
"float, class:quickshell"
# Float, resize and center
"float, class:foot, title:nmtui"
"size 60% 70%, class:foot, title:nmtui"
"center 1, class:foot, title:nmtui"
"float, class:org\\.gnome\\.Settings"
"size 70% 80%, class:org\\.gnome\\.Settings"
"center 1, class:org\\.gnome\\.Settings"
"float, class:org\\.pulseaudio\\.pavucontrol|yad-icon-browser"
"size 60% 70%, class:org\\.pulseaudio\\.pavucontrol|yad-icon-browser"
"center 1, class:org\\.pulseaudio\\.pavucontrol|yad-icon-browser"
"float, class:nwg-look"
"size 50% 60%, class:nwg-look"
"center 1, class:nwg-look"
# Special workspaces
"workspace special:sysmon, class:btop"
"workspace special:music, class:feishin|Spotify|Supersonic"
"workspace special:music, initialTitle:Spotify( Free)?"
"workspace special:communication, class:discord|equibop|vesktop|whatsapp"
"workspace special:todo, class:Todoist"
"workspace special:steam, class:^(steam_app_.*)$"
"noinitialfocus, class:discord"
"focusonactivate 0, class:discord"
# Always full screen
# "fullscreen, title:^(Steam Big Picture Mode)$"
# "fullscreen, title:^(steam_app_.*)$"
# Dialogs
"float, title:(Select|Open)( a)? (File|Folder)(s)?"
"float, title:File (Operation|Upload)( Progress)?"
"float, title:.* Properties"
"float, title:Export Image as PNG"
"float, title:GIMP Crash Debug"
"float, title:Save As"
"float, title:Library"
# Picture in picture (resize and move done via script)
"move 100%-w-2% 100%-w-3%, title:Picture(-| )in(-| )[Pp]icture"
"keepaspectratio, title:Picture(-| )in(-| )[Pp]icture"
"float, title:Picture(-| )in(-| )[Pp]icture"
"pin, title:Picture(-| )in(-| )[Pp]icture"
# Steam
"workspace special:steam, class:steam"
"rounding 10, title:, class:steam"
"float, title:Friends List, class:steam"
"immediate, class:steam_app_[0-9]+"
"idleinhibit always, class:steam_app_[0-9]+"
# ATLauncher console
"float, class:com-atlauncher-App, title:ATLauncher Console"
# Autodesk Fusion 360
"noblur, title:Fusion360|(Marking Menu), class:fusion360\\.exe" # Escaped backslash
# Ugh xwayland popups
"nodim, xwayland:1, title:win[0-9]+"
"noshadow, xwayland:1, title:win[0-9]+"
"rounding 10, xwayland:1, title:win[0-9]+"
];
# ######## Workspace rules ########
workspace = [
"w[tv1]s[false], gapsout:20, gapsin:20"
"f[1]s[false], gapsout:20, gapsin:20"
"1, monitor:DP-1, default:true"
"2, monitor:DP-1"
"3, monitor:DP-1"
"4, monitor:DP-2"
"5, monitor:DP-2"
"6, monitor:DP-2"
"special:gaming, monitor:DP-1, persistent:true"
"special:steam, monitor:DP-1, persistent:true, on-created-empty:steam"
];
# ######## Layer rules ########
layerrule = [
"animation fade, hyprpicker"
"animation fade, logout_dialog"
"animation fade, selection"
"animation fade, wayfreeze"
# Fuzzel
"animation popin 80%, launcher"
"blur, launcher"
# Shell
"noanim, caelestia-(launcher|osd|notifications|border-exclusion|area-picker)"
"animation fade, caelestia-(drawers|background)"
"order 1, caelestia-border-exclusion"
"order 2, caelestia-bar"
# The commented out lines below need to remain commented if you don't want them active
#"xray 1, caelestia-(border|launcher|bar|sidebar|navbar|mediadisplay|screencorners)"
#"blur, caelestia-.*"
#"blurpopups, caelestia-.*"
#"ignorealpha 0.57, caelestia-.*"
];
};
}
-16
View File
@@ -1,16 +0,0 @@
#################
### AUTOSTART ###
#################
# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:
$terminal = kitty
$bar = ags run
$cursor = Bibata-Modern-Ice
exec-once = hyprctl setcursor $cursor 24
exec-once = $bar
exec-once = [workspace 20 silent] kitty --single-instance --hold fastfetch
exec-once = [workspace 20 silent] firefox
exec-once = [workspace 1] kitty --single-instance --hold fastfetch
-5
View File
@@ -1,5 +0,0 @@
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
-191
View File
@@ -1,191 +0,0 @@
################
### MONITORS ###
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,highres@highrr,auto,auto
#####################
### LOOK AND FEEL ###
#####################
# Refer to https://wiki.hyprland.org/Configuring/Variables/
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 2
gaps_out = 5
border_size = 2
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
# Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = false
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false
layout = dwindle
}
# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
rounding = 0
rounding_power = 2
# Change transparency of focused and unfocused windows
active_opacity = 1.0
inactive_opacity = 1.0
shadow {
enabled = true
range = 4
render_power = 3
color = rgba(1a1a1aee)
}
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = true
size = 3
passes = 1
vibrancy = 0.1696
}
}
# https://wiki.hyprland.org/Configuring/Variables/#animations
# animations {
# enabled = yes, please :)
#
# # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
#
# bezier = easeOutQuint,0.23,1,0.32,1
# bezier = easeInOutCubic,0.65,0.05,0.36,1
# bezier = linear,0,0,1,1
# bezier = almostLinear,0.5,0.5,0.75,1.0
# bezier = quick,0.15,0,0.1,1
#
# animation = global, 1, 10, default
# animation = border, 1, 5.39, easeOutQuint
# animation = windows, 1, 4.79, easeOutQuint
# animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
# animation = windowsOut, 1, 1.49, linear, popin 87%
# animation = fadeIn, 1, 1.73, almostLinear
# animation = fadeOut, 1, 1.46, almostLinear
# animation = fade, 1, 3.03, quick
# animation = layers, 1, 3.81, easeOutQuint
# animation = layersIn, 1, 4, easeOutQuint, fade
# animation = layersOut, 1, 1.5, linear, fade
# animation = fadeLayersIn, 1, 1.79, almostLinear
# animation = fadeLayersOut, 1, 1.39, almostLinear
# animation = workspaces, 1, 1.94, almostLinear, fade
# animation = workspacesIn, 1, 1.21, almostLinear, fade
# animation = workspacesOut, 1, 1.94, almostLinear, fade
# }
animations {
enabled = true
# Animation curves
bezier = linear, 0, 0, 1, 1
bezier = md3_standard, 0.2, 0, 0, 1
bezier = md3_decel, 0.05, 0.7, 0.1, 1
bezier = md3_accel, 0.3, 0, 0.8, 0.15
bezier = overshot, 0.05, 0.9, 0.1, 1.1
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
bezier = menu_decel, 0.1, 1, 0, 1
bezier = menu_accel, 0.38, 0.04, 1, 0.07
bezier = easeInOutCirc, 0.85, 0, 0.15, 1
bezier = easeOutCirc, 0, 0.55, 0.45, 1
bezier = easeOutExpo, 0.16, 1, 0.3, 1
bezier = softAcDecel, 0.26, 0.26, 0.15, 1
bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
# Animation configs
animation = windows, 1, 3, md3_decel, popin 60%
animation = windowsIn, 1, 3, md3_decel, popin 60%
animation = windowsOut, 1, 3, md3_accel, popin 60%
animation = border, 1, 10, default
animation = fade, 1, 3, md3_decel
# animation = layers, 1, 2, md3_decel, slide
animation = layersIn, 1, 3, menu_decel, slide
animation = layersOut, 1, 1.6, menu_accel
animation = fadeLayersIn, 1, 2, menu_decel
animation = fadeLayersOut, 1, 0.5, menu_accel
animation = workspaces, 1, 7, menu_decel, slide
# animation = workspaces, 1, 2.5, softAcDecel, slide
# animation = workspaces, 1, 7, menu_decel, slidefade 15%
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
animation = specialWorkspace, 1, 3, md3_decel, slidevert
}
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
# uncomment all if you wish to use that.
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
# windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
# windowrule = rounding 0, floating:0, onworkspace:w[tv1]
# windowrule = bordersize 0, floating:0, onworkspace:f[1]
# windowrule = rounding 0, floating:0, onworkspace:f[1]
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # You probably want this
}
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
master {
new_status = master
}
# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
}
#############
### INPUT ###
#############
# https://wiki.hyprland.org/Configuring/Variables/#input
input {
kb_layout = us
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad {
natural_scroll = false
}
numlock_by_default = true
}
# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
workspace_swipe = false
}
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
name = epic-mouse-v1
sensitivity = -0.5
}
-76
View File
@@ -1,76 +0,0 @@
###################
### KEYBINDINGS ###
###################
# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier
$terminal = kitty --single-instance
$browser = firefox
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Return, exec, $terminal
bind = $mainMod, Q, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, B, togglesplit, # dwindle
bind = $mainMod, W, exec, $browser
# Move focus with mainMod + arrow keys
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r
bind = $mainMod, K, movefocus, u
bind = $mainMod, J, movefocus, d
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
# Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
-15
View File
@@ -1,15 +0,0 @@
##############################
### WINDOWS AND WORKSPACES ###
##############################
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
# Example windowrule
# windowrule = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this.
windowrule = suppressevent maximize, class:.*
# Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
+10 -11
View File
@@ -1,13 +1,12 @@
{ pkgs, ... }: {
home.file.".config/hypr/hyprland.conf" = {
source = builtins.toPath ./hyprland.conf;
force = true;
};
home.file.".config/hypr/hyprland" = {
source = builtins.toPath ./custom;
recursive = true;
force = true;
{
pkgs,
inputs,
myConfig,
...
}: {
programs.hyprland = {
enable = myConfig.nixos.Hyprland.enable;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
}
+86
View File
@@ -0,0 +1,86 @@
{
myConfig,
pkgs,
...
}: {
imports = [
./config/binds.nix
./config/execs.nix
./config/rules.nix
./config/animation.nix
./config/decoration.nix
./config/env.nix
./config/colours.nix
];
home.file.".config/hypr/scripts/wsaction.fish" = {
source = builtins.toPath ./scripts/wsaction.fish;
executable = true;
};
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
systemd.enable = true;
settings = {
"$mod" = "SUPER";
"$term" = "kitty --single-instance";
"$browser" = "firefox";
"$wsaction" = "fish -c ./scripts/wsaction.fish";
"$widget" = "qs -c caelestia";
monitor = myConfig.nixos.Hyprland.monitors;
general = {
gaps_in = 2;
gaps_out = 5;
border_size = 2;
# col.active_border = "#0DB7D4FF";
# col.inactive_border = "#31313600";
# col = {
# "inactive_border" = "rgba(595959aa)";
# "active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
# };
resize_on_border = false;
allow_tearing = false;
layout = "dwindle";
};
dwindle = {
pseudotile = true;
preserve_split = true;
};
master = {
new_status = "master";
};
misc = {
force_default_wallpaper = -1;
disable_hyprland_logo = true;
};
input = {
kb_layout = "us";
follow_mouse = 1;
sensitivity = 0;
force_no_accel = true;
repeat_delay = 250;
repeat_rate = 35;
touchpad = {
natural_scroll = false;
};
numlock_by_default = true;
};
gestures = {
workspace_swipe = false;
};
binds = {
workspace_back_and_forth = true;
scroll_event_delay = 0;
};
};
};
}
-6
View File
@@ -1,6 +0,0 @@
source=./hyprland/keybinds.conf
source=./hyprland/autostart.conf
source=./hyprland/env.conf
source=./hyprland/general.conf
source=./hyprland/rules.conf
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env fish
if test "$argv[1]" = '-g'
set group
set -e $argv[1]
end
if test (count $argv) -ne 2
echo 'Wrong number of arguments. Usage: ./wsaction.fish [-g] <dispatcher> <workspace>'
exit 1
end
set -l active_ws (hyprctl activeworkspace -j | jq -r '.id')
if set -q group
# Move to group
hyprctl dispatch $argv[1] (math "($argv[2] - 1) * 10 + $active_ws % 10")
else
# Move to ws in group
hyprctl dispatch $argv[1] (math "floor(($active_ws - 1) / 10) * 10 + $argv[2]")
end
+7
View File
@@ -0,0 +1,7 @@
{...}: {
programs.hyprlock = {
enable = true;
settings = {
};
};
}
+8
View File
@@ -0,0 +1,8 @@
{pkgs, ...}: {
# home.packages = with pkgs; [
# hyprsunset
# ];
services.hyprsunset = {
enable = true;
};
}
-14
View File
@@ -1,14 +0,0 @@
{ pkgs, ... }:
{
home.packages = [
pkgs.kitty
];
programs.kitty.enable = true;
programs.kitty.settings = {
confirm_os_window_close = 0;
window_padding_width = 10;
font_size = 12.0;
};
}
+31
View File
@@ -0,0 +1,31 @@
{
myConfig,
pkgs,
...
}: {
programs.kitty = {
enable = true;
# themeFile = "kanagawa";
themeFile = "Catppuccin-Mocha";
settings = {
confirm_os_window_close = 0;
window_padding_width = 10;
font_size = myConfig.general.Terminal.size;
font_family = myConfig.general.Terminal.font;
bold_font = "auto";
italic_font = "auto";
bold_italic_font = "auto";
shell = "${pkgs.${myConfig.general.Terminal.shell}}/bin/${myConfig.general.Terminal.shell}";
# optimization
input_delay = 0;
repaint_delay = 2;
sync_to_monitor = false;
wayland_enable_ime = false;
allow_remote_control = true;
};
# extraConfig = "include colors.conf";
};
}
+5
View File
@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
lutris
];
}
+88
View File
@@ -0,0 +1,88 @@
{myConfig, ...}: {
programs.mangohud = {
enable = true;
enableSessionWide = true;
settings = {
legacy_layout = false;
horizontal = true;
background_alpha = 0.6;
round_corners = 10;
background_color = "000000";
font_size = 24;
text_color = "FFFFFF";
position = "top-left";
toggle_hud = "Shift_R+F12";
no_display = true;
pci_dev = "0:03:00.0";
table_columns = 3;
gpu_text = "GPU";
gpu_stats = true;
gpu_load_change = true;
gpu_load_value = [50 90];
gpu_load_color = ["FFFFFF" "FFAA7F" "CC0000"];
gpu_temp = true;
gpu_power = true;
gpu_color = "2E9762";
cpu_text = "CPU";
cpu_stats = true;
cpu_load_change = true;
cpu_load_value = [50 90];
cpu_load_color = ["FFFFFF" "FFAA7F" "CC0000"];
cpu_temp = true;
cpu_power = true;
cpu_color = "2E97CB";
vram = true;
vram_color = "AD64C1";
ram = true;
ram_color = "C26693";
battery = true;
battery_color = "00FF00";
fps = true;
fps_metrics = ["avg" "0.01"];
engine_version = true;
engine_color = "EB5B5B";
arch = true;
frame_timing = true;
frametime_color = "FA8000";
fps_limit_method = "late";
toggle_fps_limit = "Shift_L+F1";
fps_limit = 0;
resolution = true;
refresh_rate = true;
# custom_text = [
# "-"
# "$(cat /home/kenji/.config/goverlay/distro)"
# "-"
# "$(uname -r)"
# "Session:"
# "$(echo $XDG_SESSION_TYPE)"
# ];
fps_color_change = true;
fps_color = ["B22222" "FDFD09" "39F900"];
fps_value = [30 60];
time = true;
output_folder = "/home/${myConfig.essentials.Username}/.mangohud/";
log_duration = 30;
autostart_log = false;
log_interval = 100;
toggle_logging = "Shift_L+F2";
blacklist = [
"pamac-manager"
"lact"
"ghb"
"bitwig-studio"
"ptyxis"
"yumex"
];
};
};
}
+70
View File
@@ -0,0 +1,70 @@
[config]
# If set to enabled, it will check for updates when you run the matugen command, notifying you that an update is avaiable.
# WARNING: Matugen needs to be compiled with the `update-informer` feature for this to work.
version_check = false
[config.wallpaper]
# The base command to run for applying the wallpaper, shouldn't have spaces in it.
command = "swww"
# The arguments that will be provided to the command.
# Keywords like {{ mode }} or anything that works inside of hooks doesn't work here.
# The last argument will be the image path.
arguments = ["img", "--transition-type", "center", "--transition-fps", "120"]
# For example, killing the wallpaper daemon. Usage is like a normal hook.
# pre_hook = ""
[config.custom_keywords]
test = "aaaa"
[templates.name1]
# Relative paths will be resolved from the path `config.toml` is in.
input_path = "./colors.whatever-extension"
output_path = "./a/colors-generated.whatever-extension"
# This will use a different input path depending on what mode you use.
# input_path_modes = { dark = "./colors.whatever-extension", light = "./colors.whatever-extension" }
# This will compare all of the colors inside the array with the color you set as `compare_to`, and returns the closest color to it.
# You can then use `{{closest_color}}` inside templates and hooks.
colors_to_compare = [
{ name = "black", color = "#000000" },
{ name = "red", color = "#ff0000" },
{ name = "maroon", color = "#800000" },
{ name = "yellow", color = "#ffff00" },
{ name = "olive", color = "#808000" },
{ name = "lime", color = "#00ff00" },
{ name = "green", color = "#008000" },
{ name = "aqua", color = "#00ffff" },
{ name = "teal", color = "#008080" },
{ name = "blue", color = "#0000ff" },
{ name = "navy", color = "#000080" },
{ name = "fuchsia", color = "#ff00ff" },
{ name = "purple", color = "#800080" },
]
compare_to = "{{colors.primary.default.hex}}"
# Runs before the template is exported. You can use keywords here,
pre_hook = 'echo "source color {{colors.source_color.default.hex}}, source image {{image}}, closest color {{closest_color}}"'
# Runs after the template is exported. You can use keywords here.
post_hook = 'echo "after gen"'
# Only hex values
# https://m3.material.io/styles/color/advanced/adjust-existing-colors#1cc12e43-237b-45b9-8fe0-9a3549c1f61e
# Blend is set to true by default.
[config.custom_colors]
green = "#00ff00"
red = "#ff0000"
blue = { color = "#0000ff", blend = false }
### --- my config
[templates.kitty]
input_path = '~/.config/nixos/pkgs/matugen/custom/templates/kitty.conf'
output_path = '~/.config/kitty/colors.conf'
post_hook = "kitty @ set-colors -a -c ~/.config/kitty/colors.conf"
[templates.ags]
input_path = '~/.config/nixos/pkgs/matugen/custom/templates/ags.scss'
output_path = '~/.config/nixos/pkgs/ags/biscuit/colors.scss'
post_hook = "pkill gjs & ags run ~/.config/nixos/pkgs/ags/biscuit/app.ts & disown (jobs -p) &"
@@ -0,0 +1,3 @@
$background: {{colors.surface.dark.hex}};
$foreground: {{colors.on_surface.dark.hex}};
$primary: {{colors.primary.dark.hex}};
@@ -0,0 +1,41 @@
cursor {{colors.on_surface.default.hex}}
cursor_text_color {{colors.on_surface_variant.default.hex}}
foreground {{colors.on_surface.default.hex}}
background {{colors.surface.default.hex}}
selection_foreground {{colors.on_secondary.default.hex}}
selection_background {{colors.secondary_fixed_dim.default.hex}}
url_color {{colors.primary.default.hex}}
# black
color8 #262626
color0 #4c4c4c
# red
color1 #ac8a8c
color9 #c49ea0
# green
color2 #8aac8b
color10 #9ec49f
# yellow
color3 #aca98a
color11 #c4c19e
# blue
/* color4 #8f8aac */
color4 {{colors.primary.default.hex}}
color12 #a39ec4
# magenta
color5 #ac8aac
color13 #c49ec4
# cyan
color6 #8aacab
color14 #9ec3c4
# white
color15 #e7e7e7
color7 #f0f0f0
+10
View File
@@ -0,0 +1,10 @@
{
inputs,
pkgs,
...
}: {
imports = [inputs.matugen.nixosModules.default];
environment.systemPackages = with pkgs; [
inputs.matugen.packages.${system}.default
];
}
+10
View File
@@ -0,0 +1,10 @@
{
pkgs,
inputs,
system,
...
}: {
home.file.".config/matugen/config.toml" = {
source = builtins.toPath ./custom/config.toml;
};
}
+57
View File
@@ -0,0 +1,57 @@
# /etc/nixos/configuration.nix
{
config,
pkgs,
lib,
fetchurl,
...
}: let
moondeckBuddyWrapped = pkgs.appimageTools.wrapType2 {
pname = "moondeck-buddy";
version = "1.8.2";
src = pkgs.fetchurl {
url = "https://github.com/FrogTheFrog/moondeck-buddy/releases/download/v1.8.2/MoonDeckBuddy-1.8.2-x86_64.AppImage";
hash = "sha256-D+9XIi3pIwaAq22DGHWAUqKub778qHQSjCU0aIjXmYY="; # Don't forget to update this!
};
extraPkgs = pkgs:
with pkgs; [
# Your extraPkgs here
];
desktopItems = [
(pkgs.makeDesktopItem {
name = "Moondeck Buddy";
exec = "moondeck-buddy";
icon = "applications-other";
comment = "A Sunshine/Moondeck Buddy.";
categories = ["Utility" "Productivity"];
})
];
meta = with lib; {
description = "Moondeck Buddy is an companion app for NVIDIA Sunshine/Moonlight.";
homepage = "https://github.com/FrogTheFrog/moondeck-buddy";
license = licenses.gpl3Only;
platforms = platforms.linux;
mainProgram = "moondeck-buddy";
};
};
in {
environment.systemPackages = with pkgs; [
moondeckBuddyWrapped
];
programs.appimage.enable = true;
programs.appimage.binfmt = true;
# --- Firewall Configuration ---
networking.firewall.allowedTCPPorts = [
59999 # Allow Moondeck Buddy to listen on this port
];
# If Moondeck Buddy also needs UDP, uncomment and add it here:
# networking.firewall.allowedUDPPorts = [
# 59999
# ];
}
+10
View File
@@ -0,0 +1,10 @@
{
pkgs,
inputs,
system,
...
}: {
home.packages = [
inputs.nixovim.packages.${system}.default
];
}
-26
View File
@@ -1,26 +0,0 @@
{ pkgs, ... }:
let
nvimSource = pkgs.fetchFromGitea {
domain = "git.sakamoto.dev";
owner = "kenji";
repo = "nvim";
rev = "5fc3341ac43b35fd4032c07925927d7f1e82886c";
sha256 = "sha256-YbP814fKOFuCWBRwlccd4nx/h8sdMgiJQu54thRLsK8=";
};
in {
home.packages = [
pkgs.lazygit
pkgs.ripgrep
];
home.file.".config/nvim" = {
# BUG requires --impure
source = /home/biscuit/Nixos/packages/nvim/nvchad;
# source = nvimSource;
recursive = true;
force = true;
};
# Example use: provide it as a source
# You could pass `nvimSource` to a program, or maybe use it in home.file, etc.
}
Submodule packages/nvim/nvchad deleted from 2b4293a4c1
+13
View File
@@ -0,0 +1,13 @@
{
pkgs,
myConfig,
...
}: {
home.packages = with pkgs; [
protonup
];
home.sessionVariables = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/${myConfig.essentials.Username}/.steam/root/compatibilitytools.d";
};
}
@@ -1,6 +1,5 @@
{ pkgs, ... }: {
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
hyprcursor
bibata-cursors
python313Full
];
}
+16
View File
@@ -0,0 +1,16 @@
{
inputs,
pkgs,
system,
...
}: {
environment.systemPackages = [
inputs.caelestia-shell.packages.${system}.caelestia-shell
inputs.caelestia-shell.packages.${system}.caelestia-cli
inputs.caelestia-shell.packages.${system}.beat-detector
];
environment.sessionVariables = {
# Set CAELESTIA_BD_PATH to the store path of beat-detector
CAELESTIA_BD_PATH = "${inputs.caelestia-shell.packages.${system}.beat-detector}/bin/beat_detector";
};
}
+47
View File
@@ -0,0 +1,47 @@
{
pkgs,
inputs,
system,
...
}: let
caelestia-shell = pkgs.fetchFromGitHub {
owner = "caelestia-dots";
repo = "shell";
rev = "main";
sha256 = "sha256-FHPCSy/Fd9hIpFA2BxhTkbwBtY9vtvsEUYC3+ZX6zNQ=";
};
in {
imports = [
];
home.packages = with pkgs; [
inputs.quickshell.packages.${system}.default
wl-screenrec
libnotify
grim
foot
hyprpicker
qalculate-qt
fuzzel
inotify-tools
app2unit
fish
jq
fd
cliphist
(pkgs.python3.withPackages (python-pkgs:
with python-pkgs; [
aubio
pyaudio
numpy
]))
cava
bluez
ddcutil
brightnessctl
curl
material-symbols
];
home.file.".config/quickshell/caelestia" = {
source = caelestia-shell;
};
}
+8
View File
@@ -0,0 +1,8 @@
{pkgs, ...}: {
programs.rofi = {
enable = true;
plugins = with pkgs; [
rofi-calc
];
};
}
+5
View File
@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
solaar
];
}
+62
View File
@@ -0,0 +1,62 @@
{lib, ...}: {
programs.starship = {
enable = true;
settings = {
format = lib.concatStrings [
"$username"
"$hostname"
"$directory"
"$git_branch"
"$git_state"
"$git_status"
"$cmd_duration"
"$line_break"
"$python"
"$character"
];
directory = {
style = "blue";
};
character = {
success_symbol = "[](purple)";
error_symbol = "[](red)";
vimcmd_symbol = "[](green)";
};
git_branch = {
format = "[$branch]($style)";
style = "bright-black";
};
git_status = {
format = "[(*$conflicted$untracked$modified$staged$renamed$deleted) $ahead_behind$stashed]($style)";
style = "cyan";
conflicted = "";
untracked = "";
modified = "";
staged = "";
renamed = "";
deleted = "";
stashed = "";
};
git_state = {
format = "([$state( $progress_current/$progress_total)]($style)) ";
style = "bright-black";
};
cmd_duration = {
format = "[$duration]($style) ";
style = "yellow";
};
python = {
format = "[$virtualenv]($style) ";
style = "bright-black";
};
};
};
# home.file.".config/starship.toml" = {
# source = builtins.toPath ./pure.toml;
# };
}
+19
View File
@@ -0,0 +1,19 @@
{
pkgs,
myConfig,
...
}: {
environment.systemPackages = with pkgs; [
steam-run
];
programs.steam = {
enable = true;
gamescopeSession.enable = true;
extraCompatPackages = with pkgs; [proton-ge-bin];
extraPackages = with pkgs; [
mangohud
gamescope-wsi
];
};
programs.gamemode.enable = true;
}
+35
View File
@@ -0,0 +1,35 @@
{pkgs, ...}: {
xdg.desktopEntries = {
steam = {
name = "Steam";
genericName = "Game Platform";
comment = "Play and discuss games.";
# exec = "${pkgs.mangohud}/bin/mangohud ${pkgs.steam}/bin/steam %U"; # The standard command to launch Steam
exec = "${pkgs.steam}/bin/steam %U"; # The standard command to launch Steam
terminal = false;
icon = "steam"; # Assumes the 'steam' icon is available in your icon theme
type = "Application";
categories = ["Game" "Network"];
mimeType = [
"x-scheme-handler/steam" # For handling steam:// links
];
actions = {
BigPicture = {
name = "Big Picture Mode";
# exec = "${pkgs.mangohud}/bin/mangohud ${pkgs.steam}/bin/steam steam://open/bigpicture";
exec = "${pkgs.steam}/bin/steam steam://open/bigpicture";
};
Store = {
name = "Store";
# exec = "${pkgs.mangohud}/bin/mangohud ${pkgs.steam}/bin/steam steam://store";
exec = "${pkgs.steam}/bin/steam steam://open/bigpicture";
};
Library = {
name = "Library";
# exec = "${pkgs.mangohud}/bin/mangohud ${pkgs.steam}/bin/steam steam://library";
exec = "${pkgs.steam}/bin/steam steam://open/bigpicture";
};
};
};
};
}
+16
View File
@@ -0,0 +1,16 @@
{
inputs,
pkgs,
myConfig,
...
}: {
imports = [
inputs.jovian.nixosModules.default
];
# environment.systemPackages = with pkgs; [inputs.jovian.packages.${system}.default];
jovian.steam.enable = true;
jovian.steam.autoStart = true;
jovian.steam.desktopSession = "hyprland";
jovian.steam.user = "${myConfig.essentials.Username}";
jovian.hardware.has.amd.gpu = true;
}
+57
View File
@@ -0,0 +1,57 @@
{pkgs, ...}: let
mangoConfigList = ["cpu_temp" "gpu_temp" "ram" "vram"];
mangoConfigStr = builtins.concatStringsSep "," mangoConfigList;
gamescopeArgsList = [
"--adaptive-sync"
"--hdr-enabled"
"--mangoapp"
"--rt"
"--steam"
];
gamescopeArgsStr = builtins.concatStringsSep " " gamescopeArgsList;
steamArgsList = [
"-pipewire-dmabuf"
"-tenfoot"
];
steamArgsStr = builtins.concatStringsSep " " steamArgsList;
myGamescopeSteamScript = pkgs.writeShellApplication {
name = "start-gamescope-steam";
runtimeInputs = [
pkgs.gamescope
pkgs.steam
pkgs.mangohud
];
text = ''
#!/usr/bin/env bash
set -xeuo pipefail
export MANGOHUD=1
export MANGOHUD_CONFIG="${mangoConfigStr}"
exec ${pkgs.gamescope}/bin/gamescope ${gamescopeArgsStr} -- ${pkgs.steam}/bin/steam ${steamArgsStr}
'';
};
in {
programs = {
gamescope = {
enable = true;
capSysNice = true;
};
steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
gamescopeSession.enable = true;
};
};
hardware.xone.enable = true;
environment.loginShellInit = ''
[[ "$(tty)" = "/dev/tty1" ]] && ${myGamescopeSteamScript}/bin/start-gamescope-steam
'';
}
+11
View File
@@ -0,0 +1,11 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
sunshine
];
services.sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true;
openFirewall = true;
};
}
+3
View File
@@ -0,0 +1,3 @@
{...}: {
services.swww.enable = true;
}
-152
View File
@@ -1,152 +0,0 @@
{
"layer": "top",
"position": "top",
"height": 45,
"spacing": 0,
"modules-left": [
"hyprland/workspaces",
"tray",
"custom/lock",
"custom/reboot",
"custom/power",
"clock"
],
"modules-center": ["hyprland/window"],
"modules-right": [
"network",
"battery",
"bluetooth",
"pulseaudio",
"backlight",
"custom/temperature",
"memory",
"cpu"
],
"hyprland/workspaces": {
"disable-scroll": false,
"all-outputs": true,
"format": "{icon}",
"on-click": "activate",
"persistent-workspaces": {
"*":[1,2,3,4,5,6,7]
},
"format-icons":{
"1": "󰣇",
"2": "",
"3": "",
"4": "󰇮",
"5": "",
"6": "",
"7": "",
"active": "󱓻"
}
},
"custom/lock": {
"format": "  ",
"on-click": "hyprlock",
"tooltip": true,
"tooltip-format": "锁屏"
},
"custom/reboot": {
"format": "  ",
"on-click": "systemctl reboot",
"tooltip": true,
"tooltip-format": "重启"
},
"custom/power": {
"format": "  ",
"on-click": "systemctl poweroff",
"tooltip": true,
"tooltip-format": "关机"
},
"network": {
"format-wifi": " 󰤨 {essid} ",
"format-ethernet": " Wired ",
"tooltip-format": "<span color='#FF1493'> 󰅧 </span>{bandwidthUpBytes} <span color='#00BFFF'> 󰅢 </span>{bandwidthDownBytes}",
"format-linked": " 󱘖 {ifname} (No IP) ",
"format-disconnected": "  Disconnected ",
"format-alt": " 󰤨 {signalStrength}% ",
"interval": 1
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": " {icon} {capacity}% ",
"format-charging": " 󱐋{capacity}%",
"interval": 1,
"format-icons": ["󰂎", "󰁼", "󰁿", "󰂁", "󰁹"],
"tooltip": true
},
"pulseaudio": {
"format": "{icon}{volume}% ",
"format-muted": " 󰖁 0% ",
"format-icons": {
"headphone": "  ",
"hands-free": "  ",
"headset": "  ",
"phone": "  ",
"portable": "  ",
"car": "  ",
"default": [
"  ",
"  ",
"  "
]
},
"on-click-right": "pavucontrol -t 3",
"on-click": "pactl -- set-sink-mute 0 toggle",
"tooltip": true,
"tooltip-format": "当前系统声音: {volume}%"
},
"custom/temperature": {
"exec": "sensors | awk '/^Package id 0:/ {print int($4)}'",
"format": " {}°C ",
"interval": 5,
"tooltip": true,
"tooltip-format": "当前 CPU 温度: {}°C"
},
"memory": {
"format": "  {used:0.1f}G/{total:0.1f}G ",
"tooltip": true,
"tooltip-format": "当前内存占比: {used:0.2f}G/{total:0.2f}G"
},
"cpu": {
"format": "  {usage}% ",
"tooltip": true
},
"clock": {
"interval": 1,
"timezone": "Asia/Chengdu",
"format": "  {:%H:%M} ",
"tooltip": true,
"tooltip-format": "{:L%Y 年 %m 月 %d 日, %A}"
},
"tray": {
"icon-size": 17,
"spacing": 6
},
"backlight": {
"device": "intel_backlight",
"format": "{icon}{percent}% ",
"tooltip": true,
"tooltip-format": "当前屏幕亮度: {percent}%",
"format-icons": [
" 󰃞 ", // 暗 - 深灰
" 󰃝 ", // 中 - 灰
" 󰃟 ", // 亮 - 柠檬黄
" 󰃠 " // 最亮 - 金色
]
},
"bluetooth": {
"format": "  {status} ",
"format-connected": "  {device_alias} ",
"format-connected-battery": "  {device_alias}{device_battery_percentage}% ",
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%"
}
}
-131
View File
@@ -1,131 +0,0 @@
* {
font-family: "CaskaydiaCove Nerd Font", "Font Awesome 6 Free", "Font Awesome 6 Free Solid";
font-size: 16px;
border-radius: 0;
min-height: 0;
border: none;
font-weight: bold;
}
#workspaces{
background-color: rgba(24,24,37,1.0);
border: none;
box-shadow: none;
}
#tray{
margin: 6px 3px;
background-color: rgba(36, 36, 52, 1.0);
padding: 6px 12px; /* 保持内部间距 */
border-radius: 6px;
border-width: 0px;
}
#waybar {
background-color: #181825;
transition-property: background-color;
transition-duration: 0.5s;
}
#window,
#clock,
#custom-power,
#custom-reboot,
#bluetooth,
#battery,
#pulseaudio,
#backlight,
#custom-temperature,
#memory,
#cpu,
#network,
#custom-lock{
border-radius: 4px;
margin: 6px 3px;
padding: 6px 12px;
background-color: #1e1e2e;
color: #181825;
}
#clock {
background-color: #89b4fa;
}
#custom-power{
background-color: #f38ba8;
}
#custom-reboot{
background-color: #a6e3a1;
}
#bluetooth{
background-color: #f9e2af;
}
#battery{
background-color: #cba6f7;
}
#pulseaudio{
background-color: #89dceb;
}
#backlight{
background-color: #a6a3a1;
}
#custom-temperature{
background-color: #74c7ec;
}
#memory{
background-color: #f7768e;
}
#cpu{
background-color: #f38ba8;
}
#network{
background-color: #fab387;
}
#custom-lock{
background-color: #94e2d5;
}
#window{
background-color: #74c7ec;
}
#waybar.hidden {
opacity: 0.5;
}
#workspaces button {
all: initial;
/* Remove GTK theme values (waybar #1351) */
min-width: 0;
/* Fix weird spacing in materia (waybar #450) */
box-shadow: inset 0 -3px transparent;
/* Use box-shadow instead of border so the text isn't offset */
padding: 6px 18px;
margin: 6px 3px;
border-radius: 4px;
background-color: rgba(36, 36, 52, 1.0);
color: #cdd6f4;
}
#workspaces button.active {
color: #1e1e2e;
background-color: #cdd6f4;
}
#workspaces button:hover {
box-shadow: inherit;
text-shadow: inherit;
color: #1e1e2e;
background-color: #cdd6f4;
}
tooltip {
border-radius: 8px;
padding: 16px;
background-color: #131822;
color: #C0C0C0;
}
tooltip label {
padding: 5px;
background-color: #131822;
color: #C0C0C0;
}
-11
View File
@@ -1,11 +0,0 @@
{ ... }: {
programs.waybar = {
enable = true;
};
home.file.".config/waybar" = {
source = builtins.toPath ./custom;
recursive = true;
force = true;
};
}
+8
View File
@@ -0,0 +1,8 @@
{
programs.zoxide = {
enable = true;
enableFishIntegration = true;
enableZshIntegration = true;
enableBashIntegration = true;
};
}
-55
View File
@@ -1,55 +0,0 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#ffdd86",
"style": "plain",
"template": "{{ .UserName }}@{{ .HostName }} ",
"type": "session"
},
{
"foreground": "#42a9ff",
"style": "plain",
"properties": {
"style": "full"
},
"template": "{{ .Path }} ",
"type": "path"
},
{
"properties": {
"branch_icon": "",
"fetch_status": true
},
"style": "plain",
"template": "git:{{ if or (.Working.Changed) (.Staging.Changed) (gt .StashCount 0) }}<#ffdd86>{{ .HEAD }}</>{{ else }}{{ .HEAD }}{{ end }}{{ if .Staging.Changed }} <#98c379>{{ .Staging.String }}</>{{ end }}{{ if .Working.Changed }} <#d16971>{{ .Working.String }}</>{{ end }}",
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#ffdd86",
"foreground_templates": [
"{{ if gt .Code 0 }}#42a9ff{{ end }}"
],
"properties": {
"always_enabled": true
},
"style": "plain",
"template": "> ",
"type": "status"
}
],
"type": "prompt"
}
],
"version": 3
}
-74
View File
@@ -1,74 +0,0 @@
{ pkgs, ... }: {
home.packages = [
pkgs.zoxide
pkgs.oh-my-posh
];
programs.zoxide.enable = true;
programs.oh-my-posh.enable = true;
home.file.".config/oh-my-posh/config.omp.json" = {
source = ./custom/config.omp.json;
force = true;
};
programs.zsh = {
enable = true;
plugins = [
# {
# name = "zsh-autocomplete"; # completes history, commands, etc.
# src = pkgs.fetchFromGitHub {
# owner = "marlonrichert";
# repo = "zsh-autocomplete";
# rev = "762afacbf227ecd173e899d10a28a478b4c84a3f";
# sha256 = "1357hygrjwj5vd4cjdvxzrx967f1d2dbqm2rskbz5z1q6jri1hm3";
# }; # e.g., nix-prefetch-url --unpack https://github.com/marlonrichert/zsh-autocomplete/archive/762afacbf227ecd173e899d10a28a478b4c84a3f.tar.gz
# }
{
name = "vi-mode";
src = pkgs.zsh-vi-mode;
file = "share/zsh-vi-mode/zsh-vi-mode.plugin.zsh";
}
{
name = "autosuggestion";
src = pkgs.zsh-autosuggestions;
file = "share/zsh-autosuggestions/zsh-autosuggestions.zsh";
}
];
enableCompletion = true;
syntaxHighlighting.enable = true;
shellAliases = {
ll = "ls -l";
upd = "sudo nixos-rebuild switch --flake ~/Nixos/#biscuit";
hupd = "home-manager switch --flake ~/Nixos/#biscuit --impure";
agu = "pkill gjs & ags run ~/Nixos/packages/ags/custom/app.ts &";
};
history.size = 10000;
oh-my-zsh = {
plugins = [ ];
enable = true;
theme = "robbyrussell";
extraConfig = ''
zstyle ':completion:*' completer _expand _complete _ignored _approximate _expand_alias
zstyle ':autocomplete:*' default-context curcontext
zstyle ':autocomplete:*' min-input 0
setopt HIST_FIND_NO_DUPS
autoload -Uz compinit
compinit
# setopt autocd # cd without writing 'cd'
setopt globdots # show dotfiles in autocomplete list
'';
};
initContent = ''
# Oh-My-Posh initialization for Zsh
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/config.omp.json)"
# zsh-autocomplete
bindkey -M menuselect '^M' .accept-line # run code when selected completion
'';
};
}
+36
View File
@@ -0,0 +1,36 @@
{
pkgs,
myConfig,
...
}: {
programs.zsh.enable = true;
programs.zoxide.enable = true;
programs.zsh = {
enableCompletion = false;
syntaxHighlighting.enable = false;
shellAliases = myConfig.general.Terminal.aliases;
history.size = 10000;
antidote = {
enable = true;
plugins = [
"MichaelAquilina/zsh-autoswitch-virtualenv"
"jeffreytse/zsh-vi-mode"
"zdharma-continuum/fast-syntax-highlighting kind:defer"
"zsh-users/zsh-autosuggestions kind:defer"
"zsh-users/zsh-history-substring-search kind:defer"
];
};
initContent = ''
# zsh-autocomplete
# bindkey -M menuselect '^M' .accept-line # run code when selected completion
autoload -Uz compinit
if [ "$(date +'%j')" != "$(stat -f '%Sm' -t '%j' ~/.zcompdump 2>/dev/null)" ]; then
compinit
else
compinit -C
fi
'';
};
}
-13
View File
@@ -1,13 +0,0 @@
{
pkgs,
inputs,
system,
...
}: {
environment.systemPackages = with pkgs; [
astal.io
astal.gjs
astal.hyprland
astal.apps
];
}
-7
View File
@@ -1,7 +0,0 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
firefox
];
programs.firefox.enable = true;
}
-5
View File
@@ -1,5 +0,0 @@
{ pkgs, ... }: {
fonts.packages = with pkgs; [
nerd-fonts.fira-code
];
}
-9
View File
@@ -1,9 +0,0 @@
{ ... }: {
programs.hyprland = {
enable = true;
# package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
# portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
xwayland.enable = true;
};
}

Some files were not shown because too many files have changed in this diff Show More