Compare commits

...

14 Commits

Author SHA1 Message Date
Ghostfox
be2b0590a5 Ghostfox 2026-05-30 13:27:44 +02:00
64e088a0df update 2026-05-24 13:09:09 +02:00
Ghostfox
9b09f60121 Fix hibernation 2026-04-28 08:43:16 +02:00
09329c43a1 Port Kurin's changes 2026-04-26 13:53:27 +02:00
beaf55ead0 Prepare for Kurin rebuild 2026-04-26 13:06:59 +02:00
98ddbb3e68 Complete switch to KDE organization stuff 2026-04-25 17:28:02 +02:00
36a17c377e Add korganizer configuration 2026-04-23 18:16:32 +02:00
4e8e5bf907 Add Korganizer configuration 2026-04-23 18:16:20 +02:00
66fab6c767 Replace Proton Mail with Electron Mail, add Zadania calendar 2026-04-20 15:58:15 +02:00
75b8feb95a Merge branch 'master' of https://hazzy.nonamesoft.xyz/ghostfox/gooberos 2026-04-19 20:35:58 +02:00
e92cbc3e69 Add Mocha 2026-04-19 20:35:17 +02:00
Ghostfox
94c6739530 Add Thunderbird, cut down on swap usage to make hibernation more reliable 2026-04-19 03:32:14 +02:00
Ghostfox
c1e1488212 Merge branch 'master' of https://hazzy.nonamesoft.xyz/ghostfox/gooberos 2026-04-04 18:23:38 +02:00
Ghostfox
6ae3e3552e Fixes 2026-04-04 18:23:05 +02:00
29 changed files with 700 additions and 154 deletions

106
flake.lock generated
View File

