diff options
Diffstat (limited to '')
-rw-r--r-- | common/desktop.nix | 16 | ||||
-rw-r--r-- | flora/services/cgit.nix | 14 | ||||
-rw-r--r-- | flora/services/nginx.nix | 16 | ||||
-rw-r--r-- | home/newsboat-public.nix | 4 | ||||
-rw-r--r-- | home/packages-minimal.nix | 2 | ||||
-rw-r--r-- | home/packages.nix | 2 | ||||
-rw-r--r-- | npins/sources.json | 46 |
7 files changed, 67 insertions, 33 deletions
diff --git a/common/desktop.nix b/common/desktop.nix index 5d3bcf5..4c07183 100644 --- a/common/desktop.nix +++ b/common/desktop.nix @@ -90,5 +90,19 @@ # Enable sound. sound.enable = true; - hardware.pulseaudio.enable = true; + # hardware.pulseaudio.enable = true; + + xdg.portal.wlr.enable = true; + + services.pipewire = { + enable = true; + audio.enable = true; + pulse.enable = true; + alsa = { + enable = true; + support32Bit = true; + }; + # jack.enable = true; + }; + } diff --git a/flora/services/cgit.nix b/flora/services/cgit.nix index 032ec1d..1dae737 100644 --- a/flora/services/cgit.nix +++ b/flora/services/cgit.nix @@ -56,10 +56,14 @@ let ''; in { - services.fcgiwrap = { + services.fcgiwrap.instances.cgit.process = { user = "git"; group = "users"; - enable = true; + }; + services.fcgiwrap.instances.cgit.socket = { + user = "git"; + group = "users"; + mode = "0622"; }; services.nginx.virtualHosts."stuebinm.eu" = { @@ -69,7 +73,7 @@ in # this one should come last, behind the git-http-backend blocks locations."~ /git(/.*)".priority = 1100; locations."~ /git(/.*)".extraConfig = '' - fastcgi_pass unix:${config.services.fcgiwrap.socketAddress}; + fastcgi_pass unix:${config.services.fcgiwrap.instances.cgit.socket.address}; include ${pkgs.nginx}/conf/fastcgi_params; fastcgi_param SCRIPT_FILENAME ${pkgs.cgit}/cgit/cgit.cgi; fastcgi_param CGIT_CONFIG ${pkgs.writeText "cgit.conf" cgitconf}; @@ -78,7 +82,7 @@ in locations."~ /git(/[^/]*/(info/refs|git-(upload|receive)-pack|objects/info/packs))" = { extraConfig = '' - fastcgi_pass unix:${config.services.fcgiwrap.socketAddress}; + fastcgi_pass unix:${config.services.fcgiwrap.instances.cgit.socket.address}; include ${pkgs.nginx}/conf/fastcgi_params; fastcgi_param SCRIPT_FILENAME ${pkgs.gitMinimal}/bin/git-http-backend; fastcgi_param GIT_HTTP_EXPORT_ALL ""; @@ -89,7 +93,7 @@ in locations."~ /git/forks(/.*/(info/refs|git-(upload|receive)-pack|objects/info/packs))" = { extraConfig = '' - fastcgi_pass unix:${config.services.fcgiwrap.socketAddress}; + fastcgi_pass unix:${config.services.fcgiwrap.instances.cgit.socket.address}; include ${pkgs.nginx}/conf/fastcgi_params; fastcgi_param SCRIPT_FILENAME ${pkgs.gitMinimal}/bin/git-http-backend; fastcgi_param GIT_HTTP_EXPORT_ALL ""; diff --git a/flora/services/nginx.nix b/flora/services/nginx.nix index 1d95255..4a9bf33 100644 --- a/flora/services/nginx.nix +++ b/flora/services/nginx.nix @@ -24,12 +24,24 @@ enableACME = true; forceSSL = true; locations."~ (.*)".extraConfig = '' - fastcgi_pass unix:${config.services.fcgiwrap.socketAddress}; + fastcgi_pass unix:${config.services.fcgiwrap.instances.nomsing.socket.address}; include ${pkgs.nginx}/conf/fastcgi_params; fastcgi_param SCRIPT_FILENAME ${lib.getExe pkgs.nomsring}; fastcgi_param PATH_INFO $1; ''; }; }; - services.fcgiwrap.enable = true; + + services.fcgiwrap.instances.nomsing = { + socket = { + user = "nomsring"; + group = "users"; + mode = "0622"; + }; + }; + + users.users.nomsring = { + isSystemUser = true; + group = "users"; + }; } diff --git a/home/newsboat-public.nix b/home/newsboat-public.nix index ca75c5e..1bd5bcb 100644 --- a/home/newsboat-public.nix +++ b/home/newsboat-public.nix @@ -28,6 +28,7 @@ with import ./newsboat-lib.nix; (ntag "https://git.github.io/feed.xml" "comp") (ntag "https://www.gdl.de/feed.rss" "trains") (ntag "https://www.transformativeworks.org/feed" "fandom") + (ntag "https://haskell.github.io/security-advisories/atom.xml" "comp") # blogs (btag "https://scilogs.spektrum.de/klimalounge/feed/" "climate") @@ -201,6 +202,9 @@ with import ./newsboat-lib.nix; (btag "https://nanmu.me/en/posts/index.xml" "comp") (btag "https://forgejo.org/releases/rss.xml" "comp") (btag "https://ludic.mataroa.blog/rss/" "comp") + (btag "https://blog.poisson.chat/rss.xml" "comp") + (btag "https://blog.nadja.top/feed.rss" "hardware") + (btag "https://matttproud.com/blog/index.xml" "comp") # paper (btag "http://arxiv.org/rss/cs.PL" "paper") diff --git a/home/packages-minimal.nix b/home/packages-minimal.nix index 1e54596..fe09bc3 100644 --- a/home/packages-minimal.nix +++ b/home/packages-minimal.nix @@ -28,6 +28,6 @@ jq html-tidy nodePackages.stylelint nodePackages.js-beautify zola lowdown # nix things - nixfmt-rfc-style niv deploy-rs.deploy-rs + nixfmt-rfc-style deploy-rs.deploy-rs ]; } diff --git a/home/packages.nix b/home/packages.nix index 0250184..78ea25d 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -61,7 +61,7 @@ in # others python39 inweb # nix things - niv npins nix-output-monitor direnv + npins nix-output-monitor direnv # isabelle (isabelle.mkEnv "isabelle-env" "fish") isabat diff --git a/npins/sources.json b/npins/sources.json index e3495ca..46a1a2a 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -18,9 +18,9 @@ "url": "https://stuebinm.eu/git/bahnhof.name" }, "branch": "main", - "revision": "8a4723f12fb220204d0aa5ebde8fb65214ad1b47", + "revision": "2dd565d546ef7cba05846e90d79ae4a15a193f41", "url": null, - "hash": "0lbraq56vqlisv98hp6ck8bj6z83psqmnq17c647ln498hjp7i4c" + "hash": "137wq0hj9j4wikq401mz577a7r5cmfzfxyf4wv1ncxy450l4lrsh" }, "blog": { "type": "Git", @@ -78,9 +78,9 @@ "repo": "home-manager" }, "branch": "release-24.05", - "revision": "391ca6e950c2525b4f853cbe29922452c14eda82", - "url": "https://github.com/nix-community/home-manager/archive/391ca6e950c2525b4f853cbe29922452c14eda82.tar.gz", - "hash": "17cb6y4dymp351mj89y1bmxvqzw8m9h89nqd3qrwg6qjdm9sgkxa" + "revision": "208df2e558b73b6a1f0faec98493cb59a25f62ba", + "url": "https://github.com/nix-community/home-manager/archive/208df2e558b73b6a1f0faec98493cb59a25f62ba.tar.gz", + "hash": "13jlfifjw6pirk700p61anijv8q66mn0f356fw3ssb16vzhhqf5l" }, "isabelle-utils": { "type": "Git", @@ -100,9 +100,9 @@ "url": "git+ssh://git@git.lix.systems/lix-project/lix" }, "branch": "main", - "revision": "d3286d0990da111c536c2f879d8f9cbbd650ebae", + "revision": "727258241fc0b3c02691b72302d2c3092baca275", "url": null, - "hash": "1djvb9pp66as22y6nc7kljqza03vlivn1yjp3qp6ap043hj9pffc" + "hash": "13di3qgy4qg6kqy1s6fk0yqs822wdwd8rrjmilnds2v8hrr1782a" }, "lix-nixos-module": { "type": "Git", @@ -111,9 +111,9 @@ "url": "git+ssh://git@git.lix.systems/lix-project/nixos-module" }, "branch": "main", - "revision": "5d9d94089fb1ca96222a34bfe245ef5c5ebefd37", + "revision": "353b25f0b6da5ede15206d416345a2ec4195b5c8", "url": null, - "hash": "02dg1icyxamxblrvgxshadp2s8mx2ryjja7m9w26sgs07jl438zk" + "hash": "0aq9l1qhz01wm232gskq2mywik98zv2r8qn42bjw3kdb185wf9kl" }, "nixpkgs": { "type": "Git", @@ -123,9 +123,9 @@ "repo": "nixpkgs" }, "branch": "nixos-24.05", - "revision": "7dca15289a1c2990efbe4680f0923ce14139b042", - "url": "https://github.com/NixOS/nixpkgs/archive/7dca15289a1c2990efbe4680f0923ce14139b042.tar.gz", - "hash": "1p6mq0y9w5y88cwvz2a0lzlc5v3j8brim9db59pdp7fvyypli326" + "revision": "8f7492cce28977fbf8bd12c72af08b1f6c7c3e49", + "url": "https://github.com/NixOS/nixpkgs/archive/8f7492cce28977fbf8bd12c72af08b1f6c7c3e49.tar.gz", + "hash": "033my323rmlllrb7f5as7zikas0jxgidr8ffj8gabh8q0x9mgra6" }, "nixpkgs-unstable": { "type": "Git", @@ -135,9 +135,9 @@ "repo": "nixpkgs" }, "branch": "nixpkgs-unstable", - "revision": "b9014df496d5b68bf7c0145d0e9b0f529ce4f2a8", - "url": "https://github.com/NixOS/nixpkgs/archive/b9014df496d5b68bf7c0145d0e9b0f529ce4f2a8.tar.gz", - "hash": "1nhn3hhnszq1j1nm7r6l3a698drsqzpzagyb059fvw6y8aawzkn6" + "revision": "039b72d0c738c934e2e36d7fc5520d1b425287a6", + "url": "https://github.com/NixOS/nixpkgs/archive/039b72d0c738c934e2e36d7fc5520d1b425287a6.tar.gz", + "hash": "0cnw4x10wf8gcmg5ybkczhzd7yzjj8hy0ckx2n0zlpwzwvpcyykb" }, "ntfy-matrix-bot": { "type": "Git", @@ -169,9 +169,9 @@ "repo": "rust-overlay" }, "branch": "master", - "revision": "648b25dd9c3acd255dc50c1eb3ca8b987856f675", - "url": "https://github.com/oxalica/rust-overlay/archive/648b25dd9c3acd255dc50c1eb3ca8b987856f675.tar.gz", - "hash": "0ybl9jp7f7icna5w59ylayq0fk0r2wkkhkcjw8fbg5zshhdy0cpl" + "revision": "ca2e79cd22625d214b8437c2c4080ce79bd9f7d2", + "url": "https://github.com/oxalica/rust-overlay/archive/ca2e79cd22625d214b8437c2c4080ce79bd9f7d2.tar.gz", + "hash": "15lr2x5ndhhls40057m1kdain475gzwfl4ywgj0x9vqb1sinrsm6" }, "showrt": { "type": "Git", @@ -204,9 +204,9 @@ "repo": "sops-nix" }, "branch": "master", - "revision": "b5974d4331fb6c893e808977a2e1a6d34b3162d6", - "url": "https://github.com/Mic92/sops-nix/archive/b5974d4331fb6c893e808977a2e1a6d34b3162d6.tar.gz", - "hash": "1aya9h1nnghzn3qhsvxh0z5579blkirjw7hgw2nbxgx4cp5n03r8" + "revision": "f30b1bac192e2dc252107ac8a59a03ad25e1b96e", + "url": "https://github.com/Mic92/sops-nix/archive/f30b1bac192e2dc252107ac8a59a03ad25e1b96e.tar.gz", + "hash": "0rs0dr9s5cknld1gd77szcln8i3dx0wji49ry6rw7dlfnicsic6g" }, "traveltext": { "type": "Git", @@ -215,9 +215,9 @@ "url": "https://stuebinm.eu/git/traveltext" }, "branch": "main", - "revision": "b6080abc5661f9323593944f5701d7dd7597afb9", + "revision": "0a3aad3a4e31049b36832827a5b3afff1334bff8", "url": null, - "hash": "0rwfkkq46j7yjbkv3ylpsifzlhq7qlc2svzpbwjyqm65d53dyalm" + "hash": "1pxzngg7lyacnc260h7v63yl4vbh74h1ipkfrff71qk7lg4xvcyg" }, "uplcg": { "type": "Git", |