Compare commits

...

9 commits

Author SHA1 Message Date
4d0fa97ecc simple 2025-04-22 10:20:12 +02:00
986a821386 flake update 2025-04-22 10:20:10 +02:00
c0cf9f7b47 miniflux service 2025-04-15 13:08:54 +02:00
10743dfa27 styling 2025-04-15 13:08:45 +02:00
af9810c950 more sops 2025-04-15 13:08:34 +02:00
b1fa114766 use lix on all hosts 2025-04-15 13:07:33 +02:00
6a70afdd82 waybar to module 2025-04-15 13:07:01 +02:00
bd17ec1c62 sops cleanup 2025-04-15 13:06:28 +02:00
47456417f7 jellyfin and others 2025-04-11 13:13:32 +02:00
11 changed files with 255 additions and 195 deletions

120
flake.lock generated
View file

@ -70,11 +70,11 @@
"firefox-gnome-theme": { "firefox-gnome-theme": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1741628778, "lastModified": 1743774811,
"narHash": "sha256-RsvHGNTmO2e/eVfgYK7g+eYEdwwh7SbZa+gZkT24MEA=", "narHash": "sha256-oiHLDHXq7ymsMVYSg92dD1OLnKLQoU/Gf2F1GoONLCE=",
"owner": "rafaelmardojai", "owner": "rafaelmardojai",
"repo": "firefox-gnome-theme", "repo": "firefox-gnome-theme",
"rev": "5a81d390bb64afd4e81221749ec4bffcbeb5fa80", "rev": "df53a7a31872faf5ca53dd0730038a62ec63ca9e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -106,11 +106,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1741352980, "lastModified": 1743550720,
"narHash": "sha256-+u2UunDA4Cl5Fci3m7S643HzKmIDAe+fiXrLqYsR2fs=", "narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "f4330d22f1c5d2ba72d3d22df5597d123fdb60a9", "rev": "c621e8422220273271f52058f618c94e405bb0f5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -242,11 +242,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1741379162, "lastModified": 1742649964,
"narHash": "sha256-srpAbmJapkaqGRE3ytf3bj4XshspVR5964OX5LfjDWc=", "narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "b5a62751225b2f62ff3147d0a334055ebadcd5cc", "rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -301,11 +301,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1742530487, "lastModified": 1744663884,
"narHash": "sha256-yjBjRn294NpPagPAQCio20X5BzBXiOoz2+xF3/YmEkU=", "narHash": "sha256-a6QGaZMDM1miK8VWzAITsEPOdmLk+xTPyJSTjVs3WhI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d61711497be9ad6a6633aaf203b038b5a970621f", "rev": "d5cdf55bd9f19a3debd55b6cb5d38f7831426265",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -323,11 +323,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1741635347, "lastModified": 1743869639,
"narHash": "sha256-2aYfV44h18alHXopyfL4D9GsnpE5XlSVkp4MGe586VU=", "narHash": "sha256-Xhe3whfRW/Ay05z9m1EZ1/AkbV1yo0tm1CbgjtCi4rQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "7fb8678716c158642ac42f9ff7a18c0800fea551", "rev": "d094c6763c6ddb860580e7d3b4201f8f496a6836",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -368,14 +368,14 @@
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1737234286, "lastModified": 1737234286,
"narHash": "sha256-CCKIAE84dzkrnlxJCKFyffAxP3yfsOAbdvydUGqq24g=", "narHash": "sha256-pgDJZjj4jpzkFxsqBTI/9Yb0n3gW+DvDtuv9SwQZZcs=",
"rev": "2837da71ec1588c1187d2e554719b15904a46c8b", "rev": "079528098f5998ba13c88821a2eca1005c1695de",
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/2837da71ec1588c1187d2e554719b15904a46c8b.tar.gz?rev=2837da71ec1588c1187d2e554719b15904a46c8b" "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/079528098f5998ba13c88821a2eca1005c1695de.tar.gz?rev=079528098f5998ba13c88821a2eca1005c1695de"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/lix-project/lix/archive/2.92.0.tar.gz" "url": "https://git.lix.systems/lix-project/lix/archive/release-2.92.tar.gz"
} }
}, },
"lix-module": { "lix-module": {
@ -388,15 +388,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1737237494, "lastModified": 1742943028,
"narHash": "sha256-YMLrcBpf0TR5r/eaqm8lxzFPap2TxCor0ZGcK3a7+b8=", "narHash": "sha256-fprwZKE1uMzO9tiWWOrmLWBW3GPkMayQfb0xOvVFIno=",
"rev": "b90bf629bbd835e61f1317b99e12f8c831017006", "rev": "868d97695bab9d21f6070b03957bcace249fbe3c",
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/b90bf629bbd835e61f1317b99e12f8c831017006.tar.gz?rev=b90bf629bbd835e61f1317b99e12f8c831017006" "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/868d97695bab9d21f6070b03957bcace249fbe3c.tar.gz?rev=868d97695bab9d21f6070b03957bcace249fbe3c"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0.tar.gz" "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0-3.tar.gz"
} }
}, },
"niri": { "niri": {
@ -411,11 +411,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1743943715, "lastModified": 1744705923,
"narHash": "sha256-9xCTf79Naq7mxvqtjgbcU9ZlNwubAep0qlwrL3GqZQQ=", "narHash": "sha256-ch+j1T4FDMuj3Jm0ALOSS4vpyQZsHQmWO8hkVXOL+nY=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "f53eac2ea3c72dd4e9739228660f661eb27359d0", "rev": "1e6d8e177cfc614c35252bd57f0ad7a64833aaa3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -444,11 +444,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1743923080, "lastModified": 1744475937,
"narHash": "sha256-Hb3t6FoJycnqIZmu3c6K1bJGndBsrDw8IQtM2ieLbzU=", "narHash": "sha256-vJXhE2BCJO3AxGUGqL7GW7ReeAL+OKy80ErMYDuILjM=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "430b155929a60644ea223012ee0c1389fc5e3755", "rev": "95eafba346a17104a9af71021011fcdc9e13776b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -459,11 +459,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1742422364, "lastModified": 1744463964,
"narHash": "sha256-mNqIplmEohk5jRkqYqG19GA8MbQ/D4gQSK0Mu4LvfRQ=", "narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a84ebe20c6bc2ecbcfb000a50776219f48d134cc", "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -474,11 +474,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1743813633, "lastModified": 1744440957,
"narHash": "sha256-BgkBz4NpV6Kg8XF7cmHDHRVGZYnKbvG0Y4p+jElwxaM=", "narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7819a0d29d1dd2bc331bec4b327f0776359b1fa6", "rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -497,11 +497,11 @@
"nuschtosSearch": "nuschtosSearch" "nuschtosSearch": "nuschtosSearch"
}, },
"locked": { "locked": {
"lastModified": 1742488644, "lastModified": 1744669903,
"narHash": "sha256-vXpu7G4aupNCPlv8kAo7Y/jocfSUwglkvNx5cR0XjBo=", "narHash": "sha256-gtfLmGx/N+BzIck9sGLIfzETxocYjVKo4gmSeH6zfaY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "d44b33a1ea1a3e584a8c93164dbe0ba2ad4f3a13", "rev": "ee9655637cbf898415e09c399bc504180e246d42",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -520,11 +520,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1741693509, "lastModified": 1743884191,
"narHash": "sha256-emkxnsZstiJWmGACimyAYqIKz2Qz5We5h1oBVDyQjLw=", "narHash": "sha256-foVcginhVvjg8ZnTzY5wwMeZ4wjJ8yX66PW5kgyivPE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "5479646b2574837f1899da78bdf9a48b75a9fb27", "rev": "fde90f5f52e13eed110a0e53a2818a2b09e4d37c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -543,11 +543,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1741886583, "lastModified": 1743683223,
"narHash": "sha256-sScfYKtxp3CYv5fJcHQDvQjqBL+tPNQqS9yf9Putd+s=", "narHash": "sha256-LdXtHFvhEC3S64dphap1pkkzwjErbW65eH1VRerCUT0=",
"owner": "NuschtOS", "owner": "NuschtOS",
"repo": "search", "repo": "search",
"rev": "2974bc5fa3441a319fba943f3ca41f7dcd1a1467", "rev": "56a49ffef2908dad1e9a8adef1f18802bc760962",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -574,11 +574,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1742406979, "lastModified": 1744669848,
"narHash": "sha256-r0aq70/3bmfjTP+JZs4+XV5SgmCtk1BLU4CQPWGtA7o=", "narHash": "sha256-pXyanHLUzLNd3MX9vsWG+6Z2hTU8niyphWstYEP3/GU=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "1770be8ad89e41f1ed5a60ce628dd10877cb3609", "rev": "61154300d945f0b147b30d24ddcafa159148026a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -611,11 +611,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1742496983, "lastModified": 1744668092,
"narHash": "sha256-UpJrU0DEhNLVZwL/RPVOEUHCG6iDOVDoYelkmgS4V38=", "narHash": "sha256-XDmpI3ywMkypsHKRF2am6BzZ5OjwpQMulAe8L87Ek8U=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "7e9906679d384472849272e5a5eef7adbdb1d87f", "rev": "38aff11a7097f4da6b95d4c4d2c0438f25a08d52",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -706,11 +706,11 @@
"tinted-schemes": { "tinted-schemes": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1741468895, "lastModified": 1742851696,
"narHash": "sha256-YKM1RJbL68Yp2vESBqeZQBjTETXo8mCTTzLZyckCfZk=", "narHash": "sha256-sR4K+OVFKeUOvNIqcCr5Br7NLxOBEwoAgsIyjsZmb8s=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "schemes", "repo": "schemes",
"rev": "47c8c7726e98069cade5827e5fb2bfee02ce6991", "rev": "c37771c4ae8ff1667e27ddcf24991ebeb94a4e77",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -722,11 +722,11 @@
"tinted-tmux": { "tinted-tmux": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1740877430, "lastModified": 1743296873,
"narHash": "sha256-zWcCXgdC4/owfH/eEXx26y5BLzTrefjtSLFHWVD5KxU=", "narHash": "sha256-8IQulrb1OBSxMwdKijO9fB70ON//V32dpK9Uioy7FzY=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "tinted-tmux", "repo": "tinted-tmux",
"rev": "d48ee86394cbe45b112ba23ab63e33656090edb4", "rev": "af5152c8d7546dfb4ff6df94080bf5ff54f64e3a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -793,11 +793,11 @@
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1743346993, "lastModified": 1744685222,
"narHash": "sha256-i7rWd/5BcqLgQEtB5L/6gKN5R5GUJcmm34F+iBivH60=", "narHash": "sha256-ocJQcrr0IQuumaTd9HHH6gtLYmQvJioxFs+dmnySnlw=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "45c055696437a08e3989d9b91d9c617b84cc2bc3", "rev": "45185b7f142c153ce3ab50bbc196b2112e0797c2",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -12,7 +12,7 @@
}; };
lix-module = { lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0.tar.gz"; url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0-3.tar.gz";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
@ -72,13 +72,16 @@
muhhStar = lib.nixosSystem { muhhStar = lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [
lix-module.nixosModules.default
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
niri.nixosModules.niri
./hosts/muhhStar.nix ./hosts/muhhStar.nix
]; ];
}; };
ze = lib.nixosSystem { ze = lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [
lix-module.nixosModules.default
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
./hosts/ze.nix ./hosts/ze.nix
]; ];

113
home.nix
View file

@ -3,7 +3,9 @@
imports = [ imports = [
modules/gnome modules/gnome
modules/niri modules/niri
modules/sops
modules/sway modules/sway
modules/waybar
]; ];
home = { home = {
@ -62,14 +64,15 @@
spot spot
sxiv sxiv
steam-run steam-run
sway-launcher-desktop
tmux tmux
uni
unzip unzip
via via
wget wget
whois whois
wl-clipboard wl-clipboard
wl-mirror wl-mirror
sway-launcher-desktop
vivaldi vivaldi
xdg-utils xdg-utils
zellij zellij
@ -461,80 +464,6 @@
enable = true; enable = true;
enableFishIntegration = true; enableFishIntegration = true;
}; };
waybar = {
enable = true;
systemd.enable = true;
settings = {
mainBar = {
layer = "top";
position = "top";
height = 24;
spacing = 3;
output = [ "DP-1" ];
modules-left = [
"sway/workspaces"
"sway/mode"
"sway/scratchpad"
"sway/window"
"custom/media"
];
modules-center = [
"clock"
"idle_inhibitor"
];
modules-right = [
"pulseaudio"
"backlight"
"network"
"tray"
"custom/notification"
"custom/power"
];
"sway/scratchpad" = {
format = "{icon} {count}";
show-empty = false;
format-icons = ["" "<U+F2D2>"];
tooltip = true;
tooltip-format = "{app}: {title}";
};
"backlight" = {
device = "ddcci6";
format = "{percent}% {icon}";
format-icons = [ "<U+F5D9>" "<U+F5DA>" "<U+F5DB>" "<U+F5DC>" "<U+F5DD>" "<U+F5DE>" "<U+F5DF>"];
};
"clock" = {
format = "{:%d. %B | %H:%M}";
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
format-alt = "{: KW %OV, %A, %d. %B %Y | %H:%M}";
calendar = {
mode = "year";
mode-mon-col = 3;
weeks-pos = "right";
on-scroll = 1;
on-click-right = "mode";
format = {
months = "<span color='#ffead3'><b>{}</b></span>";
days = "<span color='#ecc6d9'><b>{}</b></span>";
weeks = "<span color='#99ffdd'><b>W{}</b></span>";
weekdays = "<span color='#ffcc66'><b>{}</b></span>";
today = "<span color='#ff6699'><b><u>{}</u></b></span>";
};
};
"actions" = {
on-click-right = "mode";
on-click-forward = "tz_up";
on-click-backward = "tz_down";
on-scroll-up = "shift_up";
on-scroll-down = "shift_down";
};
};
"tray" = {
icon-size = 16;
spacing = 6;
};
};
};
};
yazi = { yazi = {
enable = true; enable = true;
enableFishIntegration = true; enableFishIntegration = true;
@ -559,41 +488,33 @@
}; };
}; };
sops = {
age.keyFile = "${config.xdg.configHome}/sops/age/keys.txt";
defaultSopsFile = ./secrets/secrets.yaml;
secrets = {
atuin_key = {};
"mail/privat/address" = {};
"mail/privat/username" = {};
"mail/privat/password" = {};
"mail/icloud/address" = {};
"mail/icloud/username" = {};
"mail/icloud/password" = {};
};
};
stylix = { stylix = {
enable = true; enable = true;
image = /home/muhh/Sync/Backgrounds/wald.jpg; image = /home/muhh/Sync/Backgrounds/wald.jpg;
polarity = "dark"; polarity = "either";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; # base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-city-terminal-dark.yaml"; # base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-city-terminal-dark.yaml";
#base16Scheme = "${pkgs.base16-schemes}/share/themes/everforest.yaml"; # base16Scheme = "${pkgs.base16-schemes}/share/themes/everforest.yaml";
base16Scheme = ./share/themes/flexoki-light.yaml; # base16Scheme = ./share/themes/flexoki-light.yaml;
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-dawn.yaml";
cursor = { cursor = {
name = "Rosé Pine"; name = "BreezeX-RosePine-Linux";
package = pkgs.rose-pine-cursor; package = pkgs.rose-pine-cursor;
size = 48; size = 32;
}; };
fonts = { fonts = {
monospace = { monospace = {
package = pkgs.nerd-fonts.iosevka; package = pkgs.nerd-fonts.iosevka;
name = "Iosevka Nerd Font"; name = "Iosevka Nerd Font";
# package = pkgs.atkinson-monolegible; };
# name = "Atkinson Monolegible"; sansSerif = {
package = pkgs.atkinson-hyperlegible;
name = "Atkinson Hyperlegible";
}; };
sizes = { sizes = {
applications = 14;
desktop = 10;
popups = 10;
terminal = 14; terminal = 14;
}; };
}; };

View file

@ -53,19 +53,43 @@
nssmdns4 = true; nssmdns4 = true;
openFirewall = true; openFirewall = true;
}; };
# services.borgmatic = {
# enable = true;
# configurations = {
# test = {
# source_directories = [
# "/home/muhh/muhhmory"
# ];
# repositories = [
# "ssh://u455876@u455876.your-storagebox.de/./test"
# ];
# };
# storage = {
# extraConfig = {
# ssh_command = "ssh -p 23 -i ~/.ssh/id_ed25519";
# };
# };
# };
# };
# };
services.envfs.enable = true; services.envfs.enable = true;
services.xserver.displayManager = { services.xserver = {
gdm = { xkb.layout = "eu";
enable = true; xkb.options = "compose:ralt";
}; displayManager = {
}; gdm = {
services.displayManager = { enable = true;
# defaultSession = "niri"; };
ly = {
enable = false;
settings = {};
}; };
desktopManager.gnome.enable = true;
}; };
# services.displayManager = {
# # defaultSession = "niri";
# ly = {
# enable = false;
# settings = {};
# };
# };
services.flatpak.enable = true; services.flatpak.enable = true;
services.fwupd.enable = true; services.fwupd.enable = true;
@ -92,6 +116,11 @@
}; };
services.jellyfin = { services.jellyfin = {
enable = true; enable = true;
openFirewall = true;
};
services.miniflux = {
enable = true;
adminCredentialsFile = "/etc/nixos/miniflux-admin-credentials";
}; };
services.tailscale = { services.tailscale = {
@ -99,15 +128,12 @@
authKeyFile = config.sops.secrets.tailscale_auth_key.path; authKeyFile = config.sops.secrets.tailscale_auth_key.path;
}; };
# Configure keymap in X11 sops = {
services.xserver = { age.keyFile = "/home/muhh/.config/sops/age/keys.txt";
xkb.layout = "eu"; defaultSopsFile = ../modules/sops/secrets/secrets.yaml;
xkb.options = "compose:ralt"; secrets.tailscale_auth_key = {};
}; };
sops.defaultSopsFile = ../secrets/secrets.yaml;
sops.age.keyFile = "/home/muhh/.config/sops/age/keys.txt";
sops.secrets.tailscale_auth_key = {};
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.muhh = { users.users.muhh = {
isNormalUser = true; isNormalUser = true;
@ -128,6 +154,9 @@
evolutionWithPlugins evolutionWithPlugins
git git
home-manager home-manager
jellyfin
jellyfin-ffmpeg
jellyfin-web
mosh mosh
toolbox toolbox
vim vim

View file

@ -1,4 +1,4 @@
SOPS_FILE := "./secrets/secrets.yaml" SOPS_FILE := "./modules/sops/secrets/secrets.yaml"
default: default:
@just --list @just --list

View file

@ -0,0 +1,22 @@
{
programs.borgmatic = {
enable = true;
backups = {
test = {
location = {
sourceDirectories = [
"/home/muhh/muhhmory"
];
repositories = [
"ssh://u455876@u455876.your-storagebox.de/./test"
];
};
storage = {
extraConfig = {
ssh_command = "ssh -p 23 -i ~/.ssh/id_ed25519";
};
};
};
};
};
}

24
modules/sops/default.nix Normal file
View file

@ -0,0 +1,24 @@
{ inputs, pkgs, config, home, ... }: {
# imports = [
# inputs.sops.homeManagerModules.sops
# ];
home.packages = with pkgs; [
sops
];
sops = {
age.keyFile = "${config.xdg.configHome}/sops/age/keys.txt";
defaultSopsFile = ./secrets/secrets.yaml;
secrets = {
atuin_key = {};
"mail/privat/address" = {};
"mail/privat/username" = {};
"mail/privat/password" = {};
"mail/icloud/address" = {};
"mail/icloud/username" = {};
"mail/icloud/password" = {};
tailscale_auth_key = {};
};
};
}

View file

@ -4,16 +4,12 @@ mail:
privat: privat:
address: ENC[AES256_GCM,data:MdODBjT/vGmoZidXYppWX0EN,iv:Ai2YVodb/vOEyCK2spnH1vwPJrdvqIHM40ZGhALHq8A=,tag:ge1dIDEgiSYVJGNwuq+qKw==,type:str] address: ENC[AES256_GCM,data:MdODBjT/vGmoZidXYppWX0EN,iv:Ai2YVodb/vOEyCK2spnH1vwPJrdvqIHM40ZGhALHq8A=,tag:ge1dIDEgiSYVJGNwuq+qKw==,type:str]
username: ENC[AES256_GCM,data:492WNo3Dw9hFMUnVEGW/Cd6L,iv:WWbO8gX9kqiFsNGYPnp44m52fMkeHojiSXGhcl2a3wM=,tag:fILTYxn3QY1xvwLuU8EdSQ==,type:str] username: ENC[AES256_GCM,data:492WNo3Dw9hFMUnVEGW/Cd6L,iv:WWbO8gX9kqiFsNGYPnp44m52fMkeHojiSXGhcl2a3wM=,tag:fILTYxn3QY1xvwLuU8EdSQ==,type:str]
password: ENC[AES256_GCM,data:Oa3tYztCeY0Nvun+34bAji+9b/g=,iv:Sbx/d2H35wlPvsfomwAF+aT3kBCV70+GDi0Lj5lqTII=,tag:xHC6yGlsTroja8CMOTx/rQ==,type:str] password: ENC[AES256_GCM,data:4IF7J2guSYK1XH5h10McaIYuLl6hDMvsAed/qa90BpzQG1L08gIq6Q==,iv:lI6vRYxyFIAWJ+1/uT5tc8msbvlpWcjUe+0FQxSFqVI=,tag:dXjnKxdt7LuDsHIT0a1jFw==,type:str]
icloud: icloud:
address: ENC[AES256_GCM,data:7/4rd1ZneKI02kw=,iv:bBUrG3j+S3FGFGHPfbaSi7WnuVS9hliZU4Bxw1MrWDU=,tag:7C8T3artkNO68EctuBhb2A==,type:str] address: ENC[AES256_GCM,data:7/4rd1ZneKI02kw=,iv:bBUrG3j+S3FGFGHPfbaSi7WnuVS9hliZU4Bxw1MrWDU=,tag:7C8T3artkNO68EctuBhb2A==,type:str]
username: ENC[AES256_GCM,data:dP/Ft1dlbqxHJC0=,iv:it+Z+ALPGOc7ZyYqrtgiZxuL+pPptmDaT4Obh2XArPA=,tag:0Z7Ll/4iBHN51KKSyN8kpw==,type:str] username: ENC[AES256_GCM,data:dP/Ft1dlbqxHJC0=,iv:it+Z+ALPGOc7ZyYqrtgiZxuL+pPptmDaT4Obh2XArPA=,tag:0Z7Ll/4iBHN51KKSyN8kpw==,type:str]
password: ENC[AES256_GCM,data:KL+QQemQ9z2Le2o=,iv:3J+Qx4uknKVlNrB4EqP8orxa8IrLEgT8MDa68JrPUeI=,tag:gNVr9ohICAgOHSMwIlcsmA==,type:str] password: ENC[AES256_GCM,data:KL+QQemQ9z2Le2o=,iv:3J+Qx4uknKVlNrB4EqP8orxa8IrLEgT8MDa68JrPUeI=,tag:gNVr9ohICAgOHSMwIlcsmA==,type:str]
sops: sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: age:
- recipient: age1awjelu4fqh5jyc49p3sujn0wc7zdz9xmj2aajaz7mp5fkwwtj4uqyp8fl8 - recipient: age1awjelu4fqh5jyc49p3sujn0wc7zdz9xmj2aajaz7mp5fkwwtj4uqyp8fl8
enc: | enc: |
@ -33,8 +29,7 @@ sops:
SEFxb2UwbDFiSG5QdzVWRk02b3lIZDQKYF4Vv3FwvKv3uwACRXb/jwD6Q5rh39Yu SEFxb2UwbDFiSG5QdzVWRk02b3lIZDQKYF4Vv3FwvKv3uwACRXb/jwD6Q5rh39Yu
w7J86gsX7Yh9Wm65y+CW1JE8EN72mhBbYwve3lK8twDjxmLhYOMjIg== w7J86gsX7Yh9Wm65y+CW1JE8EN72mhBbYwve3lK8twDjxmLhYOMjIg==
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----
lastmodified: "2024-05-22T07:53:28Z" lastmodified: "2025-04-09T15:10:07Z"
mac: ENC[AES256_GCM,data:T0gcJp4lIFyEkseXovSRlBYunlLNTE4yYJmD203brJ0GuQ50pOyJbbwjTaQF/4LQ4w6qgnE4/Yim5L0moXWGkWdyyvrwT2Ln69hFKnbQxHCfiTVgWF4fMTT0qaLOZgd+KKPnUuObeaPWbzkZVya72LAWvDd34KgRhVAvrQsoRVg=,iv:zJYE3iQbZCOigYxOJDf9Chd6JIxOiR8Nn429SSOqWQw=,tag:XmB0ah3HwX+SaC0m6XKENA==,type:str] mac: ENC[AES256_GCM,data:s4Y8A99KC0gh3mJ/F9mh6XFE9dRznJlH5RDwzC+ne7rQjT6oauT3a79DWqVSgZlH+BsBNkwx+1RykSS5XAUy4wXa1caI1GtG+scoyonJ4Az9/j+8iqIs5uE6dEGEi5lyEhoo0Kwt7UVtcUvnoHZPtEtm9CNjbY+1vZ1hpqAjg04=,iv:JWQ+EYc2d9z58ZsgYC39xsSF5Lroh8sDkTJF1PilHM4=,tag:y1YqksD5cemunTAge9PLmQ==,type:str]
pgp: []
unencrypted_suffix: _unencrypted unencrypted_suffix: _unencrypted
version: 3.8.1 version: 3.10.1

View file

@ -92,7 +92,7 @@
}; };
HDMI-A-1 = { HDMI-A-1 = {
resolution = "1920x1080@60.000Hz"; resolution = "1920x1080@60.000Hz";
transform = "180"; transform = "flipped";
position = "0 0"; position = "0 0";
scale = "1.5"; scale = "1.5";
# background = "/home/muhh/Sync/Backgrounds/pfuetze.jpg fill"; # background = "/home/muhh/Sync/Backgrounds/pfuetze.jpg fill";

View file

@ -0,0 +1,76 @@
{
programs.waybar = {
enable = true;
systemd.enable = true;
settings = {
mainBar = {
layer = "top";
position = "top";
height = 18;
spacing = 2;
output = [ "DP-1" ];
modules-left = [
"sway/workspaces"
"sway/mode"
"sway/scratchpad"
"sway/window"
"custom/media"
];
modules-center = [
"clock"
"idle_inhibitor"
];
modules-right = [
"pulseaudio"
"backlight"
"network"
"tray"
"custom/notification"
"custom/power"
];
"sway/scratchpad" = {
format = "{icon} {count}";
show-empty = false;
format-icons = ["" "<U+F2D2>"];
tooltip = true;
tooltip-format = "{app}: {title}";
};
"backlight" = {
device = "ddcci6";
format = "{percent}% {icon}";
format-icons = [ "<U+F5D9>" "<U+F5DA>" "<U+F5DB>" "<U+F5DC>" "<U+F5DD>" "<U+F5DE>" "<U+F5DF>"];
};
"clock" = {
format = "{:%d. %B | %H:%M}";
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
format-alt = "{: KW %OV, %A, %d. %B %Y | %H:%M}";
calendar = {
mode = "year";
mode-mon-col = 3;
weeks-pos = "right";
on-scroll = 1;
on-click-right = "mode";
format = {
months = "<span color='#ffead3'><b>{}</b></span>";
days = "<span color='#ecc6d9'><b>{}</b></span>";
weeks = "<span color='#99ffdd'><b>W{}</b></span>";
weekdays = "<span color='#ffcc66'><b>{}</b></span>";
today = "<span color='#ff6699'><b><u>{}</u></b></span>";
};
};
"actions" = {
on-click-right = "mode";
on-click-forward = "tz_up";
on-click-backward = "tz_down";
on-scroll-up = "shift_up";
on-scroll-down = "shift_down";
};
};
"tray" = {
icon-size = 16;
spacing = 2;
};
};
};
};
}

View file

@ -1,10 +0,0 @@
{ inputs, pkgs, ... }: {
# imports = [
# inputs.sops.homeManagerModules.sops
# ];
home.packages = with pkgs; [
sops
];
}