Commit Graph

16 Commits

Author SHA1 Message Date
Donovan Glover
4b5d240ebd
meta(home-manager): Determine isPhone from nixosConfig
Simplifies things a bit since we no longer depend on a phone variable,
thus making the individual files easier to copy/paste.
2024-09-08 23:14:43 -04:00
Donovan Glover
0b720603ba
phone: Move xdg config to home-manager modules 2024-09-08 21:23:49 -04:00
Donovan Glover
f70894196c
xdg-user-dirs: Set desktop to home directory
Some programs use the desktop and won't do anything if the desktop
directory isn't specified.
2024-09-08 14:01:03 -04:00
Donovan Glover
64ce2763bc
xdg-user-dirs: Set desktop directory
Fixes an issue where programs that depend on the desktop directory
weren't able to find it.
2024-08-26 14:04:36 -04:00
Donovan Glover
6e5c2c606b
xdg: Only hide desktop icons on phone
It turns out that doing this breaks thunar and possibly some other
stuff, so we'll only hide them on the PinePhone with Phosh.
2024-08-08 22:03:39 -04:00
Donovan Glover
b3f5c61625
xdg: Prefer hidden over noDisplay for desktop entries
Prevents the desktop entry from showing in applications like Thunar.
Long-term this isn't a viable solution since it prevents the hidden
applications from being used by Thunar.
2024-08-07 14:50:34 -04:00
Donovan Glover
14f65a9633
home: Format with nixfmt-rfc-style 2024-08-03 14:22:47 -04:00
Donovan Glover
528809b307
xdg: Remove unused desktop icons
This also simplifies the process a bit.
2024-07-25 16:12:35 -04:00
Donovan Glover
6b7c52289c
Reapply "xdg: Hide desktop entries with home-manager"
This is actually useful to create a minimal phone configuration and we
can optimize this further.
2024-07-25 15:30:01 -04:00
Donovan Glover
9a3c1976ab
Revert "xdg: Hide desktop entries with home-manager"
As alluded to previously I'd rather whitelist applications that show in
a launcher than exclude them.
2024-07-14 09:22:18 -04:00
Donovan Glover
15dbd547d2
xdg: Hide desktop entries with home-manager
This commit is mainly for documenting purposes since I'd rather not
have to maintain a list of desktop entries to exclude.
2024-07-14 09:20:59 -04:00
Donovan Glover
a6f2c58d51
meta: Don't hardcode home directory
This is a much better way of handling things.
2024-04-04 19:39:35 -04:00
Donovan Glover
3d96bf1838
xdg-user-dirs: Create directories by default 2023-07-15 12:37:40 -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
2ea920c0c0
xdg-user-dirs: Use config.variables.username
Note that I may change this to simply config.username in the future
depending on how many variables I actually need.
2023-06-22 10:20:58 -04:00
Donovan Glover
877ce570bf
meta: Move home modules up one directory
This is possible since each home-manager module is now its own
self-contained nix file.
2023-06-16 12:13:26 -04:00