noctalia-shell: init (#2077)
Some checks failed
Check / aarch64-darwin (push) Has been cancelled
Check / aarch64-linux (push) Has been cancelled
Check / x86_64-darwin (push) Has been cancelled
Check / x86_64-linux (push) Has been cancelled
Label Merge Conflicts / conflicts (push) Has been cancelled
Documentation / docs (push) Has been cancelled
Some checks failed
Check / aarch64-darwin (push) Has been cancelled
Check / aarch64-linux (push) Has been cancelled
Check / x86_64-darwin (push) Has been cancelled
Check / x86_64-linux (push) Has been cancelled
Label Merge Conflicts / conflicts (push) Has been cancelled
Documentation / docs (push) Has been cancelled
Link: https://github.com/nix-community/stylix/pull/2077 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
cb6bbed75e
commit
dd14de4432
8 changed files with 128 additions and 0 deletions
21
flake/dev/flake.lock
generated
21
flake/dev/flake.lock
generated
|
|
@ -152,6 +152,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"noctalia-shell": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"dev-nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765201259,
|
||||
"narHash": "sha256-6btxUos1OY0LSk9hBVnLRcklLGBKCA2SCq9WkoLa91E=",
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-shell",
|
||||
"rev": "c2b245703021e65a761a7de06b3b6b91d609a6c5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-shell",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nvf": {
|
||||
"inputs": {
|
||||
"flake-compat": [],
|
||||
|
|
@ -189,6 +209,7 @@
|
|||
"git-hooks": "git-hooks",
|
||||
"home-manager": "home-manager",
|
||||
"nixvim": "nixvim",
|
||||
"noctalia-shell": "noctalia-shell",
|
||||
"nvf": "nvf",
|
||||
"spicetify-nix": "spicetify-nix",
|
||||
"treefmt-nix": "treefmt-nix",
|
||||
|
|
|
|||
|
|
@ -156,6 +156,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
noctalia-shell = {
|
||||
url = "github:noctalia-dev/noctalia-shell";
|
||||
inputs.nixpkgs.follows = "dev-nixpkgs";
|
||||
};
|
||||
|
||||
nvf = {
|
||||
url = "github:NotAShelf/nvf";
|
||||
inputs = {
|
||||
|
|
|
|||
|
|
@ -203,6 +203,12 @@
|
|||
githubId = 45952970;
|
||||
name = "repparw";
|
||||
};
|
||||
rwxae = {
|
||||
email = "wardxela@gmail.com";
|
||||
github = "rwxae";
|
||||
githubId = 63157919;
|
||||
name = "Alexander";
|
||||
};
|
||||
skiletro = {
|
||||
email = "git@skilet.ro";
|
||||
github = "skiletro";
|
||||
|
|
|
|||
69
modules/noctalia-shell/hm.nix
Normal file
69
modules/noctalia-shell/hm.nix
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
mkTarget,
|
||||
lib,
|
||||
options,
|
||||
...
|
||||
}:
|
||||
mkTarget {
|
||||
config = lib.optionals (options.programs ? noctalia-shell) [
|
||||
(
|
||||
{ colors }:
|
||||
{
|
||||
programs.noctalia-shell = {
|
||||
colors = with colors.withHashtag; {
|
||||
mPrimary = base05;
|
||||
mOnPrimary = base00;
|
||||
mSecondary = base05;
|
||||
mOnSecondary = base00;
|
||||
mTertiary = base04;
|
||||
mOnTertiary = base00;
|
||||
mError = base08;
|
||||
mOnError = base00;
|
||||
mSurface = base00;
|
||||
mOnSurface = base05;
|
||||
mHover = base04;
|
||||
mOnHover = base00;
|
||||
mSurfaceVariant = base01;
|
||||
mOnSurfaceVariant = base04;
|
||||
mOutline = base02;
|
||||
mShadow = base00;
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
(
|
||||
{ opacity }:
|
||||
{
|
||||
programs.noctalia-shell = {
|
||||
settings = {
|
||||
bar.backgroundOpacity = opacity.desktop;
|
||||
bar.capsuleOpacity = opacity.desktop;
|
||||
ui.panelBackgroundOpacity = opacity.desktop;
|
||||
dock.backgroundOpacity = opacity.desktop;
|
||||
osd.backgroundOpacity = opacity.popups;
|
||||
notifications.backgroundOpacity = opacity.popups;
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
(
|
||||
{ fonts }:
|
||||
{
|
||||
programs.noctalia-shell = {
|
||||
settings = {
|
||||
ui.fontDefault = fonts.sansSerif.name;
|
||||
ui.fontFixed = fonts.monospace.name;
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
(
|
||||
{ image }:
|
||||
{
|
||||
home.file.".cache/noctalia/wallpapers.json" = {
|
||||
text = builtins.toJSON { defaultWallpaper = image; };
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
}
|
||||
6
modules/noctalia-shell/meta.nix
Normal file
6
modules/noctalia-shell/meta.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
name = "Noctalia shell";
|
||||
homepage = "https://docs.noctalia.dev";
|
||||
maintainers = [ lib.maintainers.rwxae ];
|
||||
}
|
||||
11
modules/noctalia-shell/testbeds/noctalia-shell.nix
Normal file
11
modules/noctalia-shell/testbeds/noctalia-shell.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
stylix.testbed.ui = {
|
||||
graphicalEnvironment = "hyprland";
|
||||
command.text = "noctalia-shell --no-duplicate";
|
||||
};
|
||||
|
||||
home-manager.sharedModules = lib.singleton {
|
||||
programs.noctalia-shell.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -65,6 +65,12 @@
|
|||
github = "osipog";
|
||||
githubId = 87434959;
|
||||
};
|
||||
rwxae = {
|
||||
email = "wardxela@gmail.com";
|
||||
name = "Alexander";
|
||||
github = "rwxae";
|
||||
githubId = 63157919;
|
||||
};
|
||||
skiletro = {
|
||||
email = "git@skilet.ro";
|
||||
name = "jamie";
|
||||
|
|
|
|||
|
|
@ -43,6 +43,10 @@ let
|
|||
;
|
||||
};
|
||||
|
||||
noctalia-shell.home-manager.sharedModules = [
|
||||
inputs.noctalia-shell.homeModules.default
|
||||
];
|
||||
|
||||
nvf = inputs.nvf.nixosModules.default;
|
||||
|
||||
vicinae.home-manager.sharedModules = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue