Commit Graph

22 Commits

Author SHA1 Message Date
Donovan Glover
a629f92827
meta: Revert combining mobile-nixos flake
This was causing a lot of issues unfortunately presumably due to things
not working with the aarch64 PinePhone system. Random errors like
"expected string 'D'" were common and I'd rather use a separate flake to
make things easier to debug and keep evaluation times to a minimum.
2024-06-15 10:47:03 -04:00
Donovan Glover
103238c11e
meta: Rename default.nix to laptop.nix
This is a part of getting the repository ready for multiple hosts.
2024-06-13 22:21:20 -04:00
Donovan Glover
996f36e239
hardware: Add bluetooth support 2024-06-13 05:14:19 -04:00
Donovan Glover
5f25e19d3f
flake.nix: Dynamically import nixosConfigurations 2024-04-08 10:58:32 -04:00
Donovan Glover
00135526e7
desktop: Support japanese/wine by default
Simplifies things a bit since my target audience includes those
interested in the Japanese language. Opinionated defaults like this
makes it easier for end-users to be immediately productive without
having to spend time configuring things.
2024-04-06 13:43:28 -04:00
Donovan Glover
8c9d60ca56
chore: Rename networking to system
Necessary since the networking module was merged with system.
2024-04-06 12:30:04 -04:00
Donovan Glover
b4af703fdf
meta: Merge dual-function-keys with hardware
Seems like an alright categorization for now since dual-function-keys
can be used without a desktop environment, although realistically the
tty is impractical for things like CJK.
2024-04-06 11:09:09 -04:00
Donovan Glover
3fc9cb9c81
chore: Link paths at the system level
Fixes an issue where paths wouldn't be linked previously unless
manually specified.
2024-04-06 10:26:32 -04:00
Donovan Glover
d29e0c909e
chore: Remove useless /share/thumbnailers pathsToLink
This is already a part of the default list in nixpkgs.

See: 1487bdea61/nixos/modules/config/system-path.nix (L165)
2024-04-05 21:51:31 -04:00
Donovan Glover
51273df2c8
meta: Move nixosConfiguration logic to separate file
Makes it easier to reason about the flake-specific stuff inside
the flake.
2024-04-05 19:21:20 -04:00
Donovan Glover
297a46d08e
meta: Drop default.nix
Having a default.nix doesn't *really* make sense now that we're dealing
with multiple nixosConfigurations, some of which might not even be in
the same flake.
2024-04-01 07:17:53 -04:00
Donovan Glover
5674d3ed81
feat(nix): Automatically output all overlays
Now that I have more experience with nix, I know how to write an
expression that automatically outputs all the overlays in the
repository, as well as automatically import them inside the nixos
configuration.
2024-03-31 18:51:17 -04:00
Donovan Glover
da211bd6b3
meta: Import packages directory 2023-08-07 08:42:50 -04:00
Donovan Glover
e7d55a6790
meta: Disable specializations by default
Note that specializations increase the build time and therefore
shouldn't be used unless you're actually using those specializations.
For example, a normal Hyprland build of 30 seconds becomes 1 minute and
30 seconds with the GNOME and Plasma specializations enabled.

As an alternative, you can use multiple nixosConfigurations and only
build GNOME and/or Plsama on demand, then run those desktop environments
as virtual machines inside of Hyprland, which lets you use both (or even
all three) at the same time.
2023-06-22 17:31:10 -04:00
Donovan Glover
c6e3513a5d
meta: Use packages module
May or may not separate or split this later.
2023-06-22 12:09:26 -04:00
Donovan Glover
8ffb196c0b
meta: Don't use variables
The previous commit didn't actually work, and I shouldn't need to
change the variables often, so it's much simpler to not have them.

In the event that I do need to change something, rg and sd should get
the job done well.
2023-06-22 11:10:17 -04:00
Donovan Glover
99d2913b41
nix: Remove one-off variables
Don't use variables for things that only get defined in one place.
2023-06-22 10:17:49 -04:00
Donovan Glover
4d8ce87fb1
meta: Import hardware
Which hardware can be determined from the default.nix at a later date if
needed.
2023-06-22 10:16:38 -04:00
Donovan Glover
2d808e6162
nix: Begin migration to options
No need to import a variables file since all modules have access to the
options defined in all other modules.
2023-06-22 10:10:55 -04:00
Donovan Glover
1dcf95a7eb
pipewire: Inline low latency module
This removes the nix-gaming dependency to achieve low latency.
2023-06-22 09:51:15 -04:00
Donovan Glover
4083348a3b
meta: Move up hardware-configuration import 2023-06-22 07:42:53 -04:00
Donovan Glover
0fd8411d36
meta: Use default.nix
Makes things simpler.
2023-06-22 05:36:48 -04:00