Commit Graph

196 Commits

Author SHA1 Message Date
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
b06a0dcce6
config: update home-manager configs for non-NixOS systems 2023-07-29 10:47:34 +08:00
152b7248c5
config: add sops-nix home-manager module 2023-07-24 17:45:51 +08:00
305c54996f
lib/images: change mkUser to mkHome 2023-07-24 15:22:19 +08:00
4edd63f411
flake.nix: remove rust-overlay flake
It is better suited for individual projects and the devshell uses the
versions from nixpkgs anyways.
2023-07-24 13:09:30 +08:00
76c9589de8
config: use Nix unstable as the default Nix package 2023-07-23 10:32:17 +08:00
28faf41a1c
chore: reformat codebase 2023-07-19 17:27:33 +08:00
3c60989da4
config: add foodogsquared's binary cache
YAY! It's usable again. :D
2023-07-19 15:35:55 +08:00
f98ccd1745
flake.nix: remove nix-ld flake
Also using the module from nixpkgs.
2023-07-16 18:13:13 +08:00
84fb02fb28
firefox-addons: remove package
Only remove the package from the user package set and only available as
an overlay. For now, it is done to make building my custom packages
easier in the CI pipeline.
2023-07-14 22:13:09 +08:00
9d7584bc82
config: fix nixpkgs import for mkImage
This should fix for image configurations that also make use of the
imported overlays.
2023-07-14 19:58:15 +08:00