basic functional niri+noctalia setup

This commit is contained in:
greyweather committed 2026-07-06 03:01:04 +01:00
1 parent e232aefc4a
commit 6c4d20403e
13 files changed
+962 -323

No files matched your search

+17 -303
View File
@@ -44,308 +44,12 @@ in {
settings.${firefox-addons.adnauseam.addonId} = {
force = true;
settings = {
userSettings = {
dntDomains = [
"00px.net"
"1lida.org"
"99designs.community"
"abzugame.com"
"addsearch.com"
"adiddas.biz"
"againandagain.biz"
"aggrocrab.com"
"ajile.life"
"alexandraklobouk.com"
"algolia.net"
"algolianet.com"
"aliceyliang.com"
"almestal.com"
"android-stor.ru"
"androidstores.ru"
"anidb.info"
"anidb.net"
"appbox.co"
"appboxes.co"
"askmebefore.biz"
"assortedscans.com"
"attrition.org"
"babysits.ar"
"babysits.co"
"babysits.com"
"babysits.com.br"
"babysits.es"
"babysits.fr"
"barajind.top"
"bebelow.top"
"bestgore.fun"
"bloat.cat"
"bmusicforyou2.com"
"bolt.io"
"brodownload7s.com"
"brodownload8s.com"
"brodownload9s.com"
"brovideos4s.site"
"broworker10s.com"
"broworker12s.com"
"broworker13s.com"
"broworker6s.com"
"broworker8s.com"
"broworker9s.com"
"broworkers5s.com"
"brpexpert.ru"
"brpush2.shop"
"btopwebsites.com"
"burnermail.io"
"butdoesitfloat.com"
"bvideoforyou.com"
"cadence.moe"
"campaignnow.co"
"cashmachines.biz"
"chilloutforus.com"
"christienmeindertsma.com"
"clicktimes.bid"
"clip.place"
"codepoints.net"
"conf.tube"
"cs14.biz"
"cs15.biz"
"cs22.biz"
"cs23.biz"
"cs25.biz"
"ct11.biz"
"ctcodein.biz"
"ctwork01.biz"
"dabuttonfactory.com"
"dao01.bid"
"dao01.biz"
"ddg.gg"
"deathfromabove1979.com"
"decagon.ai"
"deidamiapele.com"
"di10.biz"
"diode.zone"
"avatars.discourse.org"
"try.discourse.org"
"dm06.biz"
"dm09.biz"
"dm10.biz"
"dm11.biz"
"dm12.biz"
"do-not-tracker.org"
"donttrack.us"
"dubbningshemsidan.se"
"duck.com"
"duckduckgo.com"
"duckduckgo.de"
"dungbanshee.top"
"datawrapper.dwcdn.net"
"echostreamz.com"
"edpresenfer.com"
"act.eff.org"
"eff.org"
"eplica-cdn.is"
"ericchakeen.com"
"f.dog"
"favelapainting.com"
"filelive.top"
"fileload.site"
"filesbest.pro"
"filesload.site"
"firstpartysimulator.net"
"firstpartysimulator.org"
"fixittoday.biz"
"flitsmeisterapp.com"
"framatube.org"
"frankerfacez.com"
"freeradical.zone"
"gaaga.nl"
"gamingonlinux.com"
"gandi.fr"
"gandi.net"
"gecius.de"
"gegenberlin.com"
"gegenstimme.tv"
"gmunk.com"
"goredb.com"
"goresee.com"
"gps-data-team.com"
"grapheneos.org"
"happymove.biz"
"hiorbye.de"
"hollymediaa.biz"
"hotservers.net"
"howtoons.com"
"ilgmforum.com"
"impermanent.digital"
"innoreader.com"
"innovativeadserver.com"
"inoreader.com"
"ipp-meredith.com"
"ironfoxoss.org"
"iwascoding.com"
"iwascoding.de"
"jms1.net"
"joshuadavis.com"
"jupresear.ch"
"kolektiva.media"
"kursyvalut.info"
"letmenowme.biz"
"lex-forum.net"
"lida.in"
"lin01.bid"
"lin01.biz"
"lin02.bid"
"lin02.biz"
"loggia.com.br"
"lovehoneyforum.com"
"loveornotbad.biz"
"luuming.com"
"magicsubb.com"
"magictt1.com"
"makertube.net"
"mcappo.org"
"cdn-client.medium.com"
"cdn-images-1.medium.com"
"glyph.medium.com"
"miro.medium.com"
"meredithbardo.com"
"mos3.biz"
"news2day.me"
"ngo-online.de"
"nopattern.com"
"oddte.ch"
"op00.biz"
"op02.biz"
"op04.biz"
"openimp.net"
"p.lu"
"padsdn.com"
"peertube.stream"
"peertube.tv"
"peertube.uno"
"peertube.wtf"
"perfectdayforus.com"
"petrohradskakolektiv.com"
"phijkchu.com"
"pianosnyc.com"
"pieterhugo.com"
"piovenefabi.it"
"planetgong.co.uk"
"pn11.biz"
"pn12.biz"
"poast.tv"
"poidirectory.com"
"pony.tube"
"postmarketos.org"
"powerain.biz"
"pp04.biz"
"pp10.biz"
"pp11.biz"
"pp25.biz"
"presssnews.biz"
"pushadvert.bid"
"qqqqdesign.com"
"rainbowhorse.top"
"rassilkatest.ru"
"readthedocs.org"
"realityripple.com"
"recessed.space"
"redytowin.biz"
"romain-laurent.com"
"rtfd.io"
"rtfd.org"
"s10a.biz"
"s11a.biz"
"s12a.biz"
"s13a.biz"
"s14a.biz"
"s16a.biz"
"s17a.biz"
"s18a.biz"
"s19a.biz"
"sagemedia.ca"
"se07.biz"
"se19.biz"
"serch24.biz"
"sevenmeters.biz"
"share.tube"
"shopblt.com"
"similarworlds.com"
"skeptikon.fr"
"skydive-club.com"
"slate.app"
"slate.org"
"sovendus.com"
"spacecollective.org"
"spectra.video"
"stadygogo.biz"
"starka.st"
"start365.info"
"statad.ru"
"state51.com"
"stitchfiddle.com"
"subsworker.bid"
"superfamous.com"
"swebbtube.se"
"swebbtv.se"
"swimsunleisure.com"
"t-nation.com"
"tailstories.biz"
"tapcloud03.biz"
"tappara.co"
"teodormoisescu.com"
"theanimenetwork.com"
"theobituaryproject.org"
"thephilosophyforum.com"
"thephotographersunion.com"
"theplattform.net"
"thewrong.org"
"thomas-mcbrien.com"
"tilvids.com"
"tinariwen.com"
"tinkerbetter.tube"
"travis-ci.community"
"tt03.biz"
"tt07.biz"
"tt08.biz"
"tt13.biz"
"tt14.biz"
"twittercommunity.com"
"unurth.com"
"unusual.la"
"usizy.com"
"vectorlogo.zone"
"viewing.nyc"
"virtocommerce.org"
"vnchich.vip"
"vpnclick.biz"
"w-news.biz"
"warszawawpigulce.pl"
"washedout.net"
"waterpoloexchange.com"
"whiteclick.biz"
"widemus.de"
"wirtube.de"
"workerconnect.biz"
"wtfayla.net"
"youngjerks.com"
"zcode17.com"
"zcode18.com"
"zohup.net"
"zpgetworker11.com"
"zsiteforyou.com"
"zworker11.me"
"zworker17.com"
"zworker18.com"
];
"firstInstall" = false;
"hidingAds" = true;
"clickingAds" = true;
"blockingMalware" = true;
"disableClickingForDNT" = true;
"clickProbability" = 0.75;
"importedLists" = [];
};
"firstInstall" = false;
"hidingAds" = true;
"clickingAds" = true;
"blockingMalware" = true;
"disableClickingForDNT" = true;
"clickProbability" = 0.75;
selectedFilterLists = [
"user-filters"
"adnauseam-filters"
@@ -379,8 +83,18 @@ in {
search = {
force = true;
default = "ddg";
default = "ddg-noai";
engines = {
ddg-noai = {
name = "DuckDuckGo No-AI";
urls = [
{
template = "https://noai.duckduckgo.com/?q={searchTerms}";
}
];
icon = "https://duckduckgo.com/favicon.ico";
definedAliases = ["@noai"];
};
nixpkgs = {
name = "nixpkgs packages";
urls = [
+580
View File
@@ -0,0 +1,580 @@
{
pkgs,
lib,
...
}: {
programs.niri = {
enable = true;
package = pkgs.niri-stable;
settings = {
spawn-at-startup = [
{ argv = ["noctalia-shell"]; }
];
hotkey-overlay.skip-at-startup = true;
cursor = {
size = 22;
theme = "Bibata-Modern-Ice";
};
input.keyboard.xkb.layout = "gb";
input.mouse.accel-speed = 1.0;
input.touchpad = {
tap = true;
dwt = true;
natural-scroll = true;
click-method = "clickfinger";
};
binds = {
"Mod+Space".action.toggle-overview = {};
"Mod+Shift+E".action.quit = {};
"Mod+F".action.fullscreen-window = {};
"Mod+Return".action.spawn = "kitty";
"Mod+Q".action.close-window = {};
"Mod+E".action.spawn = "nautilus";
"Mod+B".action.spawn = "floorp";
"Mod+D".action.spawn = "fuzzel";
"Mod+Z".action.spawn = ["kitty" "nh" "os" "switch" "./nixos"];
"Mod+TouchpadScrollLeft".action.focus-column-left = {};
"Mod+TouchpadScrollRight".action.focus-column-right = {};
"Mod+TouchpadScrollUp".action.focus-workspace-up = {};
"Mod+TouchpadScrollDown".action.focus-workspace-down = {};
"Mod+Left".action.focus-column-left = {};
"Mod+Shift+Left".action.move-column-left = {};
"Mod+Right".action.focus-column-right = {};
"Mod+Shift+Right".action.move-column-right = {};
"Mod+Up".action.focus-workspace-up = {};
"Mod+Shift+Up".action.move-window-to-workspace-up = {};
"Mod+Down".action.focus-workspace-down = {};
"Mod+Shift+Down".action.move-window-to-workspace-down = {};
"XF86MonBrightnessUp".action.spawn = ["brightnessctl" "set" "+5%"];
"XF86MonBrightnessDown".action.spawn = ["brightnessctl" "set" "5%-"];
"XF86AudioRaiseVolume".action.spawn = ["noctalia-shell" "msg" "volume" "increase"];
"XF86AudioLowerVolume".action.spawn = ["noctalia-shell" "msg" "volume" "decrease"];
};
prefer-no-csd = true;
layout = {
gaps = 16;
struts.left = 64;
struts.right = 64;
always-center-single-column = true;
empty-workspace-above-first = true;
# fog of war
focus-ring = {
enable = true;
width = 2.5;
active.color = "#b2b2b2d6";
};
# border.active.gradient = {
# from = "red";
# to = "blue";
# in' = "oklch shorter hue";
# };
shadow.enable = true;
# default-column-display = "tabbed";
tab-indicator = {
position = "top";
gaps-between-tabs = 10;
# hide-when-single-tab = true;
# place-within-column = true;
# active.color = "red";
};
};
overview.zoom = 0.5;
window-rules = [
{
draw-border-with-background = false;
geometry-corner-radius = let
n = 10.0;
in {
top-right = n;
top-left = n;
bottom-left = n;
bottom-right = n;
};
clip-to-geometry = true;
}
{
matches = [
{
app-id = "^floorp$";
}
{
app-id = "^code$";
}
];
default-column-width.proportion = 1.0;
}
{
matches = [
{
app-id = "^kitty$";
}
];
default-column-width.proportion = 0.66;
}
];
debug = {
honor-xdg-activation-with-invalid-serial = {};
};
xwayland-satellite.path = "${lib.getExe pkgs.xwayland-satellite-unstable}";
};
};
programs.noctalia-shell = {
enable = true;
settings = {
settingsVersion = 0;
bar = {
barType = "simple";
position = "top";
monitors = [ ];
density = "default";
showOutline = false;
showCapsule = true;
capsuleOpacity = 1;
backgroundOpacity = 0.93;
useSeparateOpacity = false;
floating = false;
marginVertical = 4;
marginHorizontal = 4;
frameThickness = 8;
frameRadius = 12;
outerCorners = true;
hideOnOverview = false;
displayMode = "always_visible";
autoHideDelay = 500;
autoShowDelay = 150;
widgets = {
left = [
{
id = "Clock";
formatHorizontal = "h:mm A";
}
{
id = "SystemMonitor";
}
{
id = "MediaMini";
scrollingMode="never";
useFixedWidth = false;
maxWidth = 900;
}
];
center = [
{
id = "Workspace";
}
];
right = [
{
id = "Tray";
}
{
id = "NotificationHistory";
}
{
id = "Brightness";
}
{
id = "Battery";
displayMode="alwaysShow";
}
{
id = "Volume";
displayMode="alwaysShow";
}
{
id = "Bluetooth";
displayMode="alwaysShow";
}
{
id = "ControlCenter";
useDistroLogo = true;
}
];
};
screenOverrides = [ ];
};
general = {
avatarImage = "";
dimmerOpacity = 0.2;
showScreenCorners = true;
forceBlackScreenCorners = false;
scaleRatio = 1;
radiusRatio = 1;
iRadiusRatio = 1;
boxRadiusRatio = 1;
screenRadiusRatio = 1;
animationSpeed = 1.25;
animationDisabled = false;
compactLockScreen = false;
lockOnSuspend = true;
showSessionButtonsOnLockScreen = true;
showHibernateOnLockScreen = false;
enableShadows = true;
shadowDirection = "bottom_right";
shadowOffsetX = 1;
shadowOffsetY = 1;
language = "";
allowPanelsOnScreenWithoutBar = true;
showChangelogOnStartup = false;
telemetryEnabled = false;
enableLockScreenCountdown = true;
lockScreenCountdownDuration = 10000;
autoStartAuth = false;
allowPasswordWithFprintd = false;
};
ui = {
fontDefault = "";
fontFixed = "";
fontDefaultScale = 1;
fontFixedScale = 1;
tooltipsEnabled = true;
panelBackgroundOpacity = 0.93;
panelsAttachedToBar = true;
settingsPanelMode = "attached";
wifiDetailsViewMode = "grid";
bluetoothDetailsViewMode = "grid";
networkPanelView = "wifi";
bluetoothHideUnnamedDevices = false;
boxBorderEnabled = false;
};
location = {
name = "London";
weatherEnabled = true;
weatherShowEffects = true;
useFahrenheit = false;
use12hourFormat = false;
showWeekNumberInCalendar = false;
showCalendarEvents = true;
showCalendarWeather = true;
analogClockInCalendar = false;
firstDayOfWeek = -1;
hideWeatherTimezone = false;
hideWeatherCityName = true;
};
calendar = {
cards = [
{
enabled = true;
id = "calendar-header-card";
}
{
enabled = true;
id = "calendar-month-card";
}
{
enabled = true;
id = "weather-card";
}
];
};
wallpaper = {
enabled = true;
overviewEnabled = true;
directory = "/home/grey/nixos/assets/wallpapers";
monitorDirectories = [ ];
enableMultiMonitorDirectories = false;
showHiddenFiles = true;
viewMode = "single";
setWallpaperOnAllMonitors = true;
fillMode = "crop";
fillColor = "#000000";
useSolidColor = true;
solidColor = "#1a1a2e";
automationEnabled = false;
wallpaperChangeMode = "random";
randomIntervalSec = 300;
transitionDuration = 1500;
transitionType = "random";
transitionEdgeSmoothness = 0.05;
panelPosition = "follow_bar";
hideWallpaperFilenames = false;
useWallhaven = false;
wallhavenQuery = "";
wallhavenSorting = "relevance";
wallhavenOrder = "desc";
wallhavenCategories = "111";
wallhavenPurity = "100";
wallhavenRatios = "";
wallhavenApiKey = "";
wallhavenResolutionMode = "atleast";
wallhavenResolutionWidth = "";
wallhavenResolutionHeight = "";
sortOrder = "name";
};
appLauncher = {
enableClipboardHistory = false;
autoPasteClipboard = false;
enableClipPreview = true;
clipboardWrapText = true;
clipboardWatchTextCommand = "wl-paste --type text --watch cliphist store";
clipboardWatchImageCommand = "wl-paste --type image --watch cliphist store";
position = "center";
pinnedApps = [ ];
useApp2Unit = false;
sortByMostUsed = true;
terminalCommand = "alacritty -e";
customLaunchPrefixEnabled = false;
customLaunchPrefix = "";
viewMode = "list";
showCategories = true;
iconMode = "tabler";
showIconBackground = false;
enableSettingsSearch = true;
enableWindowsSearch = true;
ignoreMouseInput = false;
screenshotAnnotationTool = "";
};
controlCenter = {
position = "close_to_bar_button";
diskPath = "/";
shortcuts = {
left = [
{
id = "Network";
}
{
id = "Bluetooth";
}
{
id = "WallpaperSelector";
}
{
id = "NoctaliaPerformance";
}
];
right = [
{
id = "Notifications";
}
{
id = "PowerProfile";
}
{
id = "KeepAwake";
}
{
id = "NightLight";
}
];
};
cards = [
{
enabled = true;
id = "profile-card";
}
{
enabled = true;
id = "shortcuts-card";
}
{
enabled = true;
id = "audio-card";
}
{
enabled = false;
id = "brightness-card";
}
{
enabled = true;
id = "weather-card";
}
{
enabled = true;
id = "media-sysmon-card";
}
];
};
systemMonitor = {
cpuWarningThreshold = 80;
cpuCriticalThreshold = 90;
tempWarningThreshold = 80;
tempCriticalThreshold = 90;
gpuWarningThreshold = 80;
gpuCriticalThreshold = 90;
memWarningThreshold = 80;
memCriticalThreshold = 90;
swapWarningThreshold = 80;
swapCriticalThreshold = 90;
diskWarningThreshold = 80;
diskCriticalThreshold = 90;
diskAvailWarningThreshold = 20;
diskAvailCriticalThreshold = 10;
cpuPollingInterval = 1000;
gpuPollingInterval = 3000;
enableDgpuMonitoring = false;
memPollingInterval = 1000;
diskPollingInterval = 30000;
networkPollingInterval = 1000;
loadAvgPollingInterval = 3000;
useCustomColors = false;
warningColor = "";
criticalColor = "";
externalMonitor = "resources || missioncenter || jdsystemmonitor || corestats || system-monitoring-center || gnome-system-monitor || plasma-systemmonitor || mate-system-monitor || ukui-system-monitor || deepin-system-monitor || pantheon-system-monitor";
};
dock = {
enabled = false;
position = "bottom";
displayMode = "auto_hide";
backgroundOpacity = 1;
floatingRatio = 1;
size = 1;
onlySameOutput = true;
monitors = [ ];
pinnedApps = [ ];
colorizeIcons = false;
pinnedStatic = false;
inactiveIndicators = false;
deadOpacity = 0.6;
animationSpeed = 1;
};
network = {
wifiEnabled = true;
bluetoothRssiPollingEnabled = false;
bluetoothRssiPollIntervalMs = 10000;
wifiDetailsViewMode = "grid";
bluetoothDetailsViewMode = "grid";
bluetoothHideUnnamedDevices = false;
};
sessionMenu = {
enableCountdown = true;
countdownDuration = 10000;
position = "center";
showHeader = true;
largeButtonsStyle = true;
largeButtonsLayout = "single-row";
showNumberLabels = true;
powerOptions = [
{
action = "lock";
enabled = false;
}
{
action = "suspend";
enabled = true;
}
{
action = "hibernate";
enabled = false;
}
{
action = "reboot";
enabled = true;
}
{
action = "logout";
enabled = false;
}
{
action = "shutdown";
enabled = true;
}
];
};
notifications = {
enabled = true;
monitors = [ ];
location = "top_right";
overlayLayer = true;
backgroundOpacity = 1;
respectExpireTimeout = false;
lowUrgencyDuration = 3;
normalUrgencyDuration = 8;
criticalUrgencyDuration = 15;
enableKeyboardLayoutToast = true;
saveToHistory = {
low = true;
normal = true;
critical = true;
};
sounds = {
enabled = false;
volume = 0.5;
separateSounds = false;
criticalSoundFile = "";
normalSoundFile = "";
lowSoundFile = "";
excludedApps = "discord,firefox,chrome,chromium,edge";
};
enableMediaToast = false;
};
osd = {
enabled = true;
location = "top_right";
autoHideMs = 2000;
overlayLayer = true;
backgroundOpacity = 1;
enabledTypes = [
0
1
2
];
monitors = [ ];
};
audio = {
volumeStep = 5;
volumeOverdrive = false;
cavaFrameRate = 30;
visualizerType = "linear";
mprisBlacklist = [ ];
preferredPlayer = "";
volumeFeedback = false;
};
brightness = {
brightnessStep = 5;
enforceMinimum = true;
enableDdcSupport = false;
};
colorSchemes = {
useWallpaperColors = false;
predefinedScheme = "Nord";
darkMode = true;
monitorForColors = "";
};
nightLight = {
enabled = true;
forced = false;
autoSchedule = true;
nightTemp = "5000";
dayTemp = "6250";
manualSunrise = "06:30";
manualSunset = "18:30";
};
hooks = {
enabled = false;
wallpaperChange = "";
darkModeChange = "";
screenLock = "";
screenUnlock = "";
performanceModeEnabled = "";
performanceModeDisabled = "";
startup = "";
session = "";
};
desktopWidgets = {
enabled = false;
gridSnap = false;
monitorWidgets = [ ];
};
};
};
}
-1
View File
@@ -4,7 +4,6 @@
...
}: {
home.packages = [
pkgs.bibata-cursors
pkgs.papirus-icon-theme
pkgs.kdePackages.oxygen
pkgs.kdePackages.oxygen-sounds
+22
View File
@@ -0,0 +1,22 @@
{
config,
pkgs,
...
}: {
programs.vscode = {
enable = true;
profiles.default = {
extensions = with pkgs.vscode-extensions; [
bbenoist.nix
];
enableUpdateCheck = false;
userSettings = {
"[nix]" = {
"editor.tabSize" = 2;
};
"chat.disableAIFeatures" = true;
"workbench.welcomePage.walkthroughs.openOnInstall" = false;
};
};
};
}