Gabriel Arazas
3a7816a901
chore: reformat codebase
2022-11-19 11:32:29 +08:00
Gabriel Arazas
5ea8fcb0cf
config: add treefmt as formatter tool
2022-11-19 11:32:29 +08:00
Gabriel Arazas
ed893813fe
config: remove system
as part of extraArgs
...
We use nixpkgs with the intended system anyways so we could get away
with getting the system from the imported nixpkgs attrset.
2022-11-17 13:35:19 +08:00
Gabriel Arazas
ebbd0b5220
config: add deploy.nodes
to output
...
Welp, now I'm using NixOS for my servers. One step closer to managing an
entire cluster with this.
2022-11-15 13:12:51 +08:00
Gabriel Arazas
18adca6409
config: add more comments
...
Accumulated over time so time for another commit.
2022-11-06 17:38:51 +08:00
Gabriel Arazas
d14628b36e
config: use flake-provided package
...
We've also removed the overlay because of troubles with building certain
package that is required to be in a specific version. Overlays are very
powerful but very unwieldy for a stable environment at times.
2022-11-05 09:26:43 +08:00
Gabriel Arazas
68bd6f891e
config: add xterm as part of excluded packages
2022-10-27 15:13:30 +08:00
Gabriel Arazas
b9d2b5ee87
flake.nix: clean up some code
2022-09-29 11:35:00 +08:00
Gabriel Arazas
ef2648bf3a
config: add convention for setting profiles conditionally
2022-09-28 19:49:44 +08:00
Gabriel Arazas
1cb8b8c2cd
config: change removed aliases to their non-aliased versions
2022-09-28 19:12:56 +08:00
Gabriel Arazas
90dd0f9c35
config: update
2022-09-25 11:49:19 +08:00
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