@@ -5,11 +5,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1774098279,
"narHash": "sha256-OoQRoQmwCuBBXObi82F6C+eYV1lYCt5Va5k/VckJ6vo=",
"lastModified": 1779125773,
"narHash": "sha256-F34zmAgMQXHwvFb9SpCilX4cAIfF4+KvpzrJqnkNLJE=",
"owner": "catppuccin",
"repo": "nix",
"rev": "cb374516af3ccc3aa0c6ef518292bf4ae417a60e",
"rev": "86996e2c4ee6a091fddb10de56dd21a1a5972bcb",
"type": "github"
},
"original": {
@@ -26,11 +26,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1774497795,
"narHash": "sha256-tzgxKaCEMcU6XT0fjV/vEqDCM9yij6wBgPPBKiK8Dfk=",
"lastModified": 1779336167,
"narHash": "sha256-YbAbHiHmPhBVqgVvWzFOrQTkmYQ7oXOvEBNDRT6ruBA=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "11af6f465a038233b8123022dcb7e293f3229f11",
"rev": "e4bc7d7ca24db3a7b1daac4ef0957b8148b444bf",
"type": "gitlab"
},
"original": {
@@ -43,11 +43,11 @@
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1751685974,
"narHash": "sha256-NKw96t+BgHIYzHUjkTK95FqYRVKB8DHpVhefWSz/kTw=",
"lastModified": 1777699697,
"narHash": "sha256-Eg9b/rq/ECYwNwEXs5i9wHyhxNI0JrYx2srdI2uZMaQ=",
"ref": "refs/heads/main",
"rev": "549f2762aebeff29a2e5ece7a7dc0f955281a1d1",
"revCount": 92,
"rev": "382052b74656a369c5408822af3f2501e9b1af81",
"revCount": 94,
"type": "git",
"url": "https://git.lix.systems/lix-project/flake-compat.git"
},
@@ -64,11 +64,11 @@
]
},
"locked": {
"lastModified": 1769996383,
"narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
"lastModified": 1778716662,
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
"type": "github"
},
"original": {
@@ -84,11 +84,11 @@
]
},
"locked": {
"lastModified": 1774293042,
"narHash": "sha256-OEBV+Y5I4Ldu98k0KvGXRfJYh+jjE8ocCSL/dxTGs1s=",
"lastModified": 1779336838,
"narHash": "sha256-n1+l78hJRABp4cQHKeD0BVByT0vZLPqd09Tvoq8Q+d8=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "bc357c75e3142a31b849ba49c5299fb52c61cf59",
"rev": "928d72376949e222ea4f07b44828a55b0136422e",
"type": "github"
},
"original": {
@@ -99,11 +99,11 @@
},
"mnw": {
"locked": {
"lastModified": 1770419553,
"narHash": "sha256-b1XqsH7AtVf2dXmq2iyRr2NC1yG7skY7Z6N2MpWHlK4=",
"lastModified": 1778541201,
"narHash": "sha256-n0twkzWexzjsoDycOTvvQNuGEdg62UiNHYcFCduYpKI=",
"owner": "Gerg-L",
"repo": "mnw",
"rev": "2aaffa8030d0b262176146adbb6b0e6374ce2957",
"rev": "1a3573fc9d2486738fe0b2cacc5cd10dd5f3a445",
"type": "github"
},
"original": {
@@ -120,27 +120,27 @@
]
},
"locked": {
"lastModified": 1768214250,
"narHash": "sha256-hnBZDQWUxJV3KbtvyGW5BKLO/fAwydrxm5WHCWMQTbw=",
"lastModified": 1779233504,
"narHash": "sha256-YIKEyzh0NFQlD0O92LQQNMoVCDwV8yw1Xz0Iu+4ZC5U=",
"owner": "feel-co",
"repo": "ndg",
"rev": "a6bd3c1ce2668d096e4fdaaa03ad7f03ba1fbca8",
"rev": "86f6644411a64d5413711895b7cf6e0e1be465b6",
"type": "github"
},
"original": {
"owner": "feel-co",
"ref": "refs/tags/v2.6.0",
"ref": "refs/tags/v2.8.0",
"repo": "ndg",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1774777275,
"narHash": "sha256-qogBiYFq8hZusDPeeKRqzelBAhZvREc7Cl+qlewGUCg=",
"lastModified": 1779258371,
"narHash": "sha256-j1iZsLy6oFApqR1oiDmHhvkwxXqcNi0aoSJj643LuwU=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "b8f81636927f1af0cca812d22c876bad0a883ccd",
"rev": "c97bc4d15bd3473dd095e8e8ba57330ab1943a77",
"type": "github"
},
"original": {
@@ -152,11 +152,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1773821835,
"narHash": "sha256-TJ3lSQtW0E2JrznGVm8hOQGVpXjJyXY2guAxku2O9A4=",
"lastModified": 1778443072,
"narHash": "sha256-zi7/fsqM/kFdNuED//4WOCUtezGtKKqRNORjMvfwjnA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b40629efe5d6ec48dd1efba650c797ddbd39ace0",
"rev": "da5ad661ba4e5ef59ba743f0d112cbc30e474f32",
"type": "github"
},
"original": {
@@ -168,11 +168,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1774106199,
"narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=",
"lastModified": 1778869304,
"narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655",
"rev": "d233902339c02a9c334e7e593de68855ad26c4cb",
"type": "github"
},
"original": {
@@ -194,11 +194,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1774736237,
"narHash": "sha256-uQ+Was7QP9Bupr0XZyZXOAD32Ox8z2mJnevT2FmDwS8=",
"lastModified": 1779322566,
"narHash": "sha256-4fsU5w4WXGiDMSRkCTKeEbQwc8TbRSeNOZDlfOM4e7o=",
"owner": "NotAShelf",
"repo": "nvf",
"rev": "a0636d5c977743851c91d3c2e74bfac90be48835",
"rev": "01d49ca23a885fdded35fb44b8eec3b4707b8aef",
"type": "github"
},
"original": {
@@ -207,6 +207,29 @@
"type": "github"
}
},
"plasma-manager": {
"inputs": {
"home-manager": [
"home-manager"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1775856943,
"narHash": "sha256-b7Mp7P+q2Md5AGt4rjHfMcBykzMumFTen10ST++AuTU=",
"owner": "nix-community",
"repo": "plasma-manager",
"rev": "a524a6160e6df89f7673ba293cf7d78b559eb1a5",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "plasma-manager",
"type": "github"
}
},
"root": {
"inputs": {
"catppuccin": "catppuccin",
@@ -215,6 +238,7 @@
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2",
"nvf": "nvf",
"plasma-manager": "plasma-manager",
"sops-nix": "sops-nix",
"zen-browser": "zen-browser"
}
@@ -226,11 +250,11 @@
]
},
"locked": {
"lastModified": 1774760784,
"narHash": "sha256-D+tgywBHldTc0klWCIC49+6Zlp57Y4GGwxP1CqfxZrY=",
"lastModified": 1777944972,
"narHash": "sha256-VfGRo1qTBKOe3s2gOv8LSoA6Fk19PvBlwQ1ECN0Evn8=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "8adb84861fe70e131d44e1e33c426a51e2e0bfa5",
"rev": "c591bf665727040c6cc5cb409079acb22dcce33c",
"type": "github"
},
"original": {
@@ -264,11 +288,11 @@
]
},
"locked": {
"lastModified": 1774242250,
"narHash": "sha256-pchbnY7KVnH26g4O3LZO8vpshInqNj937gAqlPob1Mk=",
"lastModified": 1779377324,
"narHash": "sha256-svU6Ro4xiMxMA1KJGwQ/nfKwz3yXE/SONCw2Z1qTXHA=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "f19c3e6683c2d2f3fcfcb88fb691931a104bc47c",
"rev": "1ac4a5872e1d76a93329a4d0698d0de35b8bdd67",
"type": "github"
},
"original": {

View File

@@ -6,6 +6,13 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
catppuccin.url = "github:catppuccin/nix";
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
@@ -40,6 +47,14 @@
in
{
nixosConfigurations = {
ghostfox = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
inherit specialArgs;
modules = [
./systems/ghostfox/configuration.nix
];
};
saturn = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
inherit specialArgs;
@@ -47,6 +62,14 @@
./systems/saturn/configuration.nix
];
};
mocha = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
inherit specialArgs;
modules = [
./systems/mocha/configuration.nix
];
};
kurin = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";

