Donovan Glover
e5c7fb6192
flake: switch to upstream home-manager
...
The LibreWolf PR is now merged upstream.
2024-11-18 22:41:03 -05:00
Donovan Glover
4d751d3d12
flake: use listFilesRecursive for nixosSystem modules
2024-10-11 15:02:01 -04:00
Donovan Glover
35e390902a
chore: simplify formatting
...
Ran nix fmt and used built-ins where possible.
2024-10-11 14:52:56 -04:00
Donovan Glover
c9652f1680
flake: use checks for all systems
...
This seems to work now, possibly fixed by using the latest Nix version.
2024-10-11 14:39:18 -04:00
Donovan Glover
14acf89052
flake: replace listToAttrs with genAttrs
...
Simplifies things a bit since we no longer have to use `listToAttrs`
after `map`.
2024-10-11 14:37:50 -04:00
Donovan Glover
6a31427b44
chore: simplify formatting
2024-10-11 14:29:37 -04:00
Donovan Glover
eac686339b
flake: drop usage of @attrs
...
Using @attrs for the flake was cool at first, but this doesn't actually
work if we want to use our nix-config inside NixOS containers due to how
`self` works.
Because of this, it's easier to simply ban @attrs altogether and use
`nix-config` for everything since it's possible to access *all* the
inputs of nix-config from itself instead of having to manually inherit
each input we want (which could be any of them).
2024-10-11 13:35:45 -04:00
Donovan Glover
469b18907e
flake: remove mobile-nixos-vm
...
Previously we used a mobile-nixos config without the mobile-nixos
modules to start up a QEMU virtual machine on x86_64-linux without
having to worry about cross-compiling aarch64-linux.
Although this worked, the added complexity was not ideal and the
compilation time of the kernel with emulation was definitely not
ideal (5+ hours).
Note that I *may* add this again in the future, although I'd rather
set the system to x86_64-linux and cross-compile instead, which
mobile-nixos already supports but takes a large amount of ram.
2024-10-11 13:31:32 -04:00
Donovan Glover
4f9289a35c
meta: move mobile-nixos imports out of flake
...
This is part of making the flake easier to understand by separating
concerns a bit more.
2024-10-11 13:15:43 -04:00
Donovan Glover
f12d57c8f8
flake: add flake support for mobile-nixos
2024-10-11 11:59:38 -04:00
Donovan Glover
c6b68ca834
flake: use inherit where possible
2024-10-10 08:17:37 -04:00
Donovan Glover
f49a6b9b9d
flake: remove unnecessary inherit
2024-10-09 20:16:57 -04:00
Donovan Glover
2bd906c67b
flake: remove extra let-in for phoneModules
...
Should make this part easier to read.
2024-10-09 20:13:47 -04:00
Donovan Glover
30a1993130
flake: use forAllSystems for formatter
2024-10-09 20:10:41 -04:00
Donovan Glover
2c3d04ec90
chore: run nix fmt
2024-10-09 19:51:53 -04:00
Donovan Glover
786bbcf03a
flake: abstract nameOf for path to name conversion
2024-10-09 19:50:23 -04:00
Donovan Glover
de8791ea22
flake: remove attribute name map
...
Reduces complexity a bit now that we're using listFilesRecursive.
2024-10-09 19:44:41 -04:00
Donovan Glover
723c5c6f0d
flake: use listFilesRecursive for normal imports
2024-10-09 19:34:03 -04:00
Donovan Glover
bb65333491
flake: use listFilesRecursive for tests
2024-10-09 19:25:40 -04:00
Donovan Glover
c8adf93d0b
flake: use packagesFromDirectoryRecursive
...
https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.filesystem.packagesFromDirectoryRecursive
2024-10-09 18:50:21 -04:00
Donovan Glover
b4adc570d0
meta: Replace firefox-addons with packages in flake
...
This simplifies things a bit since we're no longer relying on another
input and can add extensions not in the firefox-addons repository.
2024-08-30 13:34:00 -04:00
Donovan Glover
d2d5afd9b5
chore: Update to latest nixos-unstable release
2024-08-27 13:24:35 -04:00
Donovan Glover
83a82ab655
chore: Expand single item lists and attribute sets
...
These aren't collapsed by nix fmt anymore.
2024-08-27 13:05:29 -04:00
Donovan Glover
fd35cd9db0
flake: Add rycee/firefox-addons
...
Makes it possible to install firefox addons with home-manager.
2024-08-15 23:36:09 -04:00
Donovan Glover
63797c4259
flake: Switch to home-manager fork for librewolf support
...
I originally wanted to avoid maintaining my own forks of flake inputs to
simplify usage with the actual upstream if wanted, however the lack of
flakes supporting patches means that it's actually *easier* to maintain
my own repositories with the changes I want.
The main advantage of this is not having to wait for upstream. This also
means that I'm able to easily control which things I want to update and
when.
2024-08-13 14:36:14 -04:00
Donovan Glover
6c34cce882
treewide(nix): Remove duplicate attribute name usage
...
Found thanks to nixd showing different colors for these.
2024-08-10 20:55:46 -04:00
Donovan Glover
817629fb0a
chore: Update to latest nixos-unstable release
2024-08-03 19:44:23 -04:00
Donovan Glover
0803c83f2c
flake: Switch formatter from nixpkgs-fmt to nixfmt-rfc-style
...
Welcome to the new era.
Hopefully the last formatter change for a while.
2024-08-03 15:26:02 -04:00
Donovan Glover
8ece3e2812
treewide: Format remaining files with nixfmt-rfc-style
2024-08-03 14:49:00 -04:00
Donovan Glover
55fbafa129
meta: Move base16-nvim config into stylix
2024-08-03 12:17:40 -04:00
Donovan Glover
f73e302f2e
chore: Fix nixd / statix errors
...
I'm okay with editing hardware-configuration.nix now that I understand
how it works.
2024-08-03 01:52:47 -04:00
Donovan Glover
3f10f44bb9
Revert "chore: Update to latest nixos-unstable release"
...
pass and qutebrowser depend on pykeepass and I'd rather not remove them
at this time. See: https://github.com/NixOS/nixpkgs/pull/331310
2024-08-01 13:45:44 -04:00
Donovan Glover
acca42a7cf
chore: Update to latest nixos-unstable release
...
Hopefully this doesn't break anything.
Removed old packages and overlays now upstreamed.
2024-08-01 13:34:54 -04:00
Donovan Glover
307acd1777
flake: Update phosh to 0.40.0
...
Will switch back to the upstream branch when the new phosh version
gets merged into master.
2024-07-25 15:52:28 -04:00
Donovan Glover
ce67ffbf73
meta: Rename homeManagerModules attribute to homeModules
...
This fixes an issue where previously homeManagerModules would be an
unknown flake output. Note that this change is a part of Nix 2.22.3
but not Nix 2.23.3.
2024-07-18 19:43:11 -04:00
Donovan Glover
7fe0596d90
phone: Only disable systemd-boot on aarch64
...
This is necessary since the boot process is handled by mobile-nixos.
Note that the implementation here should allow us to move aarch64
differences out of the flake.nix and simplify nixosConfigurations
again long-term.
2024-07-18 17:50:19 -04:00
Donovan Glover
2de95cbfaf
Revert "nix: Use flake-programs-sqlite for command-not-found"
...
Would rather not deal with an additional flake input here to keep things
simple.
2024-07-18 14:32:14 -04:00
Donovan Glover
f1ee89ddc8
nix: Use flake-programs-sqlite for command-not-found
...
This was my attempt at using flake-programs-sqlite, which worked, but
requires an additional flake input in order to function properly.
2024-07-18 14:29:39 -04:00
Donovan Glover
ad58ee22a6
stylix: Update to latest commit
...
Dropping the Kvantum fork for now to focus on staying up to date with
the recent Stylix developments.
2024-07-05 15:39:12 -04:00
Donovan Glover
299a5e0bd6
Revert "meta: Add attempt at using gnome-mobile"
2024-06-27 23:02:38 -04:00
Donovan Glover
961c2f1b62
meta: Add attempt at using gnome-mobile
...
This was my attempt at using GNOME Mobile. It works inside the x86_64
virtual machine but fails when reaching "Started Display Manager" on the
actual device.
2024-06-27 22:56:41 -04:00
Donovan Glover
d5f8261627
flake: Switch to mobile-nixos fork to fix call volume
...
We should be able to fix more things in the fork later.
2024-06-27 18:45:41 -04:00
Donovan Glover
742ab4508c
flake: Update to latest nixos-unstable release
...
Also has the latest version of hyprland.
2024-06-24 21:03:20 -04:00
Donovan Glover
b80f3f2340
meta: Use standard hosts directory
...
This makes sense now that we have multiple hosts in the same flake.
2024-06-20 21:34:57 -04:00
Donovan Glover
08f0823b61
flake: Remove unnecessary aarch64 tests value
...
Might fix the ci.
2024-06-20 17:29:20 -04:00
Donovan Glover
707a7e40b6
flake: Only run tests with x86_64-linux
...
Should fix an issue where aarch64 was failing.
2024-06-20 16:15:55 -04:00
Donovan Glover
11e2304a7f
flake: Include nix-config in phone config args
...
Fixes infinite recursion issues from self.
2024-06-18 23:58:59 -04:00
Donovan Glover
dd58dff955
flake: Add package support for aarch64
2024-06-16 12:22:07 -04:00
Donovan Glover
c93a5203b7
flake: Add formatting support for aarch64
2024-06-16 12:21:19 -04:00
Donovan Glover
22894d86c4
flake: Add missing bootloader for phone vm
...
This fixes an issue where `nix flake check` would previously fail.
2024-06-15 13:18:26 -04:00