Commit Graph

845 Commits

Author SHA1 Message Date
03552df4e3
lib: move env-specific subsets into their own directory 2024-05-27 15:21:48 +08:00
cd30aba3e1
config: update comments 2024-05-26 16:38:22 +08:00
ac4b36d550
nixvim: update helper library usage
Hope nothing like this ever happen again. It's a pain to track where
errors are coming from when debugging nixpkgs modules. T_T
2024-05-26 16:03:18 +08:00
93de33e028
nixos/programs/sessiond: add name option for session and components
Also similar change to the gnome-session one, blah blah blah...
2024-05-18 16:41:22 +08:00
ce9506a2bc
nixos/programs/gnome-session: add name option for session and components
Also updated the usage for `xToUnit` function from systemd-lib NixOS
library.
2024-05-18 16:41:22 +08:00
580e0ebe93
nixos/workflows: restructure enable option
The type is probably not apprioriate since I want to be able to install
multiple of them at a given time but we'll see.
2024-05-18 16:41:21 +08:00
3bc011a3ed
home-manager/programs/zed-editor: init module 2024-05-18 16:41:21 +08:00
26f827d9dd
home-manager/suites/dev: update state variable to use ignoreDirectories 2024-05-18 16:41:21 +08:00
435654f95e
home-manager/suites/dev: update fzf and eza settings 2024-05-18 16:41:20 +08:00
9cef07f1a5
nixos/state: init module 2024-05-18 16:41:20 +08:00
9cd81e5880
home-manager/state: init module 2024-05-18 16:41:20 +08:00
b32bf6d6ab
nixos/programs/{sessiond,gnome-session}: fix OOMScoreAdjust= default value
You have to be careful with negative numbers, apparently.
2024-05-18 16:41:19 +08:00
42c70349a9
nixos/programs/gnome-session: refactor and update comments 2024-05-18 16:41:19 +08:00
94bb5116f4
nixos/programs/sessiond: refactor and update comments 2024-05-18 16:41:19 +08:00
b812da0e4e
nixos/programs/{gnome-session,sessiond}: correct the attribute for session packages 2024-05-18 16:41:19 +08:00
3bf53acb58
nixos/programs/{sessiond,gnome-session}: update desktop session attribute 2024-05-18 16:41:18 +08:00
fadfea8215
modules: disable flake registry in Nix settings
Now we'll see what flakes are doing it properly.
2024-05-18 16:41:18 +08:00
12dfa258a0
nixos/programs/cardboard-wm: remove
It has a nixpkgs module now so it's fine to remove this.
2024-05-18 16:41:17 +08:00
173919dcf0
nixos/workflows: use private library
It's a private module now so it's fine.
2024-05-18 16:41:17 +08:00
f053a92a99
home-manager/suites/dev: add Copier tool 2024-05-18 16:41:17 +08:00
468333ff40
home-manager/services/activitywatch: remove module
It's now available as an upstream module, yay!
2024-05-18 16:41:16 +08:00
6965e6e013
home-manager/suites/dev: update eza config 2024-05-18 16:41:16 +08:00
32c807e064
flake-parts/setups: correct module type for custom modules attr 2024-05-18 16:41:16 +08:00
2b5b7cf50a
home-manager/files/mutable-files: fix fetch script 2024-03-15 17:29:11 +08:00
7bcbd912ca
nixos/profiles/installer: include disko 2024-03-15 11:49:30 +08:00
4877a6074e
nixos/profiles/overlays: init 2024-03-12 10:46:24 +08:00
659dc6addd
home-manager/profiles/overlays: init 2024-03-09 11:42:25 +08:00
e89e80516e
home-manager/services/{gallery-dl,yt-dlp}: update unit name template 2024-03-09 11:41:47 +08:00
a42c588402
home-manager/services/yt-dlp: fix infinite recursion error 2024-03-09 11:06:03 +08:00
1e909ff150
nixos/programs/gnome-session: remove enable
This reverts commit e83f6d5c96a7082232eb55e72a9b8d082f73a3ae.
2024-03-07 15:54:27 +08:00
a4c4636081
nixos/programs/sessiond: remove enabled
This reverts commit bea2df0a0949db8357322b49e6a8d59dd3aee93d.
2024-03-07 15:54:22 +08:00
485ac7a4c4
nixos/programs/{gnome-session,sessiond}: improve code 2024-03-07 15:54:04 +08:00
65a52252bd
home-manager/programs/pipewire: fix module 2024-03-06 20:46:05 +08:00
b8616bd7b2
nixos/programs/sessiond: force disabling of default sessiond session
This will completely break if set otherwise so we'll have to force it.
2024-03-06 17:02:08 +08:00
ec3fdab52c
flake-parts/setups: update shared Nix config
At least we've set the right sources for the system's nixpkgs and
home-manager branches.
2024-03-06 17:01:21 +08:00
f3462beed8
nixos/programs/gnome-session: make it explicitly enabled 2024-03-06 16:30:30 +08:00
01fd15fc8a
nixos/programs/sessiond: make it explicitly enabled 2024-03-06 16:30:06 +08:00
f6d6a4acae
home-manager/programs/neovide: improve the conditional for settings file 2024-03-06 16:29:24 +08:00
fd6d903108
nixos-generators/install-iso-graphical: fix module 2024-03-06 16:27:32 +08:00
c5aa3ffa68
flake-parts/setups/nixos: fix code 2024-03-06 16:25:45 +08:00
f016e180b5
flake-parts/setups/nixos: prioritize the specified nixpkgs and home-manager branches in nix-path 2024-03-05 20:45:24 +08:00
c17eb9b29e
flake-parts/setups/nixos: improve code 2024-03-05 20:38:33 +08:00
f5e667ad36
flake-parts: import Disko config schema
Also this.
2024-03-04 07:44:40 +08:00
1fb4a0e3e4
flake-parts/setups/nixvim: import private modules
Forgot about this.
2024-03-04 07:44:10 +08:00
44b0ba9a61
nixos/suites/filesystem: update device names 2024-03-04 07:42:25 +08:00
ba6b30ca95
lib: standardize arguments (again)
We'll just copy what we did with Bahaghari project.
2024-03-03 16:39:32 +08:00
4a19b2004e
nixos/profiles/installer: update 2024-03-03 10:26:19 +08:00
949f42b683
nixos/profiles/desktop: remove improper cloning config
This causes a bug to be recursively import nixpkgs and taking over space.
2024-03-03 10:25:26 +08:00
bf52b6b5be
flake-parts/setups/nixos: add foodogsquaredUtils to module args
An ugly solution but can't get around much for generating Nix modules with
the modularly set `foodogsquaredLib` so we'll have to make it evaluated before
the NixOS config evaluation.
2024-03-02 18:20:51 +08:00
56463dec13
home-manager/files/mutable-files: update fetch script (again) 2024-03-02 12:44:02 +08:00
0bd1399508
home-manager/files/mutable-files: fix fetch script 2024-03-01 18:13:26 +08:00
d083b4d0b5
nixvim/plugins/smart-splits: remove
It has been upstreamed in NixVim so that's a-go-go.
2024-03-01 18:10:42 +08:00
40352d6a74
lib: standardize the required arguments
Just to make it consistent.
2024-03-01 18:09:47 +08:00
843310e8b8
nixos/profiles/desktop: make the configuration easily retrievable 2024-02-28 18:49:11 +08:00
22e3a09243
flake-parts/setups/nixos: add shouldbePartOfNixOSConfigurations
This allows explicitly including a NixOS config even with the unfulfilled
conditions. With deploy-rs nodes, they're pretty specific so we'll opt for
this solution.
2024-02-28 18:47:43 +08:00
cf64ff7490
flake-parts/setups/nixos: fix erroneous code 2024-02-28 18:46:09 +08:00
51f52dc3f9
home-manager/files/mutable-files: properly group fetch subscripts 2024-02-28 18:45:37 +08:00
c08289419c
lib/nixos: update to include config 2024-02-28 18:44:27 +08:00
098df7d058
nixos/profiles/installer: init
Not perfect but we'll add more niceties later.
2024-02-27 21:16:53 +08:00
acba42bd99
flake-parts/setups/nixos: add Disko configs for each NixOS system 2024-02-27 21:16:26 +08:00
b95aa94cae
flake-parts/setups/nixos: add custom nixos-generators format 2024-02-27 21:10:17 +08:00
3367ca59a6
flake-parts/setups/disko: init
Even though this is pretty useless in practice but whatever.
2024-02-27 20:58:22 +08:00
04f3098508
flake-parts/disko-configurations: init 2024-02-27 20:54:47 +08:00
54104720b5
nixos-generators/install-iso-graphical: init 2024-02-27 20:53:27 +08:00
ac036d10a9
modules: fix custom library 2024-02-25 22:27:05 +08:00
5af7ac1c3d
modules: add extra arguments private module
Even easier way to set things up now.
2024-02-25 20:04:29 +08:00
8377dba214
nixos/tinted-theming: remove
Entirely replaced with Bahaghari subproject now.
2024-02-25 20:00:54 +08:00
15a43cd1e5
chore: reformat codebase 2024-02-25 18:20:13 +08:00
c65674c742
docs: update workflows README 2024-02-25 17:44:40 +08:00
db2da4d7d2
nixos/workflows: reclassify as private modules
It doesn't fit with the public module requirement of no reliance of
third-party modules anymore as we'll be using Bahaghari at the near future.
2024-02-23 20:56:32 +08:00
6acc1507ba
home-manager/suites/desktop: improve code 2024-02-23 20:36:27 +08:00
911476c37c
bahaghari: move into subprojects directory
This'll make it easier to transfer to a dedicated repo in case.
2024-02-23 14:47:49 +08:00
de6d5dc5b4
bahaghari/tinted-theming: init module set 2024-02-22 14:34:18 +08:00
03590ad834
nixos/workflows: disable display manager services
This is now on the individual configurations to enable them since most
workflows are expected to be quite similar to desktop environments like from
default NixOS modules.
2024-02-15 23:14:33 +08:00
ee9ad1ceac
nixvim/plugins/dressing-nvim: init 2024-02-15 23:08:25 +08:00
2c5b4c9308
nixvim/plugins: fix modules 2024-02-15 06:42:26 +08:00
b0b7fb5cc9
nixvim/plugins/legendary-nvim: init 2024-02-15 05:48:59 +08:00
92e92997bd
nixvim/plugins/lush-nvim: update module description 2024-02-14 21:14:47 +08:00
f5c9f0f876
flake-parts/setups: add configName option 2024-02-14 21:14:06 +08:00
434a4e90aa
nixvim/plugins/firenvim: update to RFC42-style settings 2024-02-14 18:55:21 +08:00
0c1850d8b0
nixvim/plugins/smart-splits: init 2024-02-14 18:28:01 +08:00
7736fd7059
home-manager/files/mutable-files: revise custom script 2024-02-13 12:26:14 +08:00
a4177f9382
flake-parts/setups: set separate namespace for custom library
This at least allows us to make custom environment-specific library sets.
2024-02-11 15:16:25 +08:00
95b3e7bc2e
nixos/tinted-theming: add templates attribute 2024-02-10 20:05:39 +08:00
79e118e609
{nixos,home-manager,nixvim}/tinted-theming: init 2024-02-10 10:34:03 +08:00
f00ff0f06f
nixvim/plugins/lush-nvim: properly apply the Lush spec 2024-02-09 17:35:43 +08:00
7fd046a6a6
nixvim/plugins/lush-nvim: change initLush attribute name to extraConfigLua
It's more consistent and also the same name used for similar options.
2024-02-08 19:31:42 +08:00
5e7481b898
nixvim/plugins/lush-nvim: init 2024-02-08 11:07:42 +08:00
e8d79d2b68
chore: reformat codebase 2024-02-07 08:51:34 +08:00
c3d39ae71b
flake-parts/setups: change priority for enabling NixVim instance 2024-02-07 08:02:04 +08:00
cc488eb391
nixvim/plugins/nvim-config-local: init 2024-02-07 07:54:37 +08:00
e5ace891b0
home-manager/programs/neovide: init 2024-02-07 07:46:33 +08:00
783599e8e1
home-manager/programs/pipewire: fix config file locations 2024-02-06 20:28:32 +08:00
ec881d46a3
nixos/workflows/a-happy-gnome: remove resolved service
IDK why it's there but ehh...
2024-02-06 20:18:48 +08:00
6d1cb78564
home-manager/programs/pipewire: init 2024-02-04 22:25:20 +08:00
4d44190cc4
flake-parts/setups/nixos: fix NixVim module importing 2024-02-04 22:24:06 +08:00
e796aae01f
flake-parts/setups: fix NixVim importing for home-manager and NixOS setups 2024-02-03 21:29:36 +08:00
ccfd409912
nixos/workflows/a-happy-gnome: disable Desktop Cube GNOME extension 2024-02-02 17:29:55 +08:00
46d7cf94e0
nixos/workflows/a-happy-gnome: add scratch window bindings for PaperWM 2024-02-02 17:29:30 +08:00
44090d6257
chore: reformat codebase 2024-02-02 12:40:16 +08:00
3bdaa63231
flake-parts/setups: include private modules as part of default shared modules 2024-01-30 13:32:25 +08:00
4e7a8b254d
nixvim/keyunmaps: init 2024-01-29 20:36:00 +08:00
1c08463334
flake-parts/setups: refactor Nixvim instance option module 2024-01-28 11:45:09 +08:00
ee285c2004
flake-parts/setups/nixvim: add neovimPackages option 2024-01-28 11:44:39 +08:00
1b4d91c67b
modules: create dedicated default Nix config profile 2024-01-27 16:51:10 +08:00
ed1264c062
flake-parts/setups: refactor and add NixVim instance for home-manager configs 2024-01-26 21:12:22 +08:00
9d4db1eae4
nixos/programs/gnome-session: recommend reverse DNS-like naming scheme as DE identifier 2024-01-26 18:02:03 +08:00
c672bf387b
flake-parts/setups/nixos: add optional NixVim config import 2024-01-26 18:01:12 +08:00
7b77035949
flake-parts/setups/nixos: refactor 2024-01-26 17:39:12 +08:00
c2513f94ea
nixos/profiles/desktop: make Pipewire the preferred audio setup
We can still modularize those imports even if we have problems with it.
2024-01-26 16:49:44 +08:00
677b57cad7
nixos/profiles/desktop: make Nix more of a background process 2024-01-26 16:49:02 +08:00
26822d655d
nixvim/plugins/firenvim: init 2024-01-26 16:47:30 +08:00
c6bc18035a
flake-parts/setups: import the default modules 2024-01-26 09:38:31 +08:00
356bbdc14e
flake-parts/setups/nixvim: init 2024-01-25 22:49:57 +08:00
b7d75f4c9d
flake-parts/nixvim-modules: init 2024-01-25 19:12:58 +08:00
2a8b8d9b08
flake-parts/nixvim-configurations: init 2024-01-25 19:09:57 +08:00
e5d0f3279b
nixos/programs/gnome-session: refactor and update comments 2024-01-25 18:59:19 +08:00
07510b2257
nixos/programs/sessiond: refactor and update comments 2024-01-25 18:55:57 +08:00
3cafa9f613
nixos/suites/desktop: modularize submodules into dedicated profiles
It's practically enabled every time so why not set them as profiles instead.
The structure should be enough for some control over what is enabled.
2024-01-25 18:52:07 +08:00
6737cd1d16
nixos/suites/gaming: fix erroneous attribute 2024-01-25 12:18:46 +08:00
7de6c0b422
nixos/programs/sessiond: update session service config 2024-01-25 12:18:02 +08:00
952fde19cf
nixos/programs/sessiond: add session example 2024-01-25 12:17:47 +08:00
b45f061db7
nixos/programs/gnome-session: update comments 2024-01-24 10:41:06 +08:00
1d3bc3c013
nixos/programs/sessiond: init 2024-01-24 10:40:22 +08:00
d1dc2953c7
nixos/programs/gnome-session: properly modularize and refactor 2024-01-23 11:31:20 +08:00
58e9380ad2
modules: rename suites private module in the filesystem
To make it less hurting for inspecting commits.
2024-01-22 14:52:00 +08:00
fb6c1ad004
home-manager/suites: make use of nixosConfig instead of osConfig 2024-01-22 14:50:00 +08:00
9b7cc8a850
modules: move profiles custom namespace to suites
We now have a "proper" profiles modules ala-nixpkgs so we'll have to move
these to make it less confusing.
2024-01-22 14:48:55 +08:00
d5c5ac2f0c
nixos/profiles/server: remove hardened-config submodule
We're also moving it to a profiles module ala-nixpkgs.
2024-01-22 12:21:37 +08:00
fc3f7eb7c7
nixos/profiles/server: remove headless submodule
Now this is moved as a "proper" profile module ala-nixpkgs. Also because
we can use not only on server systems.
2024-01-22 12:19:36 +08:00
a4402aa04f
nixos/profiles/generic: init
We'll have to move the `profiles` modules into a new namespace. It will
get confusing in the future.
2024-01-22 12:17:48 +08:00
5232684467
chore: update notes for gnome-session 2024-01-21 20:12:51 +08:00
8134ff798f
nixos/programs/gnome-session: remove script wrapper 2024-01-21 20:08:54 +08:00
a55f326d42
chore: reformat codebase 2024-01-20 18:11:30 +08:00
1915a106c9
chore: update comments 2024-01-20 17:22:49 +08:00
c797766ade
home-manager/mutable-files: refactor 2024-01-20 17:21:54 +08:00
1911e2575b
home-manager/mutable-files: put postScript in Service.ExecStartPost systemd directive 2024-01-20 17:21:27 +08:00
440b9fed2f
nixos/programs/kiwmi: remove
Haven't used it and kiwmi doesn't build and get updated much.
2024-01-20 17:18:11 +08:00
7bb0b0dd1f
modules: restructure private modules directory 2024-01-20 17:16:02 +08:00
23d466dea6
flake-parts/setups/nixos: clean up the code
Make it snazzy, more readable, and stuff.
2024-01-20 12:05:30 +08:00
5acba7ba41
docs: update modules design guidelines 2024-01-20 11:29:33 +08:00
6c34b5d2ee
docs: update modules README with design guidelines 2024-01-18 17:00:31 +08:00
22aeb0c396
flake-parts/setups/nixos: init option to add home-manager users from declarative users setup 2024-01-18 16:54:16 +08:00
521424e7f1
flake-parts/setups: fix module config scoping
It's getting confusing.
2024-01-17 21:46:18 +08:00
cce282dbcf
flake-parts/setups: update descriptions 2024-01-17 17:59:09 +08:00
4671d1654b
nixos/workflows/a-happy-gnome: add more extensions 2024-01-17 17:58:34 +08:00
55cbb8f23a
chore: reformat codebase 2024-01-17 17:58:00 +08:00
52d2f0186e
flake-parts/setups: change to use all systems by default 2024-01-17 17:43:31 +08:00
77fb48e95c
flake-parts/home-configurations: init 2024-01-17 17:31:35 +08:00
b183caaab8
flake-parts/home-modules: init 2024-01-17 17:31:21 +08:00