View File

@@ -5,18 +5,20 @@
inputs.home-manager.nixosModules.home-manager
inputs.nvf.nixosModules.default
./nvf
./nvf
./branding.nix
./filesystems.nix
./garbage.nix
./locale.nix
./nix.nix
./packages.nix
./sleep.nix
./user.nix
];
environment.enableAllTerminfo = true;
image.fileName = lib.mkDefault "${config.networking.hostName}-${pkgs.stdenv.hostPlatform.system}";
image.baseName = lib.mkDefault "${config.networking.hostName}-${pkgs.stdenv.hostPlatform.system}";
# image.fileName = lib.mkDefault "${config.networking.hostName}-${pkgs.stdenv.hostPlatform.system}";
# image.baseName = lib.mkDefault "${config.networking.hostName}-${pkgs.stdenv.hostPlatform.system}";
}

View File

@@ -0,0 +1,10 @@
{ pkgs, ... }:
{
boot.supportedFilesystems = [
"exfat"
];
environment.systemPackages = with pkgs; [
exfat
];
}

View File

@@ -55,6 +55,9 @@
tlrc
w3m
zstd
lshw
e2fsprogs
smartmontools
];
}

13
modules/base/sleep.nix Normal file
View File

@@ -0,0 +1,13 @@
{
systemd.sleep.settings.Sleep = {
# AllowSuspend = "no";
AllowHybridSleep = "no";
AllowSuspendThenHibernate = "no";
# HibernationMode = "shutdown";
};
boot.kernelParams = [
"vm.swappiness=30"
# "hibernate.compressor=lz4"
];
}

View File

@@ -3,12 +3,14 @@
# NixOS
users.users.dark = {
isNormalUser = true;
description = "Dark Steveneq";
description = "Ghostfox";
extraGroups = [
"wheel"
"networkmanager"
"video"
"kvm"
"wireshark"
"docker"
];
};

View File

@@ -1,3 +1,5 @@
This module contains common desktop configs
This means stuff like Vesktop and alike will be defined here
This means stuff like Vesktop and alike will be defined here
YOU NEED TO IMPORT `plasma/` manually!

View File

@@ -1,4 +1,4 @@
{ inputs, ... }:
{ inputs, pkgs, ... }:
{
imports = [
./tailscale.nix
@@ -11,6 +11,14 @@
./home
];
environment.systemPackages = with pkgs; [
neovide
featherpad
electron-mail
];
environment.variables.EDITOR = "neovide";
catppuccin.enable = true;
catppuccin.cache.enable = true;
@@ -18,4 +26,11 @@
system.nixos.variantName = "Desktop";
system.nixos.variant_id = "desktop";
fonts.packages = with pkgs; [
montserrat
];
programs.appimage.enable = true;
programs.fuse.enable = true;
}

View File

@@ -0,0 +1,32 @@
{
accounts.calendar.basePath = ".local/share/calendar";
# Main calendar
accounts.calendar.accounts.Main = {
primary = true;
remote = {
type = "caldav";
url = "http://dav.kurin.pi/radicale/ghostfox/3c2f5ce4-2fa6-1c5e-b08b-8ce2386c3739/";
userName = "ghostfox";
};
};
# Zadania
accounts.calendar.accounts.Zadania = {
remote = {
type = "caldav";
url = "http://dav.kurin.pi/radicale/ghostfox/68829bfe-6545-7c1a-2edb-3afe3e14c55b/";
userName = "ghostfox";
};
};
# Lekarze
accounts.calendar.accounts.Lekarze = {
remote = {
type = "caldav";
url = "http://dav.kurin.pi/radicale/ghostfox/de221417-0ebf-0ed3-ddf1-2096027b705d/";
userName = "ghostfox";
};
};
}

View File

