Daniel Thwaites
23cbb96638
doc: refresh screenshots ( #382 )
2024-05-22 16:54:19 +01:00
Daniel Thwaites
b5f4ca49df
stylix: provide root access in testbeds ( #362 )
...
This allows restarting services and accessing protected files during testing.
2024-05-12 14:22:39 +02:00
Daniel Thwaites
0fe277a364
treewide: remove lib.mdDoc ( #349 )
2024-04-22 22:25:40 +01:00
Sergei Zimmerman
2f29ecd3e4
alacritty: replace base16-alacritty with a custom theme ( #346 )
...
Replaces mustache template with a theme specified using
Home Manager options. This removes the need for separate
templates for TOML and YAML formats.
The new colors better align with other terminal modules (e.g. wezterm),
and base24 schemes with bright- mnemonics are now supported.
Closes #341 .
2024-04-22 14:17:05 +01:00
Daniel Thwaites
b36fb34a9c
stylix: add testbeds for desktop environments ( #320 )
...
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-04-18 09:10:23 +01:00
NAHO
406f793045
stylix: escape spaces in wallpaper path ( #318 )
...
Fixed version of a0bdd9c15b (#317 )
which was reverted in f9b9bc7c8e (#329 )
Closes #330
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-04-11 15:58:36 +01:00
NAHO
f9b9bc7c8e
stylix: do not escape spaces in wallpaper path ( #329 )
...
Addresses: https://github.com/danth/stylix/issues/324
Reverts: a0bdd9c15b
2024-04-03 15:26:12 +01:00
Daniel Thwaites
a0bdd9c15b
stylix: escape spaces in wallpaper path ( #317 )
2024-04-01 14:50:57 +01:00
Luc Chabassier
b17c41ca43
stylix: reduce duplication ( #245 )
...
Fixes #234
2024-02-09 15:28:46 +00:00
NAHO
a2d8d6b460
treewide: remove runtime fetch operations ( #224 )
...
Fixes #222
2024-02-07 11:03:02 +00:00
NAHO
1a5dee1957
treewide: remove tailing whitespaces ( #228 )
2024-01-25 08:45:05 +00:00
NAHO
606a7983a0
doc: update 'base16.nix' URL ( #227 )
2024-01-24 12:18:01 +00:00
xokdvium
2d59480b45
alacritty: Use TOML template for recent versions ( #219 )
...
Since version 0.13.0 alacritty has switched to TOML config
file format. For backwards compatibility this patch implements conditional
template format depending on the package version.
Closes #214
2024-01-17 15:12:55 +00:00
Luc Chabassier
a15c3196c1
Fix default cursor in X11 ( #189 )
2023-11-18 10:19:20 +00:00
sntx
07795247c2
Add cursor support ( #172 )
...
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2023-11-01 13:40:25 +00:00
Bernardo Meurer
feceaa9d81
Embed Xresources template to avoid IFD ( #168 )
2023-10-12 08:08:52 +01:00
Bernardo Meurer
b42555850b
Move all templates into flake inputs ( #165 )
...
This reduces our reliance on import-from-derivation, so evaluation is faster.
2023-10-10 10:44:54 +01:00
Basil Keeler
2719a57e2b
Use renamed NixOS option for fonts ( #134 )
2023-07-28 11:17:06 +00:00
Daniel Thwaites
d14076e46f
Update flake inputs ⬆️
2023-07-14 12:50:08 +01:00
Dustin Frisch
7bcf3ce6c9
Fix palette generation when system does not use stylix ( #106 )
2023-06-06 09:41:31 +00:00
Arseniy Chekanov
cd9e19daa1
Add options availability checks ( #100 )
...
This allows using master on 22.11 and on NixOS without the HM module.
See #89 for design rationale.
2023-05-20 11:42:03 +01:00
Mason Dear
1c953ad0dc
Opacity support ( #77 )
2023-05-18 20:00:50 +01:00
pancho horrillo
906574cb37
Fix markup on truth value ( #94 )
...
<literal> elements get rendered, well, literally on the static site.
Changed to native markdown style for proper rendering.
2023-04-27 12:54:48 +01:00
Luc Chabassier
4205a141bf
Fix usage of hm module when system config does not use stylix ( #79 )
2023-04-02 11:49:39 +01:00
Daniel Thwaites
a3f9fa981b
Convert documentation to mdBook 📝 🔨
2023-03-29 00:54:14 +01:00
Bernardo Meurer
dd33836655
Add darwinModules ( #71 )
2023-03-28 15:03:06 +00:00
Luc Chabassier
50dcc46fe6
Add options to set font sizes ( #60 )
...
Fixes #35 and #59
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2023-03-19 18:39:32 +00:00
Luc Chabassier
efb734ff43
Prevent scheme generation from running when result is not used ( #56 )
2023-03-10 14:21:16 +00:00
Luc Chabassier
75ae5f52e2
Enable overriding part of theme ( #41 )
2023-02-25 15:22:00 +00:00
Daniel Thwaites
0f32bd147a
Document and improve homeManagerIntegration 📝 🚸
...
Removed the interaction between the options, so that each option has one
specific purpose. This makes it easier to explain what they do.
2023-02-04 20:27:09 +00:00
DwarfMaster
3567250ba0
Properly warn users that stylix.palette.* has been removed
2023-02-02 00:44:48 +01:00
DwarfMaster
610632be8e
Improved default of options when used from home-manager
2023-02-02 00:22:47 +01:00
DwarfMaster
83456eceb6
Auto-enable home-manager integration when hm is available
2023-02-01 21:38:01 +01:00
Daniel Thwaites
02f0297038
Import Home Manager modules when enabled at system level 🚸
...
`stylix.home-manager.enable = true` causes an error unless the Home
Manager modules are imported. It makes sense to add them automatically.
2023-01-31 18:00:03 +00:00
DwarfMaster
fbad7b1b0c
Refactor modules to separate nixos from hm code
2023-01-30 22:56:57 +01:00
DwarfMaster
76a254f9fe
Separate stylix into a nixos module and a home-manager module
2023-01-30 19:25:27 +01:00
Daniel Thwaites
1741e9c710
Fix evaluation error when manual scheme is used 🚑
2022-10-30 14:20:55 +00:00
Daniel Thwaites
655fda7894
Don't build a palette which isn't used ⚡
...
If a scheme is specified manually then this avoids generating the
automatic scheme. See #13
2022-10-30 14:17:28 +00:00
Daniel Thwaites
5b45ba84b6
Provide a way to view generated palette 🧑💻
...
Fixes #14
2022-10-30 13:34:30 +00:00
Daniel Thwaites
98114ad3ed
Update other options to suit recent Plymouth changes 📝
...
This is mainly documentation changes.
Also changed the default of `targets.grub.useImage` to a hard false,
as Plymouth doesn't use the wallpaper image any more.
2022-10-06 15:04:24 +01:00
Daniel Thwaites
cd9788bba6
Protect palette.json from garbage collection ⚡
...
Making palette.json part of the system closure will protect it from
garbage collection, so future configurations can be evaluated without
having to generate the palette again. The generator is not kept, only the
palette which came from it, so this uses very little disk space.
As evaluations will no longer need the palette generator unless the
wallpaper was changed, I've removed the recommendation to add a binary
cache - the overhead of querying the cache for unrelated builds
outweighs the remaining benefits of it.
2022-09-24 20:34:17 +01:00
Daniel Thwaites
3339cc7991
Simplify documentation of the default value for enable options 📝
2022-08-12 19:14:31 +01:00
Daniel Thwaites
0ea346a423
Publish list of NixOS options on GitHub Pages 📝
2022-07-30 15:31:58 +01:00
Daniel Thwaites
a1c4e8179b
Create an enable option for each module ✨
...
Fixes #7
2022-07-25 20:38:43 +01:00
Daniel Thwaites
324b951687
Improve option description for stylix.palette 💡
2022-07-22 23:08:50 +01:00
Daniel Thwaites
2c8ac84830
Clean up implementation of palette options ♻️
...
The automatically chosen color is now the default value under `stylix.palette`,
rather than `null`.
The colors from `stylix.palette` are collected to make the default value
of `stylix.base16Scheme`.
If `stylix.base16Scheme` is overridden to an external file, the colors
from that file will NOT be written back to `stylix.palette`. For that
reason, you must still only refer to `lib.stylix.colors` within modules.
2022-07-22 22:46:00 +01:00
Daniel Thwaites
8174101c22
Implement manual palettes ✨
...
Fixes #1
2022-07-22 17:42:34 +01:00
Daniel Thwaites
6a706cba69
Add polarity option ✨
2022-06-30 18:17:44 +01:00
Daniel Thwaites
e02c8c77a4
Apply home-manager settings to all users automatically 🚸
2022-04-24 11:38:24 +01:00
Daniel Thwaites
c2358177dc
Use an external library for base16 ♻️
...
https://github.com/SenchoPens/base16.nix
2022-04-23 10:36:20 +01:00