Merge pull request 'Add kitagawa config' (#2) from add-kitagawa into main

Reviewed-on: greyweather/nixos#2
This commit is contained in:
greyweather committed 2026-07-06 03:02:23 +01:00
commit 7c97f3b39c
26 files changed
+1285 -189

No files matched your search

Generated
+221 -16
View File
@@ -8,11 +8,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1783051357,
"narHash": "sha256-/PPRXThQ9aoc/stohHMtfrRr0y5TmZSFvWPgC18HjUk=",
"lastModified": 1783224161,
"narHash": "sha256-SaSOAG03FE9FC0GV7uPPeyb7CHS59Yw9n0Go1gioidc=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "b02e5efbe9b68e4de7322362ada265bffe43696a",
"rev": "3a074d910fc151b9fcfb67dff99b844d6ee530dd",
"type": "gitlab"
},
"original": {
@@ -29,11 +29,11 @@
]
},
"locked": {
"lastModified": 1782704057,
"narHash": "sha256-G1I1gd32F7mp9LAe1DaZ4ZL7NX5gyiKwdCMwro1Vrck=",
"lastModified": 1783221248,
"narHash": "sha256-ESQnuNHEDChsB4IxoLRhscVahqkDWkTb+qdIz8euYt4=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "868d0a692de703c2de98fab61968e4e310b7c28e",
"rev": "af2beae5f0fae0a4310cc0e6aef2572f56090353",
"type": "github"
},
"original": {
@@ -50,11 +50,11 @@
]
},
"locked": {
"lastModified": 1782982440,
"narHash": "sha256-Zc5cC0WfiicPKtmJbUi8XlZJ1alXN9HLiCJONNtJfhQ=",
"lastModified": 1783155779,
"narHash": "sha256-QLg5u5W23sa31dFAlO95RHWbVFkwExsmpQ29NquLE0s=",
"owner": "nix-community",
"repo": "nh",
"rev": "813e006f41e4e463e6858e5d8dcdc8d38ecda83d",
"rev": "ab81553b6932fcc076cf4fb993a5daf47ab9ef0d",
"type": "github"
},
"original": {
@@ -63,13 +63,101 @@
"type": "github"
}
},
"niri": {
"inputs": {
"niri-stable": "niri-stable",
"niri-unstable": "niri-unstable",
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable",
"xwayland-satellite-stable": "xwayland-satellite-stable",
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1783267733,
"narHash": "sha256-DTvaM+0vanneOcKg3NKXV7ilf0ShY4BOBz/nde5GHos=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "74053f79cad0f6c3a4a0be6b7928795d2e6a9f4b",
"type": "github"
},
"original": {
"owner": "sodiboo",
"repo": "niri-flake",
"type": "github"
}
},
"niri-stable": {
"flake": false,
"locked": {
"lastModified": 1756556321,
"narHash": "sha256-RLD89dfjN0RVO86C/Mot0T7aduCygPGaYbog566F0Qo=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "01be0e65f4eb91a9cd624ac0b76aaeab765c7294",
"type": "github"
},
"original": {
"owner": "YaLTeR",
"ref": "v25.08",
"repo": "niri",
"type": "github"
}
},
"niri-unstable": {
"flake": false,
"locked": {
"lastModified": 1783248941,
"narHash": "sha256-citgYJbvR1iUKXpiWlFq3NO+fw6hXGL3Qk1ampU7lhA=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "a30ca7983b2f1fc3ddeb209b3fe18fa78e0dbd25",
"type": "github"
},
"original": {
"owner": "YaLTeR",
"repo": "niri",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1782847225,
"narHash": "sha256-JC9PjqKYG9ve5U8aDOLQipp3+KLANBHUvGdLZlxzdKI=",
"lastModified": 1783224372,
"narHash": "sha256-8i/87eeoqiGE4yOTjwSA3Eh/ziJRQEmd/unYU+K27sk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d407951447dcd00442e97087bf374aad70c04cea",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1782847189,
"narHash": "sha256-twXPFqFsrrY5r28Zh7Homgcp2gUMBgQ6WDS98Q/3xFI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b6018f87da91d19d0ab4cf979885689b469cdd41",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1783148766,
"narHash": "sha256-uslt2pqShTIXDdAHRHv2QkYLsVdY8Oqwz0EA48/RSM8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "95ca1e203c0750115fd4a6f17d5a245dfe6b1edd",
"rev": "a50de1b7d8a586adc18d2395c19de7d6058e6030",
"type": "github"
},
"original": {
@@ -79,6 +167,51 @@
"type": "github"
}
},
"noctalia": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"noctalia-qs": "noctalia-qs"
},
"locked": {
"lastModified": 1783017890,
"narHash": "sha256-bAzrtN0GDMH0dOZkgeI3zSxfFs2rdD3pMuzOxvTF0bs=",
"owner": "noctalia-dev",
"repo": "noctalia-shell",
"rev": "a48885b9fec485c903c955749a7da6e30147cd38",
"type": "github"
},
"original": {
"owner": "noctalia-dev",
"ref": "legacy-v4",
"repo": "noctalia-shell",
"type": "github"
}
},
"noctalia-qs": {
"inputs": {
"nixpkgs": [
"noctalia",
"nixpkgs"
],
"systems": "systems",
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1780799499,
"narHash": "sha256-YloRtLqJabzYUWvdLyh67zH4DZrR3kQj+dlQJwLPmPM=",
"owner": "noctalia-dev",
"repo": "noctalia-qs",
"rev": "f308426239665e3bc3d624014e9295b2ae2f58ff",
"type": "github"
},
"original": {
"owner": "noctalia-dev",
"repo": "noctalia-qs",
"type": "github"
}
},
"plasma-manager": {
"inputs": {
"home-manager": [
@@ -107,11 +240,83 @@
"firefox-addons": "firefox-addons",
"home-manager": "home-manager",
"nh": "nh",
"nixpkgs": "nixpkgs",
"niri": "niri",
"nixpkgs": "nixpkgs_2",
"noctalia": "noctalia",
"plasma-manager": "plasma-manager",
"zen-browser": "zen-browser"
}
},
"systems": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"noctalia",
"noctalia-qs",
"nixpkgs"
]
},
"locked": {
"lastModified": 1780220602,
"narHash": "sha256-eynAfOmbmxJnkp7YewvCEbShNnnYJ9gLLqkzsYtBPeM=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "db947814a175b7ca6ded66e21383d938df01c227",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"xwayland-satellite-stable": {
"flake": false,
"locked": {
"lastModified": 1755491097,
"narHash": "sha256-m+9tUfsmBeF2Gn4HWa6vSITZ4Gz1eA1F5Kh62B0N4oE=",
"owner": "Supreeeme",
"repo": "xwayland-satellite",
"rev": "388d291e82ffbc73be18169d39470f340707edaa",
"type": "github"
},
"original": {
"owner": "Supreeeme",
"ref": "v0.7",
"repo": "xwayland-satellite",
"type": "github"
}
},
"xwayland-satellite-unstable": {
"flake": false,
"locked": {
"lastModified": 1781226823,
"narHash": "sha256-28696iIw8uE0ZUyFTtzhEM8xMh85clCYypMxkvUi+sc=",
"owner": "Supreeeme",
"repo": "xwayland-satellite",
"rev": "8575d0ef55d70f9b4c46b6bffb3accf912217e1e",
"type": "github"
},
"original": {
"owner": "Supreeeme",
"repo": "xwayland-satellite",
"type": "github"
}
},
"zen-browser": {
"inputs": {
"home-manager": [
@@ -122,11 +327,11 @@
]
},
"locked": {
"lastModified": 1783063269,
"narHash": "sha256-XVOopPVgoWPlhuJajUYNTK/M9j/L/llD6vdH5JE9EKs=",
"lastModified": 1783190846,
"narHash": "sha256-UcdKHKcDxLxBon0HsOjDRRA7l1vVT28R83LkCIAlYYc=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "b86380c97016a1c79f535f286a34c0f5b4270a1b",
"rev": "0758bc86f7a55bbe002f0cede9e1a49e5a6e34d9",
"type": "github"
},
"original": {
+9
View File
@@ -32,6 +32,15 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
niri = {
url = "github:sodiboo/niri-flake";
};
noctalia = {
url = "github:noctalia-dev/noctalia-shell/legacy-v4";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {self,nixpkgs,home-manager,plasma-manager,...}@inputs: {
+3
View File
@@ -1,7 +1,10 @@
{
pkgs,
lib,
...
}: {
programs.zsh.initContent = lib.mkOrder 1500 "fastfetch";
programs.fastfetch = {
enable = true;
settings = {
+132
View File
@@ -0,0 +1,132 @@
{
pkgs,
inputs,
...
}: let
firefox-addons = with pkgs; inputs.firefox-addons.packages.${system};
in {
programs.floorp = {
enable = true;
nativeMessagingHosts = [
pkgs.firefoxpwa
pkgs.gnome-browser-connector
];
policies = {
AIControls.Default = {
Value = "blocked";
Locked = true;
};
AutofillAddressEnabled = false;
AutofillCreditCardEnabled = false;
DisableAppUpdate = true;
DisableFeedbackCommands = true;
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
NoDefaultBookmarks = true;
OfferToSaveLogins = false;
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
};
profiles.default = {
extensions = {
packages = with firefox-addons; [
adnauseam
bitwarden
indie-wiki-buddy
pwas-for-firefox
];
settings.${firefox-addons.adnauseam.addonId} = {
force = true;
settings = {
"firstInstall" = false;
"hidingAds" = true;
"clickingAds" = true;
"blockingMalware" = true;
"disableClickingForDNT" = true;
"clickProbability" = 0.75;
selectedFilterLists = [
"user-filters"
"adnauseam-filters"
"eff-dnt-whitelist"
"ublock-filters"
"ublock-badware"
"ublock-privacy"
"ublock-quick-fixes"
"ublock-unbreak"
"easylist"
"easyprivacy"
"urlhaus-1"
"fanboy-cookiemonster"
"ublock-cookies-easylist"
"adguard-cookies"
"ublock-cookies-adguard"
"fanboy-ai-suggestions"
"easylist-chat"
"easylist-newsletters"
"easylist-notifications"
"easylist-annoyances"
"adguard-mobile-app-banners"
"adguard-other-annoyances"
"adguard-popup-overlays"
"adguard-widgets"
"ublock-annoyances"
];
};
};
};
search = {
force = true;
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 = [
{
template = "https://search.nixos.org/packages?query={searchTerms}";
}
];
icon = "https://wiki.nixos.org/favicon.ico";
definedAliases = ["@np"];
};
nixos-options = {
name = "NixOS options";
urls = [
{
template = "https://search.nixos.org/options?query={searchTerms}";
}
];
icon = "https://wiki.nixos.org/favicon.ico";
definedAliases = ["@no"];
};
nixos-wiki = {
name = "NixOS Wiki";
urls = [
{
template = "https://wiki.nixos.org/w/index.php?search={searchTerms}";
}
];
icon = "https://wiki.nixos.org/favicon.ico";
definedAliases = ["@nw"];
};
};
};
};
};
}
+14
View File
@@ -0,0 +1,14 @@
{
pkgs,
...
}: {
programs.kitty = {
enable = true;
settings = {
confirm_os_window_close = -1;
};
shellIntegration.enableBashIntegration = true;
themeFile = "Arthur";
};
}
+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;
};
};
};
}
+5 -3
View File
@@ -8,10 +8,12 @@ in {
programs.zen-browser = {
enable = true;
setAsDefaultBrowser = true;
nativeMessagingHosts = [
pkgs.firefoxpwa
];
nativeMessagingHosts = [ pkgs.firefoxpwa ];
policies = {
AIControls.Default = {
Value = "blocked";
Locked = true;
};
AutofillAddressEnabled = false;
AutofillCreditCardEnabled = false;
DisableAppUpdate = true;
+28
View File
@@ -0,0 +1,28 @@
{
pkgs,
...
}: {
home.shell.enableZshIntegration = true;
programs.kitty.shellIntegration.enableZshIntegration = true;
programs.zsh = {
enable = true;
antidote = {
enable = true;
plugins = [
"getantidote/use-omz"
"ohmyzsh/ohmyzsh path:lib"
"ohmyzsh/ohmyzsh path:plugins/pip"
"ohmyzsh/ohmyzsh path:plugins/command-not-found"
"ohmyzsh/ohmyzsh path:themes/nanotech.zsh-theme"
"zsh-users/zsh-autosuggestions"
"zsh-users/zsh-syntax-highlighting"
];
};
localVariables = {
PATH = "/home/grey/.local/bin:$PATH";
};
};
}
+7 -4
View File
@@ -4,6 +4,10 @@
specialArgs,
...
}: {
imports = [
./hosts/${specialArgs.hostname}/hardware-configuration.nix
];
networking.hostName = specialArgs.hostname; # Define your hostname.
nix.settings.experimental-features = [
@@ -59,10 +63,9 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
pkgs.pipewire
pkgs.git
pkgs.fzf
pkgs.jq
git
fzf
jq
];
# This value determines the NixOS release from which the default
+4
View File
@@ -6,6 +6,10 @@
}: {
home.stateVersion = specialArgs.stateVersion;
home.packages = [
pkgs.bibata-cursors
];
programs.git = {
enable = true;
+46
View File
@@ -0,0 +1,46 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{
config,
pkgs,
...
}: let
modules-dir = ../../modules;
in {
imports = [
../../global-default.nix
./hardware-configuration.nix
"${modules-dir}/nh.nix"
"${modules-dir}/home-manager.nix"
"${modules-dir}/zsh.nix"
"${modules-dir}/display-managers/lightdm.nix"
"${modules-dir}/desktop-environments/gnome.nix"
"${modules-dir}/window-managers/niri.nix"
];
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
programs.gnupg.agent = {
enable = true;
};
# List services that you want to enable:
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
}
+45
View File
@@ -0,0 +1,45 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "uas" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/b17296df-a72e-4b9d-a3b6-54fc0c97c685";
fsType = "btrfs";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/b17296df-a72e-4b9d-a3b6-54fc0c97c685";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/b17296df-a72e-4b9d-a3b6-54fc0c97c685";
fsType = "btrfs";
options = [ "subvol=nix" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/68F7-4D8F";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/e85559e0-a039-4178-929a-8c5ec0328b64"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
+52
View File
@@ -0,0 +1,52 @@
{
config,
pkgs,
inputs,
lib,
...
}: let
global-configs = ../../global-configs;
in {
imports = [
../../global-home.nix
"${global-configs}/fastfetch.nix"
"${global-configs}/zsh.nix"
"${global-configs}/kitty.nix"
"${global-configs}/floorp.nix"
"${global-configs}/vscode.nix"
"${global-configs}/niri.nix"
];
home.packages = with pkgs; [
equibop
obsidian
github-desktop
thunderbird
spotify
jetbrains.clion
jetbrains.idea
proton-vpn
ente-auth
];
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
};
};
gtk = {
enable = true;
colorScheme = "dark";
theme = {
name = "Adwaita-dark";
package = pkgs.gnome-themes-extra;
};
};
qt = {
enable = true;
platformTheme.name = "adwaita";
style.name = "adwaita-dark";
};
}
-91
View File
@@ -1,91 +0,0 @@
{
pkgs,
inputs,
...
}: let
firefox-addons = with pkgs; inputs.firefox-addons.packages.${system};
in {
programs.zen-browser = {
enable = true;
setAsDefaultBrowser = true;
nativeMessagingHosts = [
pkgs.firefoxpwa
];
policies = {
AutofillAddressEnabled = false;
AutofillCreditCardEnabled = false;
DisableAppUpdate = true;
DisableFeedbackCommands = true;
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
NoDefaultBookmarks = true;
OfferToSaveLogins = false;
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
Preferences = {
"browser.startup.homepage" = {
Value = "about:blank";
Status = "locked";
};
};
};
profiles.default = {
settings = {
"zen.urlbar.behavior" = "float";
"zen.welcome-screen.seen" = true;
};
extensions.packages = with firefox-addons; [
adnauseam
bitwarden
indie-wiki-buddy
pwas-for-firefox
];
search = {
force = true;
default = "ddg";
engines = {
nixpkgs = {
name = "nixpkgs packages";
urls = [
{
template = "https://search.nixos.org/packages?query={searchTerms}";
}
];
icon = "https://wiki.nixos.org/favicon.ico";
definedAliases = ["@np"];
};
nixos-options = {
name = "NixOS options";
urls = [
{
template = "https://search.nixos.org/options?query={searchTerms}";
}
];
icon = "https://wiki.nixos.org/favicon.ico";
definedAliases = ["@no"];
};
nixos-wiki = {
name = "NixOS Wiki";
urls = [
{
template = "https://wiki.nixos.org/w/index.php?search={searchTerms}";
}
];
icon = "https://wiki.nixos.org/favicon.ico";
definedAliases = ["@nw"];
};
};
};
#keyboardShortcuts = [
# {
# id = "zen"
# }
#];
};
};
}
+3 -5
View File
@@ -13,8 +13,10 @@ in {
../../global-default.nix
./hardware-configuration.nix
"${modules-dir}/nh.nix"
"${modules-dir}/plasma-desktop.nix"
"${modules-dir}/display-managers/sddm.nix"
"${modules-dir}/desktop-environments/plasma6.nix"
"${modules-dir}/home-manager.nix"
"${modules-dir}/zsh.nix"
];
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@@ -26,10 +28,6 @@ in {
virtualisation.virtualbox.guest.enable = true;
virtualisation.virtualbox.guest.dragAndDrop = true;
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
users.users."grey".shell = pkgs.zsh;
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
+22 -56
View File
@@ -5,67 +5,33 @@
lib,
...
}: let
global-configs-dir = ../../global-configs;
global-configs = ../../global-configs;
in {
imports = [
../../global-home.nix
"${global-configs-dir}/plasma.nix"
"${global-configs-dir}/fastfetch.nix"
"${global-configs-dir}/zen-browser.nix"
"${global-configs}/plasma.nix"
"${global-configs}/fastfetch.nix"
"${global-configs}/zen-browser.nix"
"${global-configs}/zsh.nix"
"${global-configs}/kitty.nix"
];
home.packages = with pkgs; [
pkgs.steam
pkgs.equibop
pkgs.prismlauncher
pkgs.obsidian
pkgs.github-desktop
pkgs.vscode
pkgs.thunderbird
pkgs.spotify
pkgs.unityhub
pkgs.godot
pkgs.jetbrains.clion
pkgs.jetbrains.idea
pkgs.obs-studio
pkgs.proton-vpn
pkgs.ente-auth
pkgs.lact
steam
equibop
prismlauncher
obsidian
github-desktop
vscode
thunderbird
spotify
unityhub
godot
jetbrains.clion
jetbrains.idea
obs-studio
proton-vpn
ente-auth
lact
];
home.shell.enableZshIntegration = true;
programs.zsh = {
enable = true;
antidote = {
enable = true;
plugins = [
"getantidote/use-omz"
"ohmyzsh/ohmyzsh path:lib"
"ohmyzsh/ohmyzsh path:plugins/pip"
"ohmyzsh/ohmyzsh path:plugins/command-not-found"
"ohmyzsh/ohmyzsh path:themes/nanotech.zsh-theme"
"zsh-users/zsh-autosuggestions"
"zsh-users/zsh-syntax-highlighting"
];
};
localVariables = {
PATH = "/home/grey/.local/bin:$PATH";
};
initContent = lib.mkOrder 1500 "fastfetch";
};
programs.kitty = {
enable = true;
settings = {
confirm_os_window_close = -1;
};
shellIntegration.enableBashIntegration = true;
shellIntegration.enableZshIntegration = true;
themeFile = "Arthur";
};
}
+21
View File
@@ -0,0 +1,21 @@
{
config,
pkgs,
...
}: {
services.desktopManager.gnome.enable = true;
# To disable installing GNOME's suite of applications
# and only be left with GNOME shell.
services.gnome = {
core-apps.enable = true;
core-developer-tools.enable = false;
games.enable = false;
gnome-browser-connector.enable = true;
};
environment.gnome.excludePackages = with pkgs; [
gnome-tour
gnome-user-docs
];
}
+17
View File
@@ -0,0 +1,17 @@
{
config,
pkgs,
...
}: {
services.desktopManager.plasma6 = {
enable = true;
enableQt5Integration = true;
};
environment.plasma6.excludePackages = with pkgs.kdePackages; [
konsole
qrca
];
services.displayManager.defaultSession = "plasma";
}
+7
View File
@@ -0,0 +1,7 @@
{
config,
pkgs,
...
}: {
services.displayManager.gdm.enable = true;
}
+11
View File
@@ -0,0 +1,11 @@
{
config,
pkgs,
...
}: {
services.xserver.enable = true;
services.xserver.displayManager.lightdm = {
enable = true;
greeters.gtk.enable = true;
};
}
@@ -3,18 +3,6 @@
pkgs,
...
}: {
services.desktopManager.plasma6 = {
enable = true;
enableQt5Integration = true;
};
environment.plasma6.excludePackages = with pkgs.kdePackages; [
konsole
qrca
];
services.displayManager.defaultSession = "plasma";
services.displayManager.sddm = {
enable = true;
theme = "breeze";
+3 -1
View File
@@ -10,7 +10,9 @@
home-manager.backupFileExtension = ".bak";
home-manager.sharedModules = [
inputs.plasma-manager.homeManagerModules.plasma-manager
inputs.plasma-manager.homeModules.plasma-manager
inputs.zen-browser.homeModules.beta
inputs.niri.homeModules.niri
inputs.noctalia.homeModules.default
];
}
+24
View File
@@ -0,0 +1,24 @@
{
config,
pkgs,
inputs,
lib,
...
}: {
nixpkgs.overlays = [ inputs.niri.overlays.niri ];
programs.niri.enable = true;
environment.systemPackages = with pkgs; [
inputs.noctalia.packages.${system}.default
wl-clipboard
wayland-utils
libsecret
cage
fuzzel
mako
gamescope
xwayland-satellite-unstable
brightnessctl
];
}
+9
View File
@@ -0,0 +1,9 @@
{
config,
pkgs,
...
}: {
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
users.users."grey".shell = pkgs.zsh;
}