@@ -1,9 +1,11 @@
{
imports = [
./zen-browser
./calendars.nix
./element.nix
./packages.nix
./thunderbird.nix
./vesktop.nix
./zen-browser
];
catppuccin.enable = true;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -0,0 +1,19 @@
{
# Thunderbird
programs.thunderbird = {
enable = true;
profiles.default = {
# name = "Default";
isDefault = true;
};
};
# Main calendar
accounts.calendar.accounts.Main.thunderbird.enable = true;
# Zadania
accounts.calendar.accounts.Zadania.thunderbird.enable = true;
# Lekarze
accounts.calendar.accounts.Lekarze.thunderbird.enable = true;
}

View File

@@ -2,14 +2,6 @@
"accessibility.typeaheadfind.flashBar": 0,
"app.normandy.first_run": false,
"app.normandy.migrationsApplied": 12,
"app.update.lastUpdateTime.addon-background-update-timer": 1774516788,
"app.update.lastUpdateTime.background-update-timer": 1774516788,
"app.update.lastUpdateTime.browser-cleanup-thumbnails": 1774516788,
"app.update.lastUpdateTime.glean-addons-daily": 1774516788,
"app.update.lastUpdateTime.region-update-timer": 1774334255,
"app.update.lastUpdateTime.rs-experiment-loader-timer": 1774422453,
"app.update.lastUpdateTime.services-settings-poll-changes": 1774516788,
"app.update.lastUpdateTime.xpi-signature-verification": 1774516788,
"browser.aboutConfig.showWarning": false,
"browser.bookmarks.addedImportButton": true,
"browser.bookmarks.restore_default_bookmarks": false,
@@ -34,7 +26,6 @@
"browser.preferences.experimental.hidden": true,
"browser.proton.toolbar.version": 3,
"browser.region.update.updated": 1774334226,
"browser.safebrowsing.provider.mozilla.lastupdatetime": "1774517278647",
"browser.safebrowsing.provider.mozilla.nextupdatetime": "1774538878647",
"browser.search.region": "PL",
"browser.search.totalSearches": 56,
@@ -44,18 +35,14 @@
"browser.startup.couldRestoreSession.count": 1,
"browser.startup.homepage_override.buildID": "20260315063056",
"browser.startup.homepage_override.mstone": "148.0.2",
"browser.startup.lastColdStartupCheck": 1774422453,
"browser.termsofuse.prefMigrationCheck": true,
"browser.theme.toolbar-theme": 0,
"browser.uiCustomization.state": "{\"placements\":{\"widget-overflow-fixed-list\":[],\"unified-extensions-area\":[\"ublock0_raymondhill_net-browser-action\",\"_bbb880ce-43c9-47ae-b746-c3e0096c5b76_-browser-action\",\"_34daeb50-c2d2-4f14-886a-7160b24d66a4_-browser-action\",\"_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action\",\"_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-browser-action\",\"_9a3104a2-02c2-464c-b069-82344e5ed4ec_-browser-action\",\"_799c0914-748b-41df-a25c-22d008f9e83f_-browser-action\",\"_bb1b80be-e6b3-40a1-9b6e-9d4073343f0b_-browser-action\"],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"customizableui-special-spring1\",\"vertical-spacer\",\"urlbar-container\",\"customizableui-special-spring2\",\"unified-extensions-button\",\"_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action\",\"addon_simplelogin-browser-action\",\"jordanlinkwarden_gmail_com-browser-action\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\"],\"vertical-tabs\":[],\"PersonalToolbar\":[\"import-button\",\"personal-bookmarks\"],\"zen-sidebar-top-buttons\":[\"zen-toggle-compact-mode\"],\"zen-sidebar-foot-buttons\":[\"downloads-button\",\"zen-workspaces-button\",\"zen-create-new-button\"]},\"seen\":[\"developer-button\",\"screenshot-button\",\"ublock0_raymondhill_net-browser-action\",\"_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action\",\"_bbb880ce-43c9-47ae-b746-c3e0096c5b76_-browser-action\",\"addon_simplelogin-browser-action\",\"jordanlinkwarden_gmail_com-browser-action\",\"_34daeb50-c2d2-4f14-886a-7160b24d66a4_-browser-action\",\"_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action\",\"_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-browser-action\",\"_9a3104a2-02c2-464c-b069-82344e5ed4ec_-browser-action\",\"_799c0914-748b-41df-a25c-22d008f9e83f_-browser-action\",\"_bb1b80be-e6b3-40a1-9b6e-9d4073343f0b_-browser-action\"],\"dirtyAreaCache\":[\"nav-bar\",\"vertical-tabs\",\"zen-sidebar-foot-buttons\",\"PersonalToolbar\",\"toolbar-menubar\",\"TabsToolbar\",\"zen-sidebar-top-buttons\",\"unified-extensions-area\"],\"currentVersion\":23,\"newElementCount\":2}",
"browser.urlbar.lastUrlbarSearchSeconds": 1774516881,
"browser.urlbar.quicksuggest.migrationVersion": 6,
"browser.urlbar.recentsearches.lastDefaultChanged": "1774334439109",
"browser.urlbar.suggest.clipboard": false,
"browser.urlbar.suggest.engines": false,
"browser.urlbar.suggest.history": false,
"browser.urlbar.suggest.recentsearches": false,
"captchadetection.lastSubmission": 1774334,
"datareporting.dau.cachedUsageProfileGroupID": "adde67e1-23aa-48bf-a313-5323aa23030a",
"datareporting.dau.cachedUsageProfileID": "fd6afd74-59c6-4b0c-a386-283290282e58",
"devtools.everOpened": true,
@@ -73,9 +60,6 @@
"extensions.blocklist.pingCountVersion": 0,
"extensions.colorway-builtin-themes-cleanup": 1,
"extensions.databaseSchema": 37,
"extensions.lastAppBuildId": "20260315063056",
"extensions.lastAppVersion": "1.19.3b",
"extensions.lastPlatformVersion": "148.0.2",
"extensions.pendingOperations": false,
"extensions.pictureinpicture.enable_picture_in_picture_overrides": true,
"extensions.quarantinedDomains.list": "autoatendimento.bb.com.br,ibpf.sicredi.com.br,ibpj.sicredi.com.br,internetbanking.caixa.gov.br,www.ib12.bradesco.com.br,www2.bancobrasil.com.br",
@@ -88,25 +72,15 @@
"extensions.webcompat.enable_interventions": true,
"extensions.webcompat.enable_shims": true,
"gecko.handlerService.defaultHandlersVersion": 1,
"idle.lastDailyNotification": 1774422802,
"media.gmp-gmpopenh264.abi": "x86_64-gcc3",
"media.gmp-gmpopenh264.hashValue": "f5246bf14d038adf4ce0c4360262ab722bc3de4220f047c3d542b4c564074b4877dc8659e3125c5171c749e7ce93f20cc63777eb5e1539e960670cbc5f30ac85",
"media.gmp-gmpopenh264.lastDownload": 1774334257,
"media.gmp-gmpopenh264.lastInstallStart": 1774334256,
"media.gmp-gmpopenh264.lastUpdate": 1774334257,
"media.gmp-gmpopenh264.version": "2.6.0",
"media.gmp-manager.buildID": "20260315063056",
"media.gmp-manager.lastCheck": 1774422477,
"media.gmp-manager.lastEmptyCheck": 1774422477,
"media.gmp-widevinecdm.abi": "x86_64-gcc3",
"media.gmp-widevinecdm.hashValue": "421214210a09a9f9ed8ce482ef857f1c2b29ce1739240d1ec99a61caa3d80db3393752275722bdf5f503489f12a753215fe8a0c82de3aca23780d4ffe5792eb1",
"media.gmp-widevinecdm.lastDownload": 1774334258,
"media.gmp-widevinecdm.lastInstallStart": 1774334256,
"media.gmp-widevinecdm.lastUpdate": 1774334259,
"media.gmp-widevinecdm.version": "4.10.2934.0",
"media.gmp.storage.version.observed": 1,
"media.videocontrols.picture-in-picture.video-toggle.first-seen-secs": 1774334392,
"network.cookie.CHIPS.lastMigrateDatabase": 2,
"network.dns.disablePrefetch": true,
"network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation": true,
"network.http.speculative-parallel-limit": 0,
@@ -118,7 +92,6 @@
"nimbus.rollouts.enabled": false,
"pdfjs.enabledCache.state": true,
"pdfjs.migrationVersion": 2,
"places.database.lastMaintenance": 1774336005,
"privacy.annotate_channels.strict_list.enabled": true,
"privacy.bounceTrackingProtection.hasMigratedUserActivationData": true,
"privacy.bounceTrackingProtection.mode": 1,
@@ -126,7 +99,6 @@
"privacy.fingerprintingProtection": true,
"privacy.globalprivacycontrol.was_ever_enabled": true,
"privacy.purge_trackers.date_in_cookie_database": "0",
"privacy.purge_trackers.last_purge": "1774422802819",
"privacy.query_stripping.enabled": true,
"privacy.query_stripping.enabled.pbmode": true,
"privacy.sanitize.clearOnShutdown.hasMigratedToNewPrefs3": true,
@@ -138,63 +110,7 @@
"privacy.trackingprotection.enabled": true,
"privacy.trackingprotection.socialtracking.enabled": true,
"privacy.userContext.enabled": false,
"services.settings.blocklists.addons-bloomfilters.last_check": 1774516798,
"services.settings.blocklists.gfx.last_check": 1774516798,
"services.settings.clock_skew_seconds": -973,
"services.settings.last_etag": "\"1774516700820\"",
"services.settings.last_update_seconds": 1774518671,
"services.settings.main.addons-data-leak-blocker-domains.last_check": 1774516798,
"services.settings.main.addons-manager-settings.last_check": 1774516798,
"services.settings.main.anti-tracking-url-decoration.last_check": 1774516798,
"services.settings.main.bounce-tracking-protection-exceptions.last_check": 1774516798,
"services.settings.main.cfr.last_check": 1774516798,
"services.settings.main.cookie-banner-rules-list.last_check": 1774516798,
"services.settings.main.devtools-compatibility-browsers.last_check": 1774516798,
"services.settings.main.devtools-devices.last_check": 1774516798,
"services.settings.main.doh-config.last_check": 1774516798,
"services.settings.main.doh-providers.last_check": 1774516798,
"services.settings.main.fingerprinting-protection-overrides.last_check": 1774516798,
"services.settings.main.fxmonitor-breaches.last_check": 1774516798,
"services.settings.main.fxrelay-denylist.last_check": 1774516798,
"services.settings.main.hijack-blocklists.last_check": 1774516798,
"services.settings.main.language-dictionaries.last_check": 1774516798,
"services.settings.main.message-groups.last_check": 1774516798,
"services.settings.main.moz-essential-domain-fallbacks.last_check": 1774516798,
"services.settings.main.newtab-frecency-boosted-sponsors.last_check": 1774516798,
"services.settings.main.newtab-wallpapers-v2.last_check": 1774516798,
"services.settings.main.nimbus-desktop-experiments.last_check": 1774516798,
"services.settings.main.nimbus-secure-experiments.last_check": 1774516798,
"services.settings.main.normandy-recipes-capabilities.last_check": 1774516798,
"services.settings.main.partitioning-exempt-urls.last_check": 1774516798,
"services.settings.main.password-recipes.last_check": 1774516798,
"services.settings.main.password-rules.last_check": 1774516798,
"services.settings.main.query-stripping.last_check": 1774516798,
"services.settings.main.remote-permissions.last_check": 1774516798,
"services.settings.main.search-categorization.last_check": 1774516798,
"services.settings.main.search-config-icons.last_check": 1774516798,
"services.settings.main.search-config-overrides-v2.last_check": 1774516798,
"services.settings.main.search-config-v2.last_check": 1774516798,
"services.settings.main.search-default-override-allowlist.last_check": 1774516798,
"services.settings.main.search-telemetry-v2.last_check": 1774516798,
"services.settings.main.sites-classification.last_check": 1774516798,
"services.settings.main.third-party-cookie-blocking-exempt-urls.last_check": 1774516798,
"services.settings.main.tippytop.last_check": 1774516798,
"services.settings.main.top-sites.last_check": 1774516798,
"services.settings.main.tracking-protection-lists.last_check": 1774516798,
"services.settings.main.translations-models-v2.last_check": 1774516798,
"services.settings.main.translations-models.last_check": 1774516798,
"services.settings.main.translations-wasm.last_check": 1774516798,
"services.settings.main.url-classifier-exceptions.last_check": 1774516798,
"services.settings.main.url-classifier-skip-urls.last_check": 1774516798,
"services.settings.main.url-parser-default-unknown-schemes-interventions.last_check": 1774516798,
"services.settings.main.urlbar-persisted-search-terms.last_check": 1774516798,
"services.settings.main.vpn-serverlist.last_check": 1774516798,
"services.settings.main.webcompat-interventions.last_check": 1774516798,
"services.settings.main.websites-with-shared-credential-backends.last_check": 1774516798,
"services.settings.security-state.cert-revocations.last_check": 1774516798,
"services.settings.security-state.intermediates.last_check": 1774516798,
"services.settings.security-state.onecrl.last_check": 1774516798,
"services.sync.clients.lastSync": "0",
"services.sync.declinedEngines": "",
"services.sync.globalScore": 0,
"services.sync.nextSync": 0,
@@ -203,18 +119,12 @@
"sidebar.old-sidebar.has-used": true,
"sidebar.visibility": "hide-sidebar",
"signon.rememberSignons": false,
"storage.vacuum.last.content-prefs.sqlite": 1774422802,
"storage.vacuum.last.index": 1,
"storage.vacuum.last.places.sqlite": 1774336005,
"toolkit.profiles.storeID": "ec86175a",
"toolkit.startup.last_success": 1774422449,
"toolkit.telemetry.cachedClientID": "db6ff3c4-7baf-4ea9-a890-4ec58a05ef11",
"toolkit.telemetry.cachedProfileGroupID": "2eb8d1d6-3833-4429-8f8e-c258ae9308e4",
"toolkit.telemetry.reportingpolicy.firstRun": false,
"zen.ui.migration.compact-mode-button-added": true,
"zen.ui.migration.version": 6,
"zen.updates.last-build-id": "20260315063056",
"zen.updates.last-version": "1.19.3b",
"zen.urlbar.behavior": "normal",
"zen.urlbar.suggestions-learner": "{\"Browser:Screenshot\":-3,\"cmd_close\":-1,\"Browser:ReloadSkipCache\":-3,\"zen:extension-{446900e4-71c2-419f-a6a7-df9c091e268b}\":-1,\"Tools:Addons\":-1,\"cmd_zenNewEmptySplit\":-3,\"Tools:PrivateBrowsing\":-1,\"cmd_find\":-1,\"Browser:Reload\":-1,\"Browser:NextTab\":-1,\"cmd_zenNewNavigatorUnsynced\":-1}",
"zen.view.compact.enable-at-startup": true,
@@ -225,5 +135,6 @@
"zen.workspaces.continue-where-left-off": true,
"zen.workspaces.hide-default-container-indicator": false,
"zen.workspaces.separate-essentials": false,
"zen.updates.show-update-notification": false,
"toolkit.legacyUserProfileCustomizations.stylesheets": true
}

