Commit Graph

21 Commits

Author SHA1 Message Date
Donovan Glover
5101e93c39
specializations: Remove unnecessary options
Enabling xserver is handled by the desktop module.
2024-08-09 12:23:41 -04:00
Donovan Glover
add2c126fe
dwm: Inline picom / dunst configs
This prevents us from having specialization-specific configs in the home
directory, which would be unrelated to the main hyprland environment and
would require explicitly disabling it.

Other nix-configs solve this problem with nested directory structures,
however I enjoy being able to access all files in the nix-config one
directory away.
2024-08-08 21:33:48 -04:00
Donovan Glover
452bad7db6
specializations: Add base dwm specialization
Sometimes you really need to use a stable and reliable Xorg desktop
system. GNOME crashes when switching workspaces with osu! open, and
Plasma seems like too much for just wanting to run osu! without
having to worry about all the Wayland shenanigans decreasing fps.

I used bspwm for years however development has slowed down recently.
I've always liked dwm from trying it previously, and it is comforting
knowing that your window manager is minimal and will always work the
same way.
2024-08-08 21:26:42 -04:00
Donovan Glover
2297fb41e3
treewide: Drop usage of inherit (pkgs)
Having to change the package list in two places was a bit redundant. We
can also use `with` patterns now since nixd warns if there are escaping
variables being used.

Note that variables used in multiple places are kept to make it easier
to recognize that those variables must be changed together. Also note
that inherit (pkgs) inside of mkMerge are currently kept to reduce the
diff.
2024-08-07 16:40:58 -04:00
Donovan Glover
8ece3e2812
treewide: Format remaining files with nixfmt-rfc-style 2024-08-03 14:49:00 -04:00
Donovan Glover
d092c5f416
meta: Migrate phosh settings to phone config
Currently there are too many serious issues to realistically use
Hyprland on the PinePhone, and Phosh supports most of the features
we need out of the box anyway, so it makes sense to use that full-time
over trying to make something else work.
2024-07-18 17:10:53 -04:00
Donovan Glover
26d01911e4
chore: Clean up nix code
- Added missing `services` prefix to xserver option
- Simplified options in system.nix
- Removed unused `optionals` binding
2024-07-18 13:31:13 -04:00
Donovan Glover
dded6eb37f
phosh: Simplify background css 2024-07-17 20:49:59 -04:00
Donovan Glover
fa16ccaada
chore: Update i18n.inputMethod options
i18n.inputMethod.enabled was changed to .enable and .type.
2024-07-16 12:25:06 -04:00
Donovan Glover
051c903154
meta: Move phosh config to specialization
This is part of attempting to use Hyprland over Phosh (again) for
more control over things.
2024-07-14 21:12:03 -04:00
Donovan Glover
8bfc0ebf36
system: Always exclude gnome-tour
Should prevent gnome-tour from showing in phosh.
2024-06-23 09:46:56 -04:00
Donovan Glover
06b14b11eb
chore: Move legacy options out of services.xserver
At some point these options were changed to be descendants of
`services` instead.
2024-06-04 10:22:09 -04:00
Donovan Glover
7f05a66fa5
feat: Make username customizable
Now it's possible to use whatever username you want for your system. The
default value of "user" is good if you're concerned about information
disclosure attacks through things like the username being visible in
logs or other output.
2024-04-04 16:36:28 -04:00
Donovan Glover
9b4d9c8bf5
meta: Make specializations a nixosModule
Now it's possible to use the specializations in arbitrary configs. Note
that specializations do slow things down a bit so they may be disabled
by default in the future.
2024-04-01 06:27:08 -04:00
Donovan Glover
0151098d47
chore: Update flake inputs
Notable changes include upgrading to Plasma 6 in the DE specialization
as well as updating the pqiv config to work with the latest home-manger
change.
2024-03-22 12:22:23 -04:00
Donovan Glover
8fa673095e
meta: Move DE-specific config to specializations
Helps keep the modules directory specific to the main configuration and
not any specializations.
2023-07-10 21:12:48 -04:00
Donovan Glover
cb6d57536b
specializations: Configure inside default.nix
This makes it possible to define specializations that are technically
modules without having them placed in the modules directory. This is
mainly useful to separate core Hyprland logic from desktop environment
logic.
2023-07-10 20:36:27 -04:00
Donovan Glover
0fd8411d36
meta: Use default.nix
Makes things simpler.
2023-06-22 05:36:48 -04:00
Donovan Glover
798aa35edf
meta: Use separate module for plasma
This enables plasma to be used as both a specialization and as a desktop
environment in a virtual machine.
2023-06-17 22:23:25 -04:00
Donovan Glover
fb2acae89a
specializations: Add plasma
This *works*, and the best part is I didn't have to do *anything* (besides
write this configuration file, that is).

Thanks to NixOS, it is possible to have GNOME, Plasma, Hyprland, and
whatever else you want installed on the same computer without those
desktop environments conflicting with each other. This configuration is
done in a fully reproducible and declarative setup with minimal code,
without having to modify any external files or run any imperative
commands.
2023-06-17 19:11:27 -04:00
Donovan Glover
a725e0c2da
meta: Add gnome specialization
This makes it possible to boot into either Hyprland (the default) or
GNOME. Having separate configurations implemented in combination with
home-manager and impermanence guarantees that desktop environments don't
conflict withe each other, so this could also be used to implement a
Plasma specialization in the future.
2023-06-17 12:17:51 -04:00