mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
Compare commits
No commits in common. "3dc025762fb3f7af589d6617944cd48161babad9" and "5c55131b7d8f8ed7983a8895a443a768b6a541d7" have entirely different histories.
3dc025762f
...
5c55131b7d
24
flake.lock
24
flake.lock
|
@ -12,11 +12,11 @@
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1707830867,
|
"lastModified": 1703433843,
|
||||||
"narHash": "sha256-PAdwm5QqdlwIqGrfzzvzZubM+FXtilekQ/FA0cI49/o=",
|
"narHash": "sha256-nmtA4KqFboWxxoOAA6Y1okHbZh+HsXaMPFkYHsoDRDw=",
|
||||||
"owner": "ryantm",
|
"owner": "ryantm",
|
||||||
"repo": "agenix",
|
"repo": "agenix",
|
||||||
"rev": "8cb01a0e717311680e0cbca06a76cbceba6f3ed6",
|
"rev": "417caa847f9383e111d1397039c9d4337d024bf0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -180,11 +180,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1708031129,
|
"lastModified": 1707683400,
|
||||||
"narHash": "sha256-EH20hJfNnc1/ODdDVat9B7aKm0B95L3YtkIRwKLvQG8=",
|
"narHash": "sha256-Zc+J3UO1Xpx+NL8UB6woPHyttEy9cXXtm+0uWwzuYDc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "3d6791b3897b526c82920a2ab5f61d71985b3cf8",
|
"rev": "21b078306a2ab68748abf72650db313d646cf2ca",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -261,11 +261,11 @@
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1707825078,
|
"lastModified": 1706637303,
|
||||||
"narHash": "sha256-hTfge2J2W+42SZ7VHXkf4kjU+qzFqPeC9k66jAUBMHk=",
|
"narHash": "sha256-K6SqE9diWDCoEQ+MzuVlTfNrAKcdIa/dLHBtKfz445U=",
|
||||||
"owner": "Misterio77",
|
"owner": "Misterio77",
|
||||||
"repo": "nix-colors",
|
"repo": "nix-colors",
|
||||||
"rev": "b01f024090d2c4fc3152cd0cf12027a7b8453ba1",
|
"rev": "fc080c51d2a219b40d886870e364243783ed5ca1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -296,11 +296,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1707956935,
|
"lastModified": 1707546158,
|
||||||
"narHash": "sha256-ZL2TrjVsiFNKOYwYQozpbvQSwvtV/3Me7Zwhmdsfyu4=",
|
"narHash": "sha256-nYYJTpzfPMDxI8mzhQsYjIUX+grorqjKEU9Np6Xwy/0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a4d4fe8c5002202493e87ec8dbc91335ff55552c",
|
"rev": "d934204a0f8d9198e1e4515dd6fec76a139c87f0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -94,6 +94,7 @@
|
||||||
home-manager.users.rouven = {
|
home-manager.users.rouven = {
|
||||||
imports = [
|
imports = [
|
||||||
nix-colors.homeManagerModules.default
|
nix-colors.homeManagerModules.default
|
||||||
|
agenix.homeManagerModules.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,6 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSubmission = true;
|
enableSubmission = true;
|
||||||
enableSubmissions = true;
|
enableSubmissions = true;
|
||||||
recipientDelimiter = "+";
|
|
||||||
hostname = "${hostname}";
|
hostname = "${hostname}";
|
||||||
domain = "${domain}";
|
domain = "${domain}";
|
||||||
origin = "${domain}";
|
origin = "${domain}";
|
||||||
|
|
|
@ -5,7 +5,6 @@ let
|
||||||
inherit (prev) fetchPypi;
|
inherit (prev) fetchPypi;
|
||||||
inherit (prev) fetchpatch;
|
inherit (prev) fetchpatch;
|
||||||
inherit (prev) makeWrapper;
|
inherit (prev) makeWrapper;
|
||||||
inherit (prev) python3Packages;
|
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
pcmanfm = prev.pcmanfm.overrideAttrs (_: {
|
pcmanfm = prev.pcmanfm.overrideAttrs (_: {
|
||||||
|
@ -18,6 +17,23 @@ rec {
|
||||||
pww = callPackage ../pkgs/pww { };
|
pww = callPackage ../pkgs/pww { };
|
||||||
ianny = callPackage ../pkgs/ianny { };
|
ianny = callPackage ../pkgs/ianny { };
|
||||||
|
|
||||||
|
python3 = prev.python3.override {
|
||||||
|
packageOverrides = _finel: prev: {
|
||||||
|
tpm2-pytss = prev.tpm2-pytss.overrideAttrs (old: {
|
||||||
|
# https://github.com/NixOS/nixpkgs/pull/287804/
|
||||||
|
patches = old.patches ++ [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-newer-cryptography-42-0-1-support.patch";
|
||||||
|
url = "https://github.com/tpm2-software/tpm2-pytss/commit/0fbb9d099370c0a7031dd13990986538f586836a.patch";
|
||||||
|
sha256 = "sha256-xnQIr4/iJra0+rn5estVqSvG8pXcuwWykmmayBpCzgw=";
|
||||||
|
})
|
||||||
|
|
||||||
|
];
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
python3Packages = python3.pkgs;
|
||||||
tpm2-pkcs11 = prev.tpm2-pkcs11.override { fapiSupport = false; };
|
tpm2-pkcs11 = prev.tpm2-pkcs11.override { fapiSupport = false; };
|
||||||
|
|
||||||
gnome-break-timer = callPackage ../pkgs/gnome-break-timer { };
|
gnome-break-timer = callPackage ../pkgs/gnome-break-timer { };
|
||||||
|
|
|
@ -30,4 +30,7 @@ in
|
||||||
"secrets/falkenstein/wireguard/dorm/preshared.age".publicKeys = [ rouven falkenstein ];
|
"secrets/falkenstein/wireguard/dorm/preshared.age".publicKeys = [ rouven falkenstein ];
|
||||||
"secrets/falkenstein/borg/passphrase.age".publicKeys = [ rouven falkenstein ];
|
"secrets/falkenstein/borg/passphrase.age".publicKeys = [ rouven falkenstein ];
|
||||||
"secrets/falkenstein/borg/key.age".publicKeys = [ rouven falkenstein ];
|
"secrets/falkenstein/borg/key.age".publicKeys = [ rouven falkenstein ];
|
||||||
|
|
||||||
|
# rouven (home manager)
|
||||||
|
"secrets/rouven/spotify.age".publicKeys = [ rouven ];
|
||||||
}
|
}
|
||||||
|
|
8
secrets/rouven/spotify.age
Normal file
8
secrets/rouven/spotify.age
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 uWbAHQ klzqpl+5gMc23pxP7b6WeMnz0GupktMWsozSgu5qjVI
|
||||||
|
zLIUb95/je/M2yGilR2PA5JyO4pG98qSeSa9cBN8oi0
|
||||||
|
-> vi>dm(?-grease nUG 4q;
|
||||||
|
eFlRMpjidL3vhoL3XhkOfqrdNAV7vBqgsPS5k9NWME2cqK4CcdHNLcyOdQipB2oh
|
||||||
|
sMK94/EdKhLC+insD3oR+q6369vB/3oaBayNSUM
|
||||||
|
--- De9rDCy3TGRbiGWLSanEwhheglOK8uOHa8Ioga1UjvY
|
||||||
|
•9+ð¯Ãæ€pG®“ÑMèi$±ˆ“;ÊuÆ,DãëE°ÌÚȸ²®¤±Ë
|
|
@ -9,6 +9,7 @@
|
||||||
./mpv
|
./mpv
|
||||||
# broken
|
# broken
|
||||||
# ./qutebrowser
|
# ./qutebrowser
|
||||||
|
./spotify
|
||||||
./ssh
|
./ssh
|
||||||
./theme
|
./theme
|
||||||
./tex
|
./tex
|
||||||
|
|
|
@ -4,31 +4,21 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Rouven Seifert";
|
userName = "Rouven Seifert";
|
||||||
userEmail = "rouven@rfive.de";
|
userEmail = "rouven@rfive.de";
|
||||||
|
extraConfig = {
|
||||||
|
core.pager = "${pkgs.delta}/bin/delta";
|
||||||
|
interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only";
|
||||||
delta = {
|
delta = {
|
||||||
enable = true;
|
|
||||||
options = {
|
|
||||||
features = "decorations";
|
|
||||||
navigate = true;
|
navigate = true;
|
||||||
light = false;
|
light = false;
|
||||||
side-by-side = true;
|
side-by-side = true;
|
||||||
line-numbers = true;
|
line-numbers = true;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
extraConfig = {
|
|
||||||
merge.conflictStyle = "diff3";
|
merge.conflictStyle = "diff3";
|
||||||
diff.colorMoved = "default";
|
diff.colorMoved = "default";
|
||||||
user.signingkey = "B95E8FE6B11C4D09";
|
user.signingkey = "B95E8FE6B11C4D09";
|
||||||
pull.rebase = false;
|
pull.rebase = false;
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
commit.gpgsign = true;
|
commit.gpgsign = true;
|
||||||
sendemail = {
|
|
||||||
from = "Rouven Seifert <rouven@rfive.de>";
|
|
||||||
smtpEncryption = "ssl";
|
|
||||||
smtpServer = "mail.rfive.de";
|
|
||||||
smteServerPort = 465;
|
|
||||||
smtpSslCertPath = "/etc/ssl/certs/ca-certificates.crt";
|
|
||||||
smtpUser = "rouven";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs.gh = {
|
programs.gh = {
|
||||||
|
|
18
users/rouven/modules/spotify/default.nix
Normal file
18
users/rouven/modules/spotify/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs;[ spotify-tui ];
|
||||||
|
age.secrets.spotify = {
|
||||||
|
file = ../../../../secrets/rouven/spotify.age;
|
||||||
|
};
|
||||||
|
services.spotifyd = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
global = {
|
||||||
|
username = "seifertrouven@gmail.com";
|
||||||
|
password_cmd = "${pkgs.coreutils}/bin/cat ${config.age.secrets.spotify.path}";
|
||||||
|
};
|
||||||
|
backend = "pulseaudio";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
systemd.user.services.spotifyd.Unit.After = [ "agenix.service" ];
|
||||||
|
}
|
Loading…
Reference in a new issue