View File

@@ -0,0 +1,26 @@
{ inputs, pkgs, ... }:
{
environment.plasma6.excludePackages = with pkgs.kdePackages; [
elisa
kate
okular
];
home-manager.sharedModules = [
inputs.plasma-manager.homeModules.plasma-manager
./home
];
services.desktopManager.plasma6.enable = true;
programs.kde-pim = {
enable = true;
kmail = true;
# kontact = true;
merkuro = true;
};
# environment.systemPackages = with pkgs.kdePackages; [
# korganizer
# ];
}

View File

@@ -0,0 +1,6 @@
{
# programs.plasma = {
# enable = true;
# immutableByDefault = true;
# };
}

View File

@@ -1,4 +1,11 @@
{
services.tailscale = {
enable = true;
disableUpstreamLogging = true;
disableTaildrop = true;
extraSetFlags = [
"--accept-dns=false"
"--ssh=false"
];
};
}

View File

@@ -1,10 +1,17 @@
{ config, ... }:
let
hasGui = config.services.dbus.implementation == "dbus";
in
{
imports = [
./direnv.nix
./java.nix
./packages.nix
./virt-manager.nix
];
programs.wireshark.enable = hasGui;
home-manager.sharedModules = [
./home
];

View File

@@ -28,9 +28,18 @@ in
skellock.just
docker.docker
redhat.vscode-yaml
bradlc.vscode-tailwindcss
dbaeumer.vscode-eslint
mesonbuild.mesonbuild
ms-vscode.cmake-tools
ms-dotnettools.csharp
ms-dotnettools.csdevkit
ms-dotnettools.vscode-dotnet-runtime
];
userSettings = {
"chat.agent.enabled" = false;
"github.copilot.enable" = {};
"editor.inlineSuggest.suppressSuggestions" = true;
};
};
};

