mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 07:28:12 +09:00
install noctalia
This commit is contained in:
@@ -11,6 +11,16 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
vicinae.url = "github:vicinaehq/vicinae";
|
vicinae.url = "github:vicinaehq/vicinae";
|
||||||
|
|
||||||
|
quickshell = {
|
||||||
|
url = "github:outfoxxed/quickshell";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
noctalia = {
|
||||||
|
url = "github:noctalia-dev/noctalia-shell";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.quickshell.follows = "quickshell";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, ...}:
|
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, ...}:
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
inputs.noctalia.packages.${system}.default
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,86 @@
|
|||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
{
|
||||||
|
home-manager.users.drfoobar = {
|
||||||
|
# import the home manager module
|
||||||
|
imports = [
|
||||||
|
inputs.noctalia.homeModules.default
|
||||||
|
];
|
||||||
|
|
||||||
|
# configure options
|
||||||
|
programs.noctalia-shell = {
|
||||||
|
enable = true;
|
||||||
|
colors = {
|
||||||
|
# you must set ALL of these
|
||||||
|
mError = "#dddddd";
|
||||||
|
mOnError = "#111111";
|
||||||
|
mOnPrimary = "#111111";
|
||||||
|
mOnSecondary = "#111111";
|
||||||
|
mOnSurface = "#828282";
|
||||||
|
mOnSurfaceVariant = "#5d5d5d";
|
||||||
|
mOnTertiary = "#111111";
|
||||||
|
mOutline = "#3c3c3c";
|
||||||
|
mPrimary = "#aaaaaa";
|
||||||
|
mSecondary = "#a7a7a7";
|
||||||
|
mShadow = "#000000";
|
||||||
|
mSurface = "#111111";
|
||||||
|
mSurfaceVariant = "#191919";
|
||||||
|
mTertiary = "#cccccc";
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
# configure noctalia here; defaults will
|
||||||
|
# be deep merged with these attributes.
|
||||||
|
bar = {
|
||||||
|
density = "compact";
|
||||||
|
position = "right";
|
||||||
|
showCapsule = false;
|
||||||
|
widgets = {
|
||||||
|
left = [
|
||||||
|
{
|
||||||
|
id = "SidePanelToggle";
|
||||||
|
useDistroLogo = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
id = "WiFi";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
id = "Bluetooth";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
center = [
|
||||||
|
{
|
||||||
|
hideUnoccupied = false;
|
||||||
|
id = "Workspace";
|
||||||
|
labelMode = "none";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
right = [
|
||||||
|
{
|
||||||
|
alwaysShowPercentage = false;
|
||||||
|
id = "Battery";
|
||||||
|
warningThreshold = 30;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
formatHorizontal = "HH:mm";
|
||||||
|
formatVertical = "HH mm";
|
||||||
|
id = "Clock";
|
||||||
|
useMonospacedFont = true;
|
||||||
|
usePrimaryColor = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
colorSchemes.predefinedScheme = "Monochrome";
|
||||||
|
general = {
|
||||||
|
avatarImage = "/home/drfoobar/.face";
|
||||||
|
radiusRatio = 0.2;
|
||||||
|
};
|
||||||
|
location = {
|
||||||
|
monthBeforeDay = true;
|
||||||
|
name = "Marseille, France";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# this may also be a string or a path to a JSON file,
|
||||||
|
# but in this case must include *all* settings.
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -5,6 +5,7 @@
|
|||||||
./../modules/core/niri.nix
|
./../modules/core/niri.nix
|
||||||
./../modules/core/hyprland.nix
|
./../modules/core/hyprland.nix
|
||||||
./../modules/core/greetd.nix
|
./../modules/core/greetd.nix
|
||||||
|
./../modules/core/noctalia.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.moons.imports = [
|
home-manager.users.moons.imports = [
|
||||||
@@ -12,5 +13,6 @@
|
|||||||
./../modules/home/vscode.nix
|
./../modules/home/vscode.nix
|
||||||
./../modules/home/browser.nix
|
./../modules/home/browser.nix
|
||||||
./../modules/home/vicinae.nix
|
./../modules/home/vicinae.nix
|
||||||
|
./../modules/home/noctalia.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user