install noctalia

This commit is contained in:
2025-10-29 18:26:57 +09:00
parent 7bf8351eab
commit 9670461055
4 changed files with 104 additions and 0 deletions
+10
View File
@@ -11,6 +11,16 @@
};
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, ...}:
+6
View File
@@ -0,0 +1,6 @@
{ pkgs, inputs, ... }:
{
environment.systemPackages = with pkgs; [
inputs.noctalia.packages.${system}.default
];
}
+86
View File
@@ -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.
};
};
}
+2
View File
@@ -5,6 +5,7 @@
./../modules/core/niri.nix
./../modules/core/hyprland.nix
./../modules/core/greetd.nix
./../modules/core/noctalia.nix
];
home-manager.users.moons.imports = [
@@ -12,5 +13,6 @@
./../modules/home/vscode.nix
./../modules/home/browser.nix
./../modules/home/vicinae.nix
./../modules/home/noctalia.nix
];
}