View File

@@ -0,0 +1,50 @@
{ config, lib, pkgs, ... }:
let
hasGui = config.services.dbus.implementation == "dbus";
openjfx_jdk = pkgs.openjfx.override {
withWebKit = true;
};
in
{
config = lib.mkIf hasGui
{
programs.java = {
enable = true;
package = pkgs.jdk21.override {
enableJavaFX = true;
inherit openjfx_jdk;
};
};
environment.systemPackages = with pkgs; [
gradle
netbeans
dejavu_fonts
];
programs.nix-ld = {
enable = true;
libraries = (with pkgs; [
libxrender
libxi
libxcursor
libxtst
alsa-lib
libjack2
libpulseaudio
pipewire
## glfw
libGL
libx11
libxcursor
libxext
libxrandr
libxxf86vm
freetype
libxft
]);
};
};
}

View File

@@ -1,5 +1,26 @@
{ pkgs, ... }:
{ config, pkgs, ... }:
let
hasGui = config.services.dbus.implementation == "dbus";
dotnet-combined = (with pkgs.dotnetCorePackages; combinePackages [
sdk_8_0
sdk_10_0
]).overrideAttrs (finalAttrs: previousAttrs: {
# This is needed to install workload in $HOME
# https://discourse.nixos.org/t/dotnet-maui-workload/20370/2
postBuild = (previousAttrs.postBuild or '''') + ''
for i in $out/sdk/*
do
i=$(basename $i)
mkdir -p $out/metadata/workloads/''${i/-*}
touch $out/metadata/workloads/''${i/-*}/userlocal
done
'';
});
in
{
environment.sessionVariables.DOTNET_ROOT = "${dotnet-combined}";
environment.systemPackages = with pkgs; [
# Languages
nodejs
@@ -7,5 +28,13 @@
go
just
nodejs
];
gcc
# Distrobox
distrobox
distrobox-tui
] ++ (if hasGui then with pkgs; [
wireshark
kontainer
] else []);
}

View File

@@ -14,7 +14,10 @@
qpwgraph
qsstv
handbrake
wineWow64Packages.waylandFull
wineWow64Packages.base
# wineWow64Packages.waylandFull
winetricks
];
services.flatpak.enable = true;
}

View File

@@ -44,7 +44,7 @@
temurin-jre-bin-11
temurin-jre-bin-17
temurin-jre-bin
# temurin-jre-bin-25
temurin-jre-bin-25
];
})
];

View File

@@ -13,4 +13,9 @@
system.nixos.variantName = lib.mkDefault "Server";
system.nixos.variant_id = lib.mkDefault "server";
services.openssh.enable = true;
boot.initrd.network.ssh = {
enable = true;
port = 21;
};
}

View File

@@ -0,0 +1,135 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
../../modules/base
../../modules/desktop
../../modules/desktop/plasma
../../modules/development
../../modules/gaming
../../modules/school
../../modules/server
../../modules/vibes
./hardware-configuration.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
networking.hostName = "ghostfox"; # Define your hostname.
# Configure network connections interactively with nmcli or nmtui.
networking.networkmanager.enable = true;
# Set your time zone.
# time.timeZone = "Europe/Amsterdam";
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Select internationalisation properties.
# i18n.defaultLocale = "en_US.UTF-8";
# console = {
# font = "Lat2-Terminus16";
# keyMap = "us";
# useXkbConfig = true; # use xkb.options in tty.
# };
# Enable the X11 windowing system.
# services.xserver.enable = true;
# Configure keymap in X11
# services.xserver.xkb.layout = "us";
# services.xserver.xkb.options = "eurosign:e,caps:escape";
# Enable CUPS to print documents.
# services.printing.enable = true;
# Enable sound.
# services.pulseaudio.enable = true;
# OR
services.pipewire = {
enable = true;
pulse.enable = true;
};
# Enable touchpad support (enabled default in most desktopManager).
services.libinput.enable = true;
services.displayManager.plasma-login-manager.enable = true;
services.desktopManager.plasma6.enable = true;
# Define a user account. Don't forget to set a password with passwd.
# users.users.alice = {
# isNormalUser = true;
# extraGroups = [ "wheel" ]; # Enable sudo for the user.
# packages = with pkgs; [
# tree
# ];
# };
# programs.firefox.enable = true;
# List packages installed in system profile.
# You can use https://search.nixos.org/ to find more packages (and options).
# environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
# ];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = 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;
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.
# system.copySystemConfiguration = true;
# This option defines the first version of NixOS you have installed on this particular machine,
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
#
# Most users should NEVER change this value after the initial install, for any reason,
# even if you've upgraded your system to a new NixOS release.
#
# This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
# so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how
# to actually do that.
#
# This value being lower than the current NixOS release does NOT mean your system is
# out of date, out of support, or vulnerable.
#
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
# and migrated your data accordingly.
#
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
system.stateVersion = "25.11"; # Did you read the comment?
}

View File

@@ -0,0 +1,43 @@
# 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" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/F21D-6248";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/3718ddd1-cabd-47be-b149-40cb4fdf8c71";
fsType = "btrfs";
};
fileSystems."/disks/hdd2" =
{ device = "/dev/disk/by-uuid/9dba8b80-ca3a-4e02-bd3c-2192c830eaee";
fsType = "btrfs";
};
fileSystems."/disks/hdd1" =
{ device = "/dev/disk/by-uuid/7c14277d-e456-4f58-81db-30eb3101fd33";
fsType = "btrfs";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/e62b45be-b5ed-458a-bede-2ec95f22d630"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -0,0 +1,135 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
../../modules/base
../../modules/desktop
../../modules/desktop/plasma
../../modules/development
../../modules/gaming
../../modules/school
../../modules/server
../../modules/vibes
./hardware-configuration.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
networking.hostName = "mocha"; # Define your hostname.
# Configure network connections interactively with nmcli or nmtui.
networking.networkmanager.enable = true;
# Set your time zone.
# time.timeZone = "Europe/Amsterdam";
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Select internationalisation properties.
# i18n.defaultLocale = "en_US.UTF-8";
# console = {
# font = "Lat2-Terminus16";
# keyMap = "us";
# useXkbConfig = true; # use xkb.options in tty.
# };
# Enable the X11 windowing system.
# services.xserver.enable = true;
# Configure keymap in X11
# services.xserver.xkb.layout = "us";
# services.xserver.xkb.options = "eurosign:e,caps:escape";
# Enable CUPS to print documents.
# services.printing.enable = true;
# Enable sound.
# services.pulseaudio.enable = true;
# OR
services.pipewire = {
enable = true;
pulse.enable = true;
};
# Enable touchpad support (enabled default in most desktopManager).
services.libinput.enable = true;
services.displayManager.plasma-login-manager.enable = true;
services.desktopManager.plasma6.enable = true;
# Define a user account. Don't forget to set a password with passwd.
# users.users.alice = {
# isNormalUser = true;
# extraGroups = [ "wheel" ]; # Enable sudo for the user.
# packages = with pkgs; [
# tree
# ];
# };
# programs.firefox.enable = true;
# List packages installed in system profile.
# You can use https://search.nixos.org/ to find more packages (and options).
# environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
# ];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = 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;
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.
# system.copySystemConfiguration = true;
# This option defines the first version of NixOS you have installed on this particular machine,
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
#
# Most users should NEVER change this value after the initial install, for any reason,
# even if you've upgraded your system to a new NixOS release.
#
# This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
# so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how
# to actually do that.
#
# This value being lower than the current NixOS release does NOT mean your system is
# out of date, out of support, or vulnerable.
#
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
# and migrated your data accordingly.
#
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
system.stateVersion = "25.11"; # Did you read the comment?
}

View File

@@ -0,0 +1,33 @@
# 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" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/55a87756-4f4e-4f7b-86d1-9020bb2f6b15";
fsType = "btrfs";
};
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/5849-E78F";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/ab78a072-6c11-4071-b5ac-5509765f068e"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -70,16 +70,16 @@
services.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.dark = {
isNormalUser = true;
extraGroups = [
"wheel"
"networkmanager"
"video"
]; # Enable sudo for the user.
packages = with pkgs; [
];
};
#users.users.dark = {
# isNormalUser = true;
# extraGroups = [
# "wheel"
# "networkmanager"
# "video"
# ]; # Enable sudo for the user.
# packages = with pkgs; [
# ];
#};
services.displayManager.plasma-login-manager.enable = true;
services.desktopManager.plasma6.enable = true;