wayle: init (#2368)
Closes: https://github.com/nix-community/stylix/issues/2300 Link: https://github.com/nix-community/stylix/pull/2368 Co-authored-by: Noah Biewesch <dev@noahbiewesch.com> Tested-by: csanthiago <git@csanthiago.dev> Reviewed-by: Noah Biewesch <dev@noahbiewesch.com>
This commit is contained in:
parent
a9398b996d
commit
1fbdd38c16
6 changed files with 59 additions and 0 deletions
|
|
@ -39,6 +39,7 @@
|
|||
enable = true;
|
||||
settings.config.default.extend-identifiers = lib.genAttrs [
|
||||
"MrSom3body"
|
||||
"Relm4"
|
||||
"substituters"
|
||||
] lib.id;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -103,6 +103,12 @@
|
|||
githubId = 86579;
|
||||
name = "Chet Luther";
|
||||
};
|
||||
csanthiago = {
|
||||
email = "git@csanthiago.dev";
|
||||
github = "csanthiago";
|
||||
githubId = 8346803;
|
||||
name = "Cirios Santhiago";
|
||||
};
|
||||
danth = {
|
||||
email = "danth@danth.me";
|
||||
github = "danth";
|
||||
|
|
|
|||
31
modules/wayle/hm.nix
Normal file
31
modules/wayle/hm.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ mkTarget, ... }:
|
||||
mkTarget {
|
||||
config = [
|
||||
(
|
||||
{ fonts }:
|
||||
{
|
||||
services.wayle.settings.general = {
|
||||
font-sans = fonts.sansSerif.name;
|
||||
font-mono = fonts.monospace.name;
|
||||
};
|
||||
}
|
||||
)
|
||||
(
|
||||
{ colors }:
|
||||
{
|
||||
services.wayle.settings.styling.palette = with colors.withHashtag; {
|
||||
bg = base00;
|
||||
surface = base01;
|
||||
elevated = base02;
|
||||
fg = base05;
|
||||
fg-muted = base04;
|
||||
primary = base0D;
|
||||
red = base08;
|
||||
yellow = base0A;
|
||||
green = base0B;
|
||||
blue = base0D;
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
}
|
||||
10
modules/wayle/meta.nix
Normal file
10
modules/wayle/meta.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
name = "Wayle";
|
||||
homepage = "https://github.com/wayle-rs/wayle";
|
||||
maintainers = [ lib.maintainers.csanthiago ];
|
||||
description = ''
|
||||
A Wayland desktop shell with the bar, notifications, OSD, wallpaper, and
|
||||
device controls built in. Written in Rust with GTK4 and Relm4.
|
||||
'';
|
||||
}
|
||||
5
modules/wayle/testbeds/wayle.nix
Normal file
5
modules/wayle/testbeds/wayle.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
stylix.testbed.ui.command.text = lib.getExe pkgs.wayle;
|
||||
home-manager.sharedModules = lib.singleton { services.wayle.enable = true; };
|
||||
}
|
||||
|
|
@ -25,6 +25,12 @@
|
|||
github = "cluther";
|
||||
githubId = 86579;
|
||||
};
|
||||
csanthiago = {
|
||||
name = "Cirios Santhiago";
|
||||
email = "git@csanthiago.dev";
|
||||
github = "csanthiago";
|
||||
githubId = 8346803;
|
||||
};
|
||||
gideonwolfe = {
|
||||
email = "wolfegideon@gmail.com";
|
||||
name = "Gideon Wolfe";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue