tweak: added old noctalia module to copy code from
This commit is contained in:
parent
b82561c4dc
commit
c36a3a2c9f
1 changed files with 114 additions and 0 deletions
114
modules/features/desktop/old-niri-modules/noctalia.nix
Executable file
114
modules/features/desktop/old-niri-modules/noctalia.nix
Executable file
|
|
@ -0,0 +1,114 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
user,
|
||||
userDescription,
|
||||
homeDirectory,
|
||||
wallpapersPath,
|
||||
wallpaper,
|
||||
avatarsPath,
|
||||
avatar,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
#home-manager.users.${user} = {
|
||||
# import the home manager module
|
||||
imports = [ inputs.noctalia.homeModules.default ];
|
||||
|
||||
# configure options
|
||||
# https://docs.noctalia.dev/getting-started/nixos/
|
||||
programs.noctalia = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
settings = {
|
||||
# configure noctalia here
|
||||
|
||||
general = {
|
||||
avatarImage = "${avatar}";
|
||||
radiusRatio = 0.2;
|
||||
showSessionButtonOnLockScreen = false;
|
||||
showHibernateOnLockScreen = true;
|
||||
};
|
||||
|
||||
location = {
|
||||
monthBeforeDay = true;
|
||||
name = "Brisbane, Australia";
|
||||
};
|
||||
|
||||
colorSchemes = {
|
||||
darkMode = true;
|
||||
predefinedScheme = "Monochrome";
|
||||
};
|
||||
|
||||
wallpaper = {
|
||||
directory = "${wallpapersPath}";
|
||||
hideWallpaperFilenames = true;
|
||||
|
||||
};
|
||||
|
||||
appLauncher = {
|
||||
terminalCommand = "kitty -e";
|
||||
showCategories = false;
|
||||
};
|
||||
|
||||
bar = {
|
||||
density = "comfortable";
|
||||
position = "top";
|
||||
showCapsule = false;
|
||||
monitors = [ "DP-4" ];
|
||||
floating = true;
|
||||
marginVertical = 0.25;
|
||||
marginHorizontal = 0.5;
|
||||
widgets = {
|
||||
|
||||
left = [
|
||||
{
|
||||
icon = "rocket";
|
||||
id = "CustomButton";
|
||||
leftClickExec = "wofi";
|
||||
}
|
||||
];
|
||||
|
||||
center = [
|
||||
{
|
||||
hideUnoccupied = false;
|
||||
id = "Workspace";
|
||||
labelMode = "none";
|
||||
}
|
||||
];
|
||||
|
||||
right = [
|
||||
{ id = "Tray"; }
|
||||
{ id = "WiFi"; }
|
||||
{ id = "Bluetooth"; }
|
||||
{
|
||||
alwaysShowPercentage = false;
|
||||
id = "Battery";
|
||||
warningThreshold = 30;
|
||||
}
|
||||
{
|
||||
formatHorizontal = "HH:mm";
|
||||
formatVertical = "HH mm";
|
||||
id = "Clock";
|
||||
useMonospacedFont = true;
|
||||
usePrimaryColor = true;
|
||||
}
|
||||
{
|
||||
id = "ControlCenter";
|
||||
useDistroLogo = true;
|
||||
}
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
#ControlCenter = { };
|
||||
};
|
||||
# this may also be a string or a path to a JSON file,
|
||||
# but in this case must include *all* settings.
|
||||
};
|
||||
#};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue