Commit graph

79 commits

Author SHA1 Message Date
Dennis Lonoshchuk
f3c2f5a179
stylix: set GTK icon theme (#603)
Closes: https://github.com/danth/stylix/issues/458
Link: https://github.com/danth/stylix/pull/603

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: Kamron Bhavnagri <kamwithk@tuta.io>
2024-11-30 19:51:29 +01:00
Alexey Lebedeff
9b61cc39b2
stylix: don't split autoloaded modules into a separate derivation (#631)
Apparently `../modules` is creating a separate derivation that contains
only that folder, so it's now separate from the flake source. But this
transient derivation isn't mentioned explicitly anywhere in the flake
outputs. It makes it impossible to target those modules in
`disabledModules` directive.

For example, after this change is applied, users can solve issues like
https://github.com/danth/stylix/issues/577 locally, by just adding the
following snippet to their configuration:

    disabledModules = [ "${inputs.stylix}/modules/regreet/nixos.nix" ];

Reviewed-by: Daniel Thwaites <danthwaites30@btinternet.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-17 17:40:52 +01:00
Daniel Thwaites
993fcabd83
treewide: update option deprecations (#514) 2024-09-26 13:58:47 +01:00
NAHO
cf8b6e2d4e
stylix: rename base16-foot, base16-tmux, and base16-kitty inputs (#572) 2024-09-24 23:52:56 +01:00
NAHO
4b15fdcc87
stylix: remove deprecated 'stylix.palette.<BASE>' options at end-of-life
BREAKING CHANGE: Remove the deprecated 'stylix.palette.<BASE>' options.

Link: https://github.com/danth/stylix/pull/514
2024-08-26 17:45:56 +02:00
NAHO
dba4bd2d89
treewide: declare end-of-life for deprecated options
Fixes: 6858d08ed0 ("treewide: add soft deprecation dates (#506)")
Link: https://github.com/danth/stylix/pull/514
2024-08-26 17:45:26 +02:00
NAHO
6858d08ed0
treewide: add soft deprecation dates (#506)
Add soft deprecation dates to guide the hard deprecation transitions.

Fixes: 3567250ba0 ("Properly warn users that stylix.palette.* has been removed")
Fixes: 94aa0fc0fb ("nixvim: rename transparency options to camelCase (#497)")
2024-08-16 19:54:29 +01:00
Gabriel Talbert Bunt
feb2973dfa
doc: specify correct color attribute path (#491)
Colors are accessible under config.lib.stylix.colors, not lib.stylix.colors.

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-07-30 00:21:31 +01:00
NewDawn0
1ddb78df07
stylix: import missing 'stylix/opacity.nix' module on darwin (#441) 2024-06-23 16:19:52 +02:00
Bernardo Meurer
7dcab0711b
fonts: remove 'fonts.fontDir.enable' and use 'fonts.packages' (#439)
Remove the obsolete 'fonts.fontDir.enable' option and replace the
'fonts.fonts' option with 'fonts.packages'.

This should fix Stylix for nix-darwin past 58b905ea.

Closes: https://github.com/danth/stylix/issues/435
2024-06-19 11:30:25 +02:00
Daniel Thwaites
80e8e1e2f6
treewide: add linters and apply pending suggestions (#426) 2024-06-16 15:08:25 +01:00
Daniel Thwaites
76d6ca2224
treewide: remove use of with lib (#425) 2024-06-14 22:36:25 +01:00
Daniel Thwaites
f060e4059b
stylix: clean up fromOs (#407) 2024-06-11 03:21:04 +02:00
Daniel Thwaites
daac8f591f
stylix: enable Stylix in testbeds (#418) 2024-06-11 01:26:05 +02:00
Jalil David Salamé Messina
7682713f6a
stylix: add 'stylix.enable' option (#244)
Add a 'stylix.enable' option to enable or disable all Stylix modules in
order to resolve issues similar to [2].

To align with the default 'lib.mkEnableOption' [1] behavior,
'stylix.enable' defaults to 'false'.

BREAKING CHANGE: Stylix is disabled by default. To enable it, use:

    stylix.enable = true;

[1]: https://github.com/NixOS/nixpkgs/blob/23.11/lib/options.nix#L91-L105
[2]: https://github.com/danth/stylix/issues/216

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
Co-authored-by: Jalil David Salamé Messina <jalil.salame@gmail.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-06-10 11:52:47 +02:00
Alexandra Østermark
c760f63a44
stylix: add background image scaling option (#372) 2024-06-03 13:53:09 +01:00
NAHO
266db7f00c
stylix: simplify 'mkEnableTarget' documentation (#399)
Simplify the 'stylix.mkEnableTarget' documentation.

The following issue is to be resolved in
https://github.com/danth/stylix/issues/400:

> Due to some targets not being enabled by default with
> 'stylix.mkEnableTarget', the documentation incorrectly generates
> 'Default: false' in some cases
2024-06-01 04:33:55 +01:00
NAHO
99bcaa5520
stylix: standardize autoEnable and mkEnableTarget documentation (#398) 2024-06-01 01:27:50 +01:00
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