Gabriel Arazas
69414b5a21
config: create dotfiles
as an extraArgs
2022-09-25 11:46:14 +08:00
Gabriel Arazas
beec619819
flake.nix: update default host config
2022-09-19 10:55:31 +08:00
Gabriel Arazas
8a9207fba8
flake.nix: use mkDefault
for default host config
2022-09-01 23:21:39 +08:00
Gabriel Arazas
7ac5991cc4
templates/basic-overlay-flake: init template
2022-09-01 10:01:15 +08:00
Gabriel Arazas
c9ccb53bac
flake.nix: use Nix-built Guix service module
2022-08-27 13:41:12 +08:00
Gabriel Arazas
d70f3b3e69
flake.nix: refactor and remove system
from extraArgs
2022-08-19 17:36:33 +08:00
Gabriel Arazas
acc36dc851
flake.nix: refactor extraArgs
placement
2022-08-17 18:43:48 +08:00
Gabriel Arazas
08160eb827
misc: update and refactor
2022-08-13 08:31:44 +08:00
Gabriel Arazas
9c79c70d3b
flake.nix: update the registry and Nix config
2022-08-10 12:42:12 +08:00
Gabriel Arazas
a6d591f31b
flake.nix: generate Nix paths and registry with the inputs
2022-08-07 13:30:19 +08:00
Gabriel Arazas
3002c765a3
flake: add formatter attribute in the output
2022-08-06 14:57:51 +08:00
Gabriel Arazas
472af7efd1
flake.nix: format the file
2022-08-06 14:00:04 +08:00
Gabriel Arazas
e4d1bf6af6
hosts: update home-manager default configuration
...
I forgot I set the home-manager values only to
`homeManagerConfigurations` in the flake output. It should be added to
the hosts configuration with the `home-manager.sharedModules` attribute.
2022-08-06 13:58:24 +08:00
Gabriel Arazas
cf35320663
flake.nix: add helix-editor flake
2022-08-05 12:45:54 +08:00
Gabriel Arazas
adff4fd67f
flake.nix: update hosts default config
2022-07-28 17:29:58 +08:00
Gabriel Arazas
10131d58be
secrets: replace agenix with sops and sops-nix
2022-07-19 07:11:01 +08:00
Gabriel Arazas
9182306d81
flake.nix: reduce number of inputs from lockfile
...
Though, be sure to check it periodically to see if it's safe to follow
with our own inputs.
2022-07-14 09:10:34 +08:00
Gabriel Arazas
cdbb816eca
flake.nix: add NUR module to default host config
2022-07-14 08:21:09 +08:00
Gabriel Arazas
d599586053
flake.nix: add an overlay of the packages
2022-07-14 08:21:09 +08:00
Gabriel Arazas
6a0c115432
default.nix: support for traditional channels
...
Though, it's limited compared to flakes. I supposed that's better than
nothing.
2022-07-14 08:21:09 +08:00
Gabriel Arazas
cc40cdb110
flake.nix: update several parts of config
2022-07-14 08:03:18 +08:00
Gabriel Arazas
a20af36002
flake.nix: add blocklist for exported modules
...
Even though this will most likely extend under `tasks` attribute. Not to
mention, it is useless outside of my own setup anyways. Better be
accommodating than not, I guess.
2022-07-13 19:15:23 +08:00
Gabriel Arazas
4708d7acc2
profiles/system: refactor to remove inputs
attr
...
This is to reduce burden in case I want to support importing my
config through traditional channels.
2022-07-13 19:10:15 +08:00
Gabriel Arazas
a81ab6f415
flake.nix: update args for homeManagerConfiguration
2022-07-10 19:04:47 +08:00
Gabriel Arazas
0067a7b15e
flake.nix: follow inputs to original nixpkgs
...
All of the inputs are safe to follow the original nixpkgs. This is the
case for Neovim overlay that the lockfile is automatically updated and
the Emacs overlay simply has no lockfile.
2022-07-10 05:40:56 +08:00
Gabriel Arazas
eebaf93938
docs: update READMEs and comments
2022-07-09 14:04:17 +08:00
Gabriel Arazas
30c7ee0203
profiles/agenix: move into default config
2022-07-09 14:01:37 +08:00
Gabriel Arazas
7ad9a62f2c
profiles/users: move as a library function
2022-07-09 14:00:51 +08:00
Gabriel Arazas
40492d55b7
lib: privatize parts of library
...
Some of the functions cater to this specific setup so no need to export
them.
2022-07-09 13:49:51 +08:00
Gabriel Arazas
5a30ebcb02
flake.nix: update rust-overlay
overlay attribute
...
It is deprecated in favor of the newer preferred schema from the recent
Nix updates.
2022-07-09 10:52:54 +08:00
Gabriel Arazas
e235ad949e
flake.nix: fix references to lib
to being an argument
...
It turns out the functions that is being wrapped by `mkHost` and
`mkUser` both accept `lib` as one of the attribute on their respective
functions. It is better to use that instead of chucking it as part of
`extraSpecialArgs` or something similar.
2022-07-09 10:51:06 +08:00
Gabriel Arazas
3d9494d92a
flake.nix: update default NixOS config with home-manager options
2022-07-09 07:08:27 +08:00
Gabriel Arazas
908e0caf50
flake.nix: move flake utilities in the file
...
It doesn't make sense to put them into separate file anymore since there
is always only one location that uses it. The flake utilities have been
changed also with the updated version of the functions from its inputs.
2022-07-09 06:51:16 +08:00
Gabriel Arazas
024102c45c
home-manager/foo-dogsquared: get config into home
...
Now that I have time, I've learnt that Git submodules are not supported
well with flake-based setup. Instead, I'll use my dotfiles repo as one
of the inputs as a non-flake which is exactly what I want. NICE!
2022-07-06 07:46:40 +08:00
Gabriel Arazas
1c1aca1b6f
flake.nix: update list of permitted insecure packages
2022-07-06 07:38:21 +08:00
Gabriel Arazas
bde3ef040f
profiles/system: remove selfPath
...
It was the wrong value so we'll remove it.
2022-06-26 08:45:57 +08:00
Gabriel Arazas
7ec58315c1
update various files
2022-04-30 20:31:11 +08:00
Gabriel Arazas
9f6cef56f8
profiles/system: add auto-upgrade option
2022-04-17 22:33:04 +08:00
Gabriel Arazas
99050bc806
lib/flake-utils: refactor mkHost
...
Now that `system` top-level attribute in `configuration.nix` is
documented and comes with additional options now, we'll have to move the
system configuration into a new namespace. This is just the easy way
out.
2022-04-17 11:00:39 +08:00
Gabriel Arazas
d9b8598897
flake.nix: refactor
2022-04-15 20:49:59 +08:00
Gabriel Arazas
51a2ad3c4a
flake.nix: refactor for latest inputs
2022-04-03 10:23:46 +08:00
Gabriel Arazas
4de5e1505b
flake.nix: update various things
...
- Update the attribute names with the latest stable release.
- Explicitly support only 'x86_64-linux' for now.
- Format the file with nixfmt.
- Update the project-local Nix settings.
2022-03-28 08:15:40 +08:00
Gabriel Arazas
0dbea86e46
lib: make extraSpecialArgs
in mkUser
...
There are now other user configs that make use of different attributes
from the flake itself. It is better to make `extraSpecialArgs`
configurable at this point.
2022-03-01 23:05:28 +08:00
Gabriel Arazas
e1f69061e5
flake.lock: update
...
Flake lock file updates:
• Updated input 'agenix':
'github:ryantm/agenix/a17d1f30550260f8b45764ddbd0391f4b1ed714a' (2022-02-02)
→ 'github:ryantm/agenix/b4ab630f195cb15f833cb285de232b1a22d1ea0a' (2022-02-22)
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/6ecfaeb355326456e7b331d1527105adab360adc' (2022-02-18)
→ 'github:nix-community/emacs-overlay/f7eca8816dd24bed25f7c6a49cf4185d3725642d' (2022-02-27)
• Updated input 'home-manager':
'github:nix-community/home-manager/4f4165a8b9108818ab0193bbd1a252106870b2a2' (2022-02-17)
→ 'github:nix-community/home-manager/2499b916921adde8a694117bc007efdde8bbd918' (2022-02-27)
• Updated input 'neovim-nightly-overlay':
'github:nix-community/neovim-nightly-overlay/7ab23810d3844251fef656d7acc4bfbb2c4584bd' (2022-02-18)
→ 'github:nix-community/neovim-nightly-overlay/9a5300fb01ef2eb5013f932913e8e7d5d96e4e9d' (2022-02-26)
• Updated input 'neovim-nightly-overlay/neovim-flake':
'github:neovim/neovim/faeff49cbfd190afba67e221412b7132b7ad8360?dir=contrib' (2022-02-18)
→ 'github:neovim/neovim/005a7aa1670841dfdffb7559161a7d37d6c14bc4?dir=contrib' (2022-02-25)
• Updated input 'neovim-nightly-overlay/nixpkgs':
'github:nixos/nixpkgs/48d63e924a2666baf37f4f14a18f19347fbd54a2' (2022-02-10)
→ 'github:nixos/nixpkgs/7f9b6e2babf232412682c09e57ed666d8f84ac2d' (2022-02-21)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/296067b9c7a172d294831dec89d86847f30a7cfc' (2021-12-26)
→ 'github:nix-community/nixos-generators/05773c5d1584cebd5eda41675c3456dcabdef42a' (2022-02-25)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/19574af0af3ffaf7c9e359744ed32556f34536bd' (2022-02-16)
→ 'github:NixOS/nixpkgs/7dda625e7f63445ff61bcf11618999d2c97d5865' (2022-02-23)
• Updated input 'nur':
'github:nix-community/NUR/8d98d367039695d78ef5cf89da6e577886de81c1' (2022-02-18)
→ 'github:nix-community/NUR/1dfd799af1c96ce96e7db9c4f97d8a9fc4f0e30d' (2022-02-27)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/9ce263da4310d02bd16f18f4db1c617265939a3e' (2022-02-19)
→ 'github:oxalica/rust-overlay/7f273929e83a196f96a0dbee9ea565952e340bd6' (2022-02-26)
2022-02-27 10:34:35 +08:00
Gabriel Arazas
c753ff5294
Update various files
2022-02-05 18:58:42 +08:00
Gabriel Arazas
6fb08d3506
Add nixos-generators
to the workflow
2022-02-04 23:36:22 +08:00
Gabriel Arazas
66c7d8a509
Use several binary caches for flake
2022-02-04 20:48:02 +08:00
Gabriel Arazas
73c98916a5
lib/flake-utils: update mkHost
...
The NixOS system is now made overridable as a workaround for
nixos-generators.
See https://github.com/nix-community/nixos-generators/issues/110
for more details.
2022-02-04 20:47:19 +08:00
Gabriel Arazas
905b5680b1
Clean up the files
2022-02-02 12:27:32 +08:00
Gabriel Arazas
4ec2730ad8
host/ni: use Guix module from guix-overlay
2022-02-02 12:27:32 +08:00