summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/wallpapers/NGE_CF.jpgbin0 -> 438574 bytes
-rw-r--r--assets/wallpapers/NGE_NERV.jpgbin0 -> 755313 bytes
-rw-r--r--assets/wallpapers/NGE_RAMIEL.jpgbin0 -> 223529 bytes
-rwxr-xr-xassets/wallpapers/README.md71
-rw-r--r--assets/wallpapers/chernobyl-wallpaper.jpgbin0 -> 412276 bytes
-rw-r--r--assets/wallpapers/dalnim-and-ryu-young.jpgbin0 -> 84834 bytes
-rw-r--r--assets/wallpapers/insert_coin.jpegbin0 -> 1724616 bytes
-rwxr-xr-xassets/wallpapers/may2025/2CB.pngbin0 -> 10736232 bytes
-rwxr-xr-xassets/wallpapers/may2025/ALCHEMY-dark.pngbin0 -> 18511577 bytes
-rwxr-xr-xassets/wallpapers/may2025/ALCHEMY-pink.pngbin0 -> 8163680 bytes
-rwxr-xr-xassets/wallpapers/may2025/AQUARIUM.pngbin0 -> 20794740 bytes
-rwxr-xr-xassets/wallpapers/may2025/ARCHPOOL.pngbin0 -> 7602528 bytes
-rwxr-xr-xassets/wallpapers/may2025/HEART_NEBULA.pngbin0 -> 5123887 bytes
-rwxr-xr-xassets/wallpapers/may2025/HIRAETH.pngbin0 -> 7585076 bytes
-rwxr-xr-xassets/wallpapers/may2025/STRAY_KITTY_CLUB-beige.pngbin0 -> 13253428 bytes
-rwxr-xr-xassets/wallpapers/may2025/STRAY_KITTY_CLUB-mint.pngbin0 -> 20036146 bytes
-rwxr-xr-xassets/wallpapers/may2025/STRAY_KITTY_CLUB-pink.pngbin0 -> 19990829 bytes
-rwxr-xr-xassets/wallpapers/may2025/STRAY_KITTY_CLUB-teal.pngbin0 -> 20065451 bytes
-rwxr-xr-xassets/wallpapers/may2025/SYSTEMA.pngbin0 -> 22000318 bytes
-rwxr-xr-xassets/wallpapers/may2025/colorshift.pngbin0 -> 21021850 bytes
-rw-r--r--assets/wallpapers/vox.jpgbin0 -> 184586 bytes
-rw-r--r--assets/wallpapers/wave-minimal.pngbin0 -> 352335 bytes
-rwxr-xr-xassets/wallpapers/xenia.jpgbin0 -> 370787 bytes
-rwxr-xr-xflake.lock63
-rw-r--r--flake.nix4
-rw-r--r--modules/features/browser.nix167
-rw-r--r--modules/features/ngeNoctalia.json686
-rw-r--r--modules/features/niri.nix15
-rw-r--r--modules/features/noctalia.nix9
-rw-r--r--modules/hosts/herra/configuration.nix21
-rw-r--r--modules/hosts/herra/default.nix11
-rw-r--r--modules/hosts/herra/hardware.nix54
-rw-r--r--modules/system/keyboard.nix12
-rw-r--r--modules/system/keys.nix2
-rw-r--r--modules/system/system.nix1
35 files changed, 1082 insertions, 34 deletions
diff --git a/assets/wallpapers/NGE_CF.jpg b/assets/wallpapers/NGE_CF.jpg
new file mode 100644
index 0000000..39384cb
--- /dev/null
+++ b/assets/wallpapers/NGE_CF.jpg
Binary files differ
diff --git a/assets/wallpapers/NGE_NERV.jpg b/assets/wallpapers/NGE_NERV.jpg
new file mode 100644
index 0000000..60cfeef
--- /dev/null
+++ b/assets/wallpapers/NGE_NERV.jpg
Binary files differ
diff --git a/assets/wallpapers/NGE_RAMIEL.jpg b/assets/wallpapers/NGE_RAMIEL.jpg
new file mode 100644
index 0000000..94dae46
--- /dev/null
+++ b/assets/wallpapers/NGE_RAMIEL.jpg
Binary files differ
diff --git a/assets/wallpapers/README.md b/assets/wallpapers/README.md
new file mode 100755
index 0000000..43ca7fe
--- /dev/null
+++ b/assets/wallpapers/README.md
@@ -0,0 +1,71 @@
+<div align="center">
+
+# 【 diinki's wallpapers 】
+
+</div>
+
+<div align="center">
+
+<a href="https://discord.gg/gleep">![badge](https://img.shields.io/badge/discord-262622?style=for-the-badge&logo=discord&logoColor=262622&logoSize=auto&color=e2e2d3) </a>
+<a href="https://ko-fi.com/diinki">![badge](https://img.shields.io/badge/tip-262622?style=for-the-badge&logo=kofi&logoColor=262622&logoSize=auto&color=e2e2d3) </a>
+<a href="https://youtube.com/@diinkikot">![badge](https://img.shields.io/badge/youtube_channel-262622?style=for-the-badge&logo=youtube&logoColor=262622&logoSize=auto&color=e2e2d3) </a>
+
+These are the wallpapers that I've made & published, in case any of you want to use them!
+
+The date is by upload and not by date of creation.
+
+</div>
+
+---
+
+<h3 align="center"> Secret Kitty Club ↓</h3>
+
+[![SKC_pink](may2025/STRAY_KITTY_CLUB-pink.png)](may2025/STRAY_KITTY_CLUB-pink.png)
+
+<details open>
+<summary>SECRET KITTY CLUB - ALTERNATE COLORS </summary>
+<br>
+
+[![SKC_pink](may2025/STRAY_KITTY_CLUB-teal.png)](may2025/STRAY_KITTY_CLUB-teal.png)
+
+[![SKC_mint](may2025/STRAY_KITTY_CLUB-mint.png)](may2025/STRAY_KITTY_CLUB-mint.png)
+
+[![SKC_beige](may2025/STRAY_KITTY_CLUB-beige.png)](may2025/STRAY_KITTY_CLUB-beige.png)
+
+</details>
+
+<h3 align="center"> 2CB ↓</h3>
+
+[![2cb](may2025/2CB.png)](may2025/2CB.png)
+
+<h3 align="center"> ALCHEMY ↓</h3>
+
+[![alchemy_dark](may2025/ALCHEMY-dark.png)](may2025/ALCHEMY-dark.png)
+
+<details open>
+<summary>ALCHEMY - ALTERNATE COLORS </summary>
+
+[![alchemy_pink](may2025/ALCHEMY-pink.png)](may2025/ALCHEMY-pink.png)
+
+<br>
+</details>
+
+<h3 align="center"> colorshift ↓</h3>
+
+[![colorshift](may2025/colorshift.png)](may2025/colorshift.png)
+
+<h3 align="center"> SYSTEMA ↓</h3>
+
+[![systema](may2025/SYSTEMA.png)](may2025/SYSTEMA.png)
+
+<h3 align="center"> AQUARIUM ↓</h3>
+
+[![aquarium](may2025/AQUARIUM.png)](may2025/AQUARIUM.png)
+
+<h3 align="center"> ARCHPOOL ↓</h3>
+
+[![archpool](may2025/ARCHPOOL.png)](may2025/ARCHPOOL.png)
+
+<h3 align="center"> HIRAETH ↓</h3>
+
+[![hiraeth](may2025/HIRAETH.png)](may2025/HIRAETH.png)
diff --git a/assets/wallpapers/chernobyl-wallpaper.jpg b/assets/wallpapers/chernobyl-wallpaper.jpg
new file mode 100644
index 0000000..a00bf64
--- /dev/null
+++ b/assets/wallpapers/chernobyl-wallpaper.jpg
Binary files differ
diff --git a/assets/wallpapers/dalnim-and-ryu-young.jpg b/assets/wallpapers/dalnim-and-ryu-young.jpg
new file mode 100644
index 0000000..e84a5ab
--- /dev/null
+++ b/assets/wallpapers/dalnim-and-ryu-young.jpg
Binary files differ
diff --git a/assets/wallpapers/insert_coin.jpeg b/assets/wallpapers/insert_coin.jpeg
new file mode 100644
index 0000000..d311bb2
--- /dev/null
+++ b/assets/wallpapers/insert_coin.jpeg
Binary files differ
diff --git a/assets/wallpapers/may2025/2CB.png b/assets/wallpapers/may2025/2CB.png
new file mode 100755
index 0000000..3719d6a
--- /dev/null
+++ b/assets/wallpapers/may2025/2CB.png
Binary files differ
diff --git a/assets/wallpapers/may2025/ALCHEMY-dark.png b/assets/wallpapers/may2025/ALCHEMY-dark.png
new file mode 100755
index 0000000..cba3faa
--- /dev/null
+++ b/assets/wallpapers/may2025/ALCHEMY-dark.png
Binary files differ
diff --git a/assets/wallpapers/may2025/ALCHEMY-pink.png b/assets/wallpapers/may2025/ALCHEMY-pink.png
new file mode 100755
index 0000000..7a30e60
--- /dev/null
+++ b/assets/wallpapers/may2025/ALCHEMY-pink.png
Binary files differ
diff --git a/assets/wallpapers/may2025/AQUARIUM.png b/assets/wallpapers/may2025/AQUARIUM.png
new file mode 100755
index 0000000..46a7113
--- /dev/null
+++ b/assets/wallpapers/may2025/AQUARIUM.png
Binary files differ
diff --git a/assets/wallpapers/may2025/ARCHPOOL.png b/assets/wallpapers/may2025/ARCHPOOL.png
new file mode 100755
index 0000000..0833853
--- /dev/null
+++ b/assets/wallpapers/may2025/ARCHPOOL.png
Binary files differ
diff --git a/assets/wallpapers/may2025/HEART_NEBULA.png b/assets/wallpapers/may2025/HEART_NEBULA.png
new file mode 100755
index 0000000..1336cfe
--- /dev/null
+++ b/assets/wallpapers/may2025/HEART_NEBULA.png
Binary files differ
diff --git a/assets/wallpapers/may2025/HIRAETH.png b/assets/wallpapers/may2025/HIRAETH.png
new file mode 100755
index 0000000..ecce047
--- /dev/null
+++ b/assets/wallpapers/may2025/HIRAETH.png
Binary files differ
diff --git a/assets/wallpapers/may2025/STRAY_KITTY_CLUB-beige.png b/assets/wallpapers/may2025/STRAY_KITTY_CLUB-beige.png
new file mode 100755
index 0000000..6128e7c
--- /dev/null
+++ b/assets/wallpapers/may2025/STRAY_KITTY_CLUB-beige.png
Binary files differ
diff --git a/assets/wallpapers/may2025/STRAY_KITTY_CLUB-mint.png b/assets/wallpapers/may2025/STRAY_KITTY_CLUB-mint.png
new file mode 100755
index 0000000..cdf3035
--- /dev/null
+++ b/assets/wallpapers/may2025/STRAY_KITTY_CLUB-mint.png
Binary files differ
diff --git a/assets/wallpapers/may2025/STRAY_KITTY_CLUB-pink.png b/assets/wallpapers/may2025/STRAY_KITTY_CLUB-pink.png
new file mode 100755
index 0000000..f1a0670
--- /dev/null
+++ b/assets/wallpapers/may2025/STRAY_KITTY_CLUB-pink.png
Binary files differ
diff --git a/assets/wallpapers/may2025/STRAY_KITTY_CLUB-teal.png b/assets/wallpapers/may2025/STRAY_KITTY_CLUB-teal.png
new file mode 100755
index 0000000..1430c2d
--- /dev/null
+++ b/assets/wallpapers/may2025/STRAY_KITTY_CLUB-teal.png
Binary files differ
diff --git a/assets/wallpapers/may2025/SYSTEMA.png b/assets/wallpapers/may2025/SYSTEMA.png
new file mode 100755
index 0000000..49ad14d
--- /dev/null
+++ b/assets/wallpapers/may2025/SYSTEMA.png
Binary files differ
diff --git a/assets/wallpapers/may2025/colorshift.png b/assets/wallpapers/may2025/colorshift.png
new file mode 100755
index 0000000..8418a63
--- /dev/null
+++ b/assets/wallpapers/may2025/colorshift.png
Binary files differ
diff --git a/assets/wallpapers/vox.jpg b/assets/wallpapers/vox.jpg
new file mode 100644
index 0000000..4ea96d9
--- /dev/null
+++ b/assets/wallpapers/vox.jpg
Binary files differ
diff --git a/assets/wallpapers/wave-minimal.png b/assets/wallpapers/wave-minimal.png
new file mode 100644
index 0000000..5d322d4
--- /dev/null
+++ b/assets/wallpapers/wave-minimal.png
Binary files differ
diff --git a/assets/wallpapers/xenia.jpg b/assets/wallpapers/xenia.jpg
new file mode 100755
index 0000000..4f25d69
--- /dev/null
+++ b/assets/wallpapers/xenia.jpg
Binary files differ
diff --git a/flake.lock b/flake.lock
index b7e4404..36bceae 100755
--- a/flake.lock
+++ b/flake.lock
@@ -38,11 +38,11 @@
"base16-helix": {
"flake": false,
"locked": {
- "lastModified": 1760703920,
- "narHash": "sha256-m82fGUYns4uHd+ZTdoLX2vlHikzwzdu2s2rYM2bNwzw=",
+ "lastModified": 1776754714,
+ "narHash": "sha256-E3OAK27smtATTmX45uoTSRsVD+Y+ZiVVfgM/tjpbtYg=",
"owner": "tinted-theming",
"repo": "base16-helix",
- "rev": "d646af9b7d14bff08824538164af99d0c521b185",
+ "rev": "4d508123037e7851ad36ebf7d9c48b0e9e1eb581",
"type": "github"
},
"original": {
@@ -71,11 +71,11 @@
"firefox-gnome-theme": {
"flake": false,
"locked": {
- "lastModified": 1764873433,
- "narHash": "sha256-1XPewtGMi+9wN9Ispoluxunw/RwozuTRVuuQOmxzt+A=",
+ "lastModified": 1779670703,
+ "narHash": "sha256-UdfMivNMwCCqQsYDg5pSz8X2IOaOrIZLIIy+Bg3CO2o=",
"owner": "rafaelmardojai",
"repo": "firefox-gnome-theme",
- "rev": "f7ffd917ac0d253dbd6a3bf3da06888f57c69f92",
+ "rev": "942159e73e40bf785816f7f1f5feed9ef3d7c8f9",
"type": "github"
},
"original": {
@@ -110,11 +110,11 @@
]
},
"locked": {
- "lastModified": 1767609335,
- "narHash": "sha256-feveD98mQpptwrAEggBQKJTYbvwwglSbOv53uCfH9PY=",
+ "lastModified": 1778716662,
+ "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
"owner": "hercules-ci",
"repo": "flake-parts",
- "rev": "250481aafeb741edfe23d29195671c19b36b6dca",
+ "rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
"type": "github"
},
"original": {
@@ -156,6 +156,26 @@
"type": "github"
}
},
+ "home-manager": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1781989573,
+ "narHash": "sha256-npfH7Zv7t1akX/ArqCNro4zU4ViPlghLaPnbEfHbCxk=",
+ "owner": "nix-community",
+ "repo": "home-manager",
+ "rev": "78e7d8b13ecd7f5256a5c11ce216876164099d9f",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "home-manager",
+ "type": "github"
+ }
+ },
"import-tree": {
"locked": {
"lastModified": 1778781969,
@@ -250,11 +270,11 @@
]
},
"locked": {
- "lastModified": 1767886815,
- "narHash": "sha256-pB2BBv6X9cVGydEV/9Y8+uGCvuYJAlsprs1v1QHjccA=",
+ "lastModified": 1780281641,
+ "narHash": "sha256-M/+hUKoKbHXpV0xGVfELbN1Ds1aoe3pL5p5/t46YhVo=",
"owner": "nix-community",
"repo": "NUR",
- "rev": "4ff84374d77ff62e2e13a46c33bfeb73590f9fef",
+ "rev": "30f9ae2f04174de63ba8bcf3580ca90843b28a01",
"type": "github"
},
"original": {
@@ -266,6 +286,7 @@
"root": {
"inputs": {
"flake-parts": "flake-parts",
+ "home-manager": "home-manager",
"import-tree": "import-tree",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
@@ -340,11 +361,11 @@
"tinted-schemes": {
"flake": false,
"locked": {
- "lastModified": 1767817087,
- "narHash": "sha256-eGE8OYoK6HzhJt/7bOiNV2cx01IdIrHL7gXgjkHRdNo=",
+ "lastModified": 1777806186,
+ "narHash": "sha256-PDF0/wObw4nIsSBeXVYLsloXOiphXCgIdsrNcVXguKs=",
"owner": "tinted-theming",
"repo": "schemes",
- "rev": "bd99656235aab343e3d597bf196df9bc67429507",
+ "rev": "0c94645546f4f3ddac77a1a5fce54eb95bf50795",
"type": "github"
},
"original": {
@@ -356,11 +377,11 @@
"tinted-tmux": {
"flake": false,
"locked": {
- "lastModified": 1767489635,
- "narHash": "sha256-e6nnFnWXKBCJjCv4QG4bbcouJ6y3yeT70V9MofL32lU=",
+ "lastModified": 1778379944,
+ "narHash": "sha256-wPDFzMGSlARlw0Sfsn48Q2+jPSfk6N0Ng6BC/d+7Q24=",
"owner": "tinted-theming",
"repo": "tinted-tmux",
- "rev": "3c32729ccae99be44fe8a125d20be06f8d7d8184",
+ "rev": "fe0203a198690e71a5ff11e08812a4673de3678d",
"type": "github"
},
"original": {
@@ -372,11 +393,11 @@
"tinted-zed": {
"flake": false,
"locked": {
- "lastModified": 1767488740,
- "narHash": "sha256-wVOj0qyil8m+ouSsVZcNjl5ZR+1GdOOAooAatQXHbuU=",
+ "lastModified": 1778378178,
+ "narHash": "sha256-OXPXRIQgGwV77HjYRryOHguh4ALX96jkg+tseLkGgHA=",
"owner": "tinted-theming",
"repo": "base16-zed",
- "rev": "11abb0b282ad3786a2aae088d3a01c60916f2e40",
+ "rev": "9cd816033ff969415b190722cddf134e78a5665f",
"type": "github"
},
"original": {
diff --git a/flake.nix b/flake.nix
index efda00c..358c80b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,6 +1,10 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
+ home-manager = {
+ url = "github:nix-community/home-manager";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
flake-parts.url = "github:hercules-ci/flake-parts";
import-tree.url = "github:vic/import-tree";
diff --git a/modules/features/browser.nix b/modules/features/browser.nix
new file mode 100644
index 0000000..e24f252
--- /dev/null
+++ b/modules/features/browser.nix
@@ -0,0 +1,167 @@
+{inputs, ...}: let
+ extensions = {
+ core = [
+ "ublock-origin"
+ "privacybadger"
+ "cleanurls"
+ "sidebery"
+ ];
+ security = [
+ "bitwarden-password-manager"
+ ];
+ qol = [
+ "dark-reader"
+ "stylus"
+ ];
+ youtube = [
+ "sponsorblock"
+ "return-youtube-dislikes"
+ ];
+ };
+
+ mkExt = names:
+ map (
+ name: "https://addons.mozilla.org/firefox/downloads/latest/${name}/latest.xpi"
+ )
+ names;
+in {
+ # -----------------------------
+ # NIXOS MODULE
+ # -----------------------------
+ flake.nixosModules.browser = {
+ lib,
+ pkgs,
+ self,
+ ...
+ }: {
+ home-manager.users.mun = {
+ programs.librewolf = {
+ enable = true;
+ package = inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.librewolf-sandboxed;
+
+ languagePacks = ["en-GB" "cs" "sk" "de"];
+
+ policies = {
+ DisableTelemetry = true;
+ DisableFirefoxStudies = true;
+ DisablePocket = true;
+ DisableFeedbackCommands = true;
+
+ DefaultDownloadDirectory = "\${home}/Downloads";
+
+ # -----------------------------
+ # EXTENSIONS
+ # -----------------------------
+ Extensions.Install = mkExt (extensions.core ++ extensions.security ++ extensions.youtube);
+
+ Extensions.Uninstall = [
+ "google@search.mozilla.org"
+ "bing@search.mozilla.org"
+ "ddg@search.mozilla.org"
+ ];
+ };
+
+ profiles = {
+ # -------------------------
+ # 1. DAILY PROFILE (mun)
+ # -------------------------
+ mun = {
+ isDefault = true;
+
+ search = {
+ force = true;
+ default = "duckduckbleh";
+
+ engines = {
+ "duckduckbleh" = {
+ urls = [
+ {
+ template = "https://noai.duckduckgo.com/";
+ params = [
+ {
+ name = "q";
+ value = "{searchTerms}";
+ }
+ ];
+ }
+ ];
+ definedAliases = ["duck" "d"];
+ };
+ };
+ };
+
+ settings = {
+ "signon.rememberSignons" = false;
+ "browser.startup.homepage" = "about:blank";
+ };
+ };
+
+ # -------------------------
+ # 2. WORK PROFILE
+ # -------------------------
+ work = {
+ isDefault = false;
+
+ settings = {
+ # more permissive (auth sites break otherwise)
+ "signon.rememberSignons" = true;
+ "network.cookie.lifetimePolicy" = 0;
+ };
+ };
+
+ # -------------------------
+ # 3. SCHOOL PROFILE
+ # -------------------------
+ school = {
+ isDefault = false;
+
+ settings = {
+ "signon.rememberSignons" = true;
+ "privacy.clearOnShutdown.cookies" = false;
+ };
+ };
+
+ # -------------------------
+ # 4. OPSEC PROFILE (STRICT)
+ # -------------------------
+ opsec = {
+ isDefault = false;
+
+ settings = {
+ "signon.rememberSignons" = false;
+ "network.cookie.lifetimePolicy" = 2;
+
+ "privacy.clearOnShutdown.cookies" = true;
+ "privacy.clearOnShutdown.history" = true;
+ };
+ };
+ };
+
+ # GLOBAL BASELINE (applies to all profiles)
+ settings = {
+ "privacy.trackingprotection.enabled" = true;
+ "network.dns.disablePrefetch" = true;
+ "browser.send_pings" = false;
+ "dom.security.https_only_mode" = true;
+ "privacy.resistFingerprinting" = true;
+ };
+ };
+ };
+ };
+
+ perSystem = {pkgs, ...}: {
+ packages.librewolf-sandboxed = pkgs.writeShellScriptBin "librewolf" ''
+ exec ${pkgs.bubblewrap}/bin/bwrap \
+ --unshare-all \
+ --die-with-parent \
+ --proc /proc \
+ --dev /dev \
+ --tmpfs /tmp \
+ --ro-bind /nix/store /nix/store \
+ --dir $HOME \
+ --setenv HOME $HOME \
+ --setenv MOZ_ENABLE_WAYLAND 1 \
+ ${pkgs.librewolf}/bin/librewolf "$@"
+ '';
+ };
+}
diff --git a/modules/features/ngeNoctalia.json b/modules/features/ngeNoctalia.json
new file mode 100644
index 0000000..9dfea92
--- /dev/null
+++ b/modules/features/ngeNoctalia.json
@@ -0,0 +1,686 @@
+{
+ "settingsVersion": 59,
+ "bar": {
+ "barType": "floating",
+ "position": "top",
+ "monitors": [],
+ "density": "default",
+ "showOutline": false,
+ "showCapsule": true,
+ "capsuleOpacity": 0.14,
+ "capsuleColorKey": "secondary",
+ "widgetSpacing": 10,
+ "contentPadding": 0,
+ "fontScale": 1,
+ "enableExclusionZoneInset": true,
+ "backgroundOpacity": 0.93,
+ "useSeparateOpacity": true,
+ "marginVertical": 7,
+ "marginHorizontal": 9,
+ "frameThickness": 8,
+ "frameRadius": 12,
+ "outerCorners": true,
+ "hideOnOverview": false,
+ "displayMode": "non_exclusive",
+ "autoHideDelay": 500,
+ "autoShowDelay": 150,
+ "showOnWorkspaceSwitch": true,
+ "widgets": {
+ "left": [
+ {
+ "compactMode": true,
+ "diskPath": "/",
+ "iconColor": "none",
+ "id": "SystemMonitor",
+ "showCpuCores": false,
+ "showCpuFreq": false,
+ "showCpuTemp": true,
+ "showCpuUsage": true,
+ "showDiskAvailable": false,
+ "showDiskUsage": false,
+ "showDiskUsageAsPercent": false,
+ "showGpuTemp": false,
+ "showLoadAverage": false,
+ "showMemoryAsPercent": false,
+ "showMemoryUsage": true,
+ "showNetworkStats": false,
+ "showSwapUsage": false,
+ "textColor": "none",
+ "useMonospaceFont": true,
+ "usePadding": false
+ },
+ {
+ "defaultSettings": {
+ "precision": 8,
+ "showBarValue": true
+ },
+ "id": "plugin:noctalia-calculator"
+ },
+ {
+ "compactMode": false,
+ "hideMode": "hidden",
+ "hideWhenIdle": false,
+ "id": "MediaMini",
+ "maxWidth": 145,
+ "panelShowAlbumArt": true,
+ "scrollingMode": "hover",
+ "showAlbumArt": true,
+ "showArtistFirst": true,
+ "showProgressRing": true,
+ "showVisualizer": false,
+ "textColor": "none",
+ "useFixedWidth": false,
+ "visualizerType": "linear"
+ },
+ {
+ "colorizeIcons": false,
+ "hideMode": "hidden",
+ "id": "ActiveWindow",
+ "maxWidth": 145,
+ "scrollingMode": "hover",
+ "showIcon": true,
+ "showText": true,
+ "textColor": "none",
+ "useFixedWidth": false
+ }
+ ],
+ "center": [
+ {
+ "clockColor": "none",
+ "customFont": "",
+ "formatHorizontal": "HH:mm ddd, MMM dd",
+ "formatVertical": "HH mm - dd MM",
+ "id": "Clock",
+ "tooltipFormat": "HH:mm ddd, MMM dd",
+ "useCustomFont": false
+ }
+ ],
+ "right": [
+ {
+ "displayMode": "onhover",
+ "iconColor": "none",
+ "id": "Volume",
+ "middleClickCommand": "pwvucontrol || pavucontrol",
+ "textColor": "none"
+ },
+ {
+ "displayMode": "onhover",
+ "iconColor": "none",
+ "id": "Microphone",
+ "middleClickCommand": "pwvucontrol || pavucontrol",
+ "textColor": "none"
+ },
+ {
+ "applyToAllMonitors": false,
+ "displayMode": "onhover",
+ "iconColor": "none",
+ "id": "Brightness",
+ "textColor": "none"
+ },
+ {
+ "hideWhenZero": false,
+ "hideWhenZeroUnread": false,
+ "iconColor": "none",
+ "id": "NotificationHistory",
+ "showUnreadBadge": true,
+ "unreadBadgeColor": "primary"
+ },
+ {
+ "characterCount": 2,
+ "colorizeIcons": false,
+ "emptyColor": "secondary",
+ "enableScrollWheel": true,
+ "focusedColor": "primary",
+ "followFocusedScreen": false,
+ "fontWeight": "bold",
+ "groupedBorderOpacity": 1,
+ "hideUnoccupied": false,
+ "iconScale": 0.8,
+ "id": "Workspace",
+ "labelMode": "index",
+ "occupiedColor": "secondary",
+ "pillSize": 0.6,
+ "showApplications": false,
+ "showApplicationsHover": false,
+ "showBadge": true,
+ "showLabelsOnlyWhenOccupied": true,
+ "unfocusedIconsOpacity": 1
+ },
+ {
+ "blacklist": [],
+ "chevronColor": "none",
+ "colorizeIcons": false,
+ "drawerEnabled": true,
+ "hidePassive": false,
+ "id": "Tray",
+ "pinned": []
+ },
+ {
+ "colorizeDistroLogo": false,
+ "colorizeSystemIcon": "none",
+ "colorizeSystemText": "none",
+ "customIconPath": "",
+ "enableColorization": false,
+ "icon": "noctalia",
+ "id": "ControlCenter",
+ "useDistroLogo": false
+ }
+ ]
+ },
+ "mouseWheelAction": "volume",
+ "reverseScroll": false,
+ "mouseWheelWrap": true,
+ "middleClickAction": "controlCenter",
+ "middleClickFollowMouse": false,
+ "middleClickCommand": "",
+ "rightClickAction": "launcherPanel",
+ "rightClickFollowMouse": true,
+ "rightClickCommand": "",
+ "screenOverrides": []
+ },
+ "general": {
+ "avatarImage": "/home/mun/Documents/4_Configuration/assets/wallpapers/xenia.jpg",
+ "dimmerOpacity": 0,
+ "showScreenCorners": false,
+ "forceBlackScreenCorners": false,
+ "scaleRatio": 0.9,
+ "radiusRatio": 1,
+ "iRadiusRatio": 1,
+ "boxRadiusRatio": 1,
+ "screenRadiusRatio": 1,
+ "animationSpeed": 1.5,
+ "animationDisabled": false,
+ "compactLockScreen": false,
+ "lockScreenAnimations": true,
+ "lockOnSuspend": true,
+ "showSessionButtonsOnLockScreen": true,
+ "showHibernateOnLockScreen": true,
+ "enableLockScreenMediaControls": false,
+ "enableShadows": false,
+ "enableBlurBehind": true,
+ "shadowDirection": "bottom_right",
+ "shadowOffsetX": 2,
+ "shadowOffsetY": 3,
+ "language": "en-GB",
+ "allowPanelsOnScreenWithoutBar": true,
+ "showChangelogOnStartup": true,
+ "telemetryEnabled": false,
+ "enableLockScreenCountdown": false,
+ "lockScreenCountdownDuration": 10000,
+ "autoStartAuth": false,
+ "allowPasswordWithFprintd": false,
+ "clockStyle": "digital",
+ "clockFormat": "hh\\nmm",
+ "passwordChars": true,
+ "lockScreenMonitors": [],
+ "lockScreenBlur": 0.9,
+ "lockScreenTint": 0.5,
+ "keybinds": {
+ "keyUp": [
+ "Up"
+ ],
+ "keyDown": [
+ "Down"
+ ],
+ "keyLeft": [
+ "Left"
+ ],
+ "keyRight": [
+ "Right"
+ ],
+ "keyEnter": [
+ "Return",
+ "Enter"
+ ],
+ "keyEscape": [
+ "Esc"
+ ],
+ "keyRemove": [
+ "Del"
+ ]
+ },
+ "reverseScroll": false,
+ "smoothScrollEnabled": true
+ },
+ "ui": {
+ "fontDefault": "Sans Serif",
+ "fontFixed": "monospace",
+ "fontDefaultScale": 1,
+ "fontFixedScale": 1,
+ "tooltipsEnabled": true,
+ "scrollbarAlwaysVisible": false,
+ "boxBorderEnabled": false,
+ "panelBackgroundOpacity": 0.93,
+ "translucentWidgets": false,
+ "panelsAttachedToBar": true,
+ "settingsPanelMode": "attached",
+ "settingsPanelSideBarCardStyle": false
+ },
+ "location": {
+ "name": "Prague",
+ "weatherEnabled": true,
+ "weatherShowEffects": true,
+ "weatherTaliaMascotAlways": false,
+ "useFahrenheit": false,
+ "use12hourFormat": false,
+ "showWeekNumberInCalendar": false,
+ "showCalendarEvents": true,
+ "showCalendarWeather": true,
+ "analogClockInCalendar": false,
+ "firstDayOfWeek": -1,
+ "hideWeatherTimezone": false,
+ "hideWeatherCityName": false,
+ "autoLocate": false
+ },
+ "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/mun/Documents/4_Configuration/assets/wallpapers",
+ "monitorDirectories": [],
+ "enableMultiMonitorDirectories": false,
+ "showHiddenFiles": false,
+ "viewMode": "recursive",
+ "setWallpaperOnAllMonitors": true,
+ "linkLightAndDarkWallpapers": true,
+ "fillMode": "crop",
+ "fillColor": "#002c4c",
+ "useSolidColor": false,
+ "solidColor": "#1a1a2e",
+ "automationEnabled": false,
+ "wallpaperChangeMode": "random",
+ "randomIntervalSec": 300,
+ "transitionDuration": 1500,
+ "transitionType": [
+ "fade",
+ "disc",
+ "stripes",
+ "wipe",
+ "pixelate",
+ "honeycomb"
+ ],
+ "skipStartupTransition": false,
+ "transitionEdgeSmoothness": 0.05,
+ "panelPosition": "follow_bar",
+ "hideWallpaperFilenames": true,
+ "useOriginalImages": false,
+ "overviewBlur": 0.4,
+ "overviewTint": 0.6,
+ "useWallhaven": false,
+ "wallhavenQuery": "",
+ "wallhavenSorting": "relevance",
+ "wallhavenOrder": "desc",
+ "wallhavenCategories": "111",
+ "wallhavenPurity": "100",
+ "wallhavenRatios": "",
+ "wallhavenApiKey": "",
+ "wallhavenResolutionMode": "atleast",
+ "wallhavenResolutionWidth": "",
+ "wallhavenResolutionHeight": "",
+ "sortOrder": "name",
+ "favorites": []
+ },
+ "appLauncher": {
+ "enableClipboardHistory": true,
+ "autoPasteClipboard": false,
+ "enableClipPreview": true,
+ "clipboardWrapText": true,
+ "enableClipboardSmartIcons": true,
+ "enableClipboardChips": true,
+ "clipboardWatchTextCommand": "wl-paste --type text --watch cliphist store",
+ "clipboardWatchImageCommand": "wl-paste --type image --watch cliphist store",
+ "position": "center",
+ "pinnedApps": [],
+ "sortByMostUsed": true,
+ "terminalCommand": "alacritty -e",
+ "customLaunchPrefixEnabled": false,
+ "customLaunchPrefix": "",
+ "viewMode": "list",
+ "showCategories": true,
+ "iconMode": "native",
+ "showIconBackground": false,
+ "enableSettingsSearch": true,
+ "enableWindowsSearch": true,
+ "enableSessionSearch": true,
+ "ignoreMouseInput": false,
+ "screenshotAnnotationTool": "",
+ "overviewLayer": false,
+ "density": "default"
+ },
+ "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": true,
+ "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,
+ "batteryWarningThreshold": 20,
+ "batteryCriticalThreshold": 5,
+ "enableDgpuMonitoring": true,
+ "useCustomColors": false,
+ "warningColor": "#a166cc",
+ "criticalColor": "#fd4663",
+ "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"
+ },
+ "noctaliaPerformance": {
+ "disableWallpaper": false,
+ "disableDesktopWidgets": false
+ },
+ "dock": {
+ "enabled": false,
+ "position": "bottom",
+ "displayMode": "auto_hide",
+ "dockType": "floating",
+ "backgroundOpacity": 1,
+ "floatingRatio": 1.3,
+ "size": 1,
+ "onlySameOutput": true,
+ "monitors": [
+ "DP-3"
+ ],
+ "pinnedApps": [],
+ "colorizeIcons": true,
+ "showLauncherIcon": false,
+ "launcherPosition": "end",
+ "launcherUseDistroLogo": false,
+ "launcherIcon": "",
+ "launcherIconColor": "none",
+ "pinnedStatic": false,
+ "inactiveIndicators": false,
+ "groupApps": false,
+ "groupContextMenuMode": "extended",
+ "groupClickAction": "cycle",
+ "groupIndicatorStyle": "dots",
+ "deadOpacity": 0.6,
+ "animationSpeed": 1,
+ "sitOnFrame": false,
+ "showDockIndicator": false,
+ "indicatorThickness": 3,
+ "indicatorColor": "primary",
+ "indicatorOpacity": 0.6
+ },
+ "network": {
+ "bluetoothRssiPollingEnabled": false,
+ "bluetoothRssiPollIntervalMs": 60000,
+ "networkPanelView": "ethernet",
+ "wifiDetailsViewMode": "grid",
+ "bluetoothDetailsViewMode": "grid",
+ "bluetoothHideUnnamedDevices": false,
+ "disableDiscoverability": false,
+ "bluetoothAutoConnect": true
+ },
+ "sessionMenu": {
+ "enableCountdown": true,
+ "countdownDuration": 10000,
+ "position": "center",
+ "showHeader": true,
+ "showKeybinds": true,
+ "largeButtonsStyle": true,
+ "largeButtonsLayout": "single-row",
+ "powerOptions": [
+ {
+ "action": "lock",
+ "command": "",
+ "countdownEnabled": true,
+ "enabled": true,
+ "keybind": "1"
+ },
+ {
+ "action": "suspend",
+ "command": "",
+ "countdownEnabled": true,
+ "enabled": true,
+ "keybind": "2"
+ },
+ {
+ "action": "hibernate",
+ "command": "",
+ "countdownEnabled": true,
+ "enabled": true,
+ "keybind": "3"
+ },
+ {
+ "action": "reboot",
+ "command": "",
+ "countdownEnabled": true,
+ "enabled": true,
+ "keybind": "4"
+ },
+ {
+ "action": "logout",
+ "command": "",
+ "countdownEnabled": true,
+ "enabled": true,
+ "keybind": "5"
+ },
+ {
+ "action": "shutdown",
+ "command": "",
+ "countdownEnabled": true,
+ "enabled": true,
+ "keybind": "6"
+ },
+ {
+ "action": "rebootToUefi",
+ "command": "",
+ "countdownEnabled": true,
+ "enabled": true,
+ "keybind": "7"
+ },
+ {
+ "action": "userspaceReboot",
+ "command": "",
+ "countdownEnabled": true,
+ "enabled": false,
+ "keybind": ""
+ }
+ ]
+ },
+ "notifications": {
+ "enabled": true,
+ "enableMarkdown": true,
+ "density": "default",
+ "monitors": [
+ "DP-4"
+ ],
+ "location": "top_right",
+ "overlayLayer": true,
+ "backgroundOpacity": 0.3,
+ "respectExpireTimeout": false,
+ "lowUrgencyDuration": 3,
+ "normalUrgencyDuration": 8,
+ "criticalUrgencyDuration": 15,
+ "clearDismissed": 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,
+ "enableKeyboardLayoutToast": true,
+ "enableBatteryToast": true
+ },
+ "osd": {
+ "enabled": true,
+ "location": "top_right",
+ "autoHideMs": 2000,
+ "overlayLayer": true,
+ "backgroundOpacity": 1,
+ "enabledTypes": [
+ 0,
+ 1,
+ 2
+ ],
+ "monitors": []
+ },
+ "audio": {
+ "volumeStep": 5,
+ "volumeOverdrive": true,
+ "spectrumFrameRate": 60,
+ "visualizerType": "linear",
+ "spectrumMirrored": true,
+ "mprisBlacklist": [],
+ "preferredPlayer": "spotify, firefox",
+ "volumeFeedback": false,
+ "volumeFeedbackSoundFile": ""
+ },
+ "brightness": {
+ "brightnessStep": 5,
+ "enforceMinimum": true,
+ "enableDdcSupport": false,
+ "backlightDeviceMappings": []
+ },
+ "colorSchemes": {
+ "useWallpaperColors": true,
+ "predefinedScheme": "Dracula",
+ "darkMode": true,
+ "schedulingMode": "off",
+ "manualSunrise": "06:30",
+ "manualSunset": "18:30",
+ "generationMethod": "faithful",
+ "monitorForColors": "",
+ "syncGsettings": true
+ },
+ "templates": {
+ "activeTemplates": [],
+ "enableUserTheming": false
+ },
+ "nightLight": {
+ "enabled": false,
+ "forced": false,
+ "autoSchedule": true,
+ "nightTemp": "4000",
+ "dayTemp": "6500",
+ "manualSunrise": "06:30",
+ "manualSunset": "18:30"
+ },
+ "hooks": {
+ "enabled": false,
+ "wallpaperChange": "",
+ "darkModeChange": "",
+ "screenLock": "",
+ "screenUnlock": "",
+ "performanceModeEnabled": "",
+ "performanceModeDisabled": "",
+ "startup": "",
+ "session": "",
+ "colorGeneration": ""
+ },
+ "plugins": {
+ "autoUpdate": true,
+ "notifyUpdates": true
+ },
+ "idle": {
+ "enabled": true,
+ "screenOffTimeout": 600,
+ "lockTimeout": 660,
+ "suspendTimeout": 1800,
+ "fadeDuration": 5,
+ "screenOffCommand": "",
+ "lockCommand": "",
+ "suspendCommand": "",
+ "resumeScreenOffCommand": "",
+ "resumeLockCommand": "",
+ "resumeSuspendCommand": "",
+ "customCommands": "[]"
+ },
+ "desktopWidgets": {
+ "enabled": false,
+ "overviewEnabled": true,
+ "gridSnap": false,
+ "gridSnapScale": false,
+ "monitorWidgets": []
+ }
+}
diff --git a/modules/features/niri.nix b/modules/features/niri.nix
index 312ba10..2aa9d38 100644
--- a/modules/features/niri.nix
+++ b/modules/features/niri.nix
@@ -3,14 +3,14 @@
inputs,
...
}: {
- flake.nixosModules.niri = {
+ flake.nixosModules.ngeNiri = {
pkgs,
lib,
...
}: {
programs.niri = {
enable = true;
- package = self.packages.${pkgs.stdenv.hostPlatform.system}.myNiri;
+ package = self.packages.${pkgs.stdenv.hostPlatform.system}.ngeNiri;
};
};
@@ -20,23 +20,22 @@
self',
...
}: {
- packages.myNiri = inputs.wrapper-modules.wrappers.niri.wrap {
+ packages.ngeNiri = inputs.wrapper-modules.wrappers.niri.wrap {
inherit pkgs;
settings = {
spawn-at-startup = [
- (lib.getExe self'.packages.myNoctalia)
+ (lib.getExe self'.packages.ngeNoctalia)
];
xwayland-satellite.path = lib.getExe pkgs.xwayland-satellite;
- input.keyboard.xkb.layout = "cz-qwertz";
-
layout.gaps = 5;
binds = {
"Mod+Return".spawn-sh = lib.getExe pkgs.alacritty;
- "Mod+Shift+Q".close-window = null;
- "Mod+S".spawn-sh = "${lib.getExe self'.packages.myNoctalia} ipc call launcher toggle";
+ "Mod+Shift+Q".close-window = {};
+ "Mod+D".spawn-sh = "${lib.getExe self'.packages.ngeNoctalia} ipc call launcher toggle";
+ "Mod+Shift+S".spawn-sh = "${lib.getExe pkgs.niri} msg action screenshot";
};
};
};
diff --git a/modules/features/noctalia.nix b/modules/features/noctalia.nix
index 7b4cd7d..8c3b146 100644
--- a/modules/features/noctalia.nix
+++ b/modules/features/noctalia.nix
@@ -4,11 +4,12 @@
...
}: {
perSystem = {pkgs, ...}: {
- packages.myNoctalia = inputs.wrapper-modules.wrappers.noctalia-shell.wrap {
+ packages.ngeNoctalia = inputs.wrapper-modules.wrappers.noctalia-shell.wrap {
inherit pkgs;
- settings =
- (builtins.fromJSON
- (builtins.readFile ./noctalia.json)).settings;
+
+ settings = builtins.fromJSON (
+ builtins.readFile ./ngeNoctalia.json
+ );
};
};
}
diff --git a/modules/hosts/herra/configuration.nix b/modules/hosts/herra/configuration.nix
new file mode 100644
index 0000000..a9b1912
--- /dev/null
+++ b/modules/hosts/herra/configuration.nix
@@ -0,0 +1,21 @@
+{
+ self,
+ inputs,
+ ...
+}: {
+ flake.nixosModules.herraConfiguration = {
+ pkgs,
+ lib,
+ ...
+ }: {
+ imports = [
+ self.nixosModules.herraHardware
+ inputs.home-manager.nixosModules.home-manager
+ self.nixosModules.system
+ self.nixosModules.ngeNiri # NeonGenesisEvangelion rice of niri
+ self.nixosModules.browser # Configured browser
+ ];
+
+ # ...
+ };
+}
diff --git a/modules/hosts/herra/default.nix b/modules/hosts/herra/default.nix
new file mode 100644
index 0000000..4e9c74e
--- /dev/null
+++ b/modules/hosts/herra/default.nix
@@ -0,0 +1,11 @@
+{
+ self,
+ inputs,
+ ...
+}: {
+ flake.nixosConfigurations.herra = inputs.nixpkgs.lib.nixosSystem {
+ modules = [
+ self.nixosModules.herraConfiguration
+ ];
+ };
+}
diff --git a/modules/hosts/herra/hardware.nix b/modules/hosts/herra/hardware.nix
new file mode 100644
index 0000000..2ec7efb
--- /dev/null
+++ b/modules/hosts/herra/hardware.nix
@@ -0,0 +1,54 @@
+{
+ self,
+ inputs,
+ ...
+}: {
+ flake.nixosModules.herraHardware = {
+ config,
+ lib,
+ pkgs,
+ modulesPath,
+ ...
+ }: {
+ # 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.
+
+ imports = [
+ (modulesPath + "/installer/scan/not-detected.nix")
+ ];
+
+ boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "thunderbolt" "usbhid" "usb_storage" "sd_mod"];
+ boot.initrd.kernelModules = [];
+ boot.kernelModules = ["kvm-intel"];
+ boot.extraModulePackages = [];
+
+ fileSystems."/" = {
+ device = "/dev/disk/by-uuid/229a13d8-159e-40b6-915a-606c32e3ca79";
+ fsType = "btrfs";
+ options = ["subvol=@"];
+ };
+
+ fileSystems."/home" = {
+ device = "/dev/disk/by-uuid/229a13d8-159e-40b6-915a-606c32e3ca79";
+ fsType = "btrfs";
+ options = ["subvol=@home"];
+ };
+
+ fileSystems."/boot" = {
+ device = "/dev/disk/by-uuid/03F6-F782";
+ fsType = "vfat";
+ options = ["fmask=0077" "dmask=0077"];
+ };
+
+ fileSystems."/nix" = {
+ device = "/dev/disk/by-uuid/28fb6b6d-fb64-4a42-80af-88ce7b081258";
+ fsType = "btrfs";
+ };
+
+ swapDevices = [];
+
+ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
+ hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
+ };
+}
diff --git a/modules/system/keyboard.nix b/modules/system/keyboard.nix
new file mode 100644
index 0000000..e02bf6b
--- /dev/null
+++ b/modules/system/keyboard.nix
@@ -0,0 +1,12 @@
+{
+ self,
+ lib,
+ ...
+}: {
+ flake.nixosModules.keyboard = {...}: {
+ services.xserver.xkb = {
+ layout = lib.mkDefault "cz";
+ options = lib.mkDefault "eurosign:e,caps:escape";
+ };
+ };
+}
diff --git a/modules/system/keys.nix b/modules/system/keys.nix
index 8c4a38c..28ef552 100644
--- a/modules/system/keys.nix
+++ b/modules/system/keys.nix
@@ -1,6 +1,6 @@
# Mount and unmount scripts for the encrypted usb drive on my keys for easy access of ssh keys
{...}: {
- flake.nixosModule.keys = {pkgs, ...}: {
+ flake.nixosModules.keys = {pkgs, ...}: {
systemd.tmpfiles.rules = [
"d /mnt/ssh-keys 0755 root root -"
"d /mnt/nixos-config 0755 root root -"
diff --git a/modules/system/system.nix b/modules/system/system.nix
index 08259e7..2ad6188 100644
--- a/modules/system/system.nix
+++ b/modules/system/system.nix
@@ -11,6 +11,7 @@
}: {
imports = [
self.nixosModules.nix # Nix configuration
+ self.nixosModules.keyboard # Keyboard layout configuration & similiar
self.nixosModules.keys # Configuration for encrypted drive on my keys
];
};