Commit Graph

206 Commits

Author SHA1 Message Date
90a54db08b
config: update arguments for importing nixpkgs
Most of the things should be configured in their respective
environments already.
2023-12-17 11:57:14 +08:00
9cd586231e
config: set proper module default for nix.package 2023-12-16 19:00:09 +08:00
c9bee4b97a
config: set only default for nixosModules and homeModules flake output 2023-12-16 20:02:53 +08:00
d1602b438c
config: use buildFirefoxXpiAddon from NUR
I didn't realize it is available.
2023-12-15 20:41:27 +08:00
10c3509121
config: set system on default host config 2023-12-16 20:02:22 +08:00
3714f843d0
chore: reformat codebase 2023-12-13 11:28:45 +08:00
97f012d0e3
config: update default home-manager config 2023-12-13 11:25:14 +08:00
4fb82448a9
config: re-apply nixpkgs-channel metadata correctly 2023-12-13 11:25:01 +08:00
b04a284489
config: replace specialArgs with _modules.args in NixOS config 2023-12-13 10:00:43 +08:00
231200546d
config: initialize XDG basedirs for default host config
Not much parts of the system set this so we'll do it ourselves.
2023-12-13 09:59:37 +08:00
9762042848
hosts/plover: try out host-specific module structure 2023-12-11 16:30:00 +08:00
53d2e10607
config: update default home-manager config 2023-12-10 20:22:51 +08:00
198ded079b
config: make mkHome more universal
I don't know how to deploy the home-manager configurations with more
than one systems reliably without ruining the experience of having to
pass an autogenerated name for the correct configuration. The way it's
currently done provides no benefit for multi-system users.

It's not perfect but for now, we'll set the system through importing
nixpkgs which has auto-detection for its system. Though, this makes the
user system declaration ineffective.
2023-12-10 18:34:20 +08:00
08c75b52bf
config: remove Guix overlay flake input
Much of what is needed is now available in nixpkgs.
2023-12-08 12:36:25 +08:00
e45fad294e
config: fix shared config for nixosConfigurations and images 2023-12-08 12:35:46 +08:00
48d2b0f3dd
config: add option for declaring differing home-manager channel in NixOS configs 2023-12-04 18:54:18 +08:00
cc839ad4af
config: enable multiple versions of home-manager
This is in preparation for the deployment enabling NixOS machines to
deploy separate home-manager versions and home-manager configurations
themselves having differing versions for each home-manager user.
2023-12-04 18:51:41 +08:00
1095571983
config: update nixos-stable to nixos-23.11 branch 2023-12-04 18:40:30 +08:00
c25c8ac8b8
config: add nixpkgs-unstable branch 2023-12-04 18:29:37 +08:00
8e122373d7
hosts/ni: revert Guix service config 2023-11-24 11:39:05 +08:00
c74ad8118d
config: add NixOS-WSL for test WSL configuration 2023-11-24 10:11:26 +08:00
112e155aa4
hosts/ni: update Guix service config 2023-11-22 16:04:40 +08:00
7c2a3dcf7e
config: update home-manager config to use nixpkgs.legacyPackages
We can configure most of the nixpkgs option through the `nixpkgs`
attribute anyways.
2023-11-09 09:40:56 +08:00
ea278d3ef9
config: remove duplicate config 2023-11-08 20:46:12 +08:00
a90e123fbb
config: make nixpkgs properly follow nixos-unstable branch 2023-11-08 20:34:06 +08:00
051e7fb3c4
config: remove inputs extraArgs
It isn't exactly used much and also it is not really meant to be used in
that way even though it is still Nix data.
2023-11-07 08:21:48 +08:00
16fa8cb64f
config: replace command-not-found with nix-index 2023-11-04 23:22:54 +08:00
b916de5ded
config: add nix-index-database for pre-compiled indices
It always crashes in my desktop whenever I try to create one.
2023-11-04 14:58:02 +08:00
a8def0527e
config: append default timeservers
They're becoming slow lately so we'll have to replace it.
2023-10-28 11:53:40 +08:00
009a59e10b
config: set default value for system state version 2023-10-19 00:16:21 +08:00
1a9960a0f3
flake.nix: move the imported modules into the shared config
This makes it easier to think about the default shared configurations.
2023-10-16 23:01:38 +08:00
9d9d5e240f
config: disable user-dirs generation for homeConfigurations 2023-10-02 18:15:50 +08:00
8e91973c70
config: add comments 2023-09-28 18:33:00 +08:00
b5928cbb2e
overlays/ffmpeg-foodogsquared: init 2023-09-25 18:14:56 +08:00
578bb94828
flake.nix: remove unnecessary with statements 2023-09-17 13:53:19 +08:00
6a1178f969
config: add comments 2023-09-11 10:14:39 +08:00
9dcda51904
chore: reformat codebase 2023-09-08 10:00:33 +08:00
52d85eb573
config: update Nix settings 2023-09-08 10:00:33 +08:00
f60d28ba2a
config: fix images export 2023-08-04 10:25:05 +08:00
e9ff0dc7fa
config: refactor image and user listing 2023-08-04 10:03:38 +08:00
21e157d328
config: revise file retrieval for NixOS and home-manager configs 2023-08-03 22:58:55 +08:00
b30eb78170
flake.nix: update nixpkgs for packages output
The custom Firefox addons is not exported anyways so we don't need to
import with the overlays.
2023-08-03 18:11:34 +08:00
cae874e52f
templates/local-ruby-nix: init 2023-08-03 15:44:11 +08:00
6d58d6a14e
config: update default home-manager config 2023-08-02 15:20:26 +08:00
2622101910
config: share Nix settings for NixOS and home-manager 2023-08-02 14:51:10 +08:00
d4fac02340
config: update declarative users procedure 2023-08-02 10:12:29 +08:00
6bde240991
config: update internal check variable
I forgot to update it. Whoops...
2023-08-02 10:11:37 +08:00
b97cc4415a
flake.nix: update list of caches for flake config 2023-07-30 14:17:04 +08:00
1978c18760
config: add platforms to system lists 2023-07-30 14:16:40 +08:00
f282aa2066
config: make platforms as a list for users and images
The `images` output attribute is now similar to packages as an attribute
set of packages with their platforms as the first level.
2023-07-30 07:11:53 +08:00