From 47885b325b63671c5359afcc3c2ebc4ed85f3004 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Fri, 29 Dec 2023 18:51:30 +0100 Subject: more updates --- flake.lock | 44 ++++++++++++++++++++++---------------------- flake.nix | 3 +++ home/home.nix | 27 +++++++++++++-------------- 3 files changed, 38 insertions(+), 36 deletions(-) diff --git a/flake.lock b/flake.lock index ff57086..0343b98 100644 --- a/flake.lock +++ b/flake.lock @@ -19,11 +19,11 @@ "bahnhof-name": { "flake": false, "locked": { - "lastModified": 1701430807, - "narHash": "sha256-uHLVYykXHl/l9kAO7K5WQPhpDMWBRPKiYpZpTtOfAbk=", + "lastModified": 1703551920, + "narHash": "sha256-VNzH+i+JHakDxuWSbO2ztK2OaE8IX7SDevMEG19x/HQ=", "ref": "refs/heads/main", - "rev": "cc5048bdb45bf777b2e823323c655e4c36560892", - "revCount": 22, + "rev": "df9319f8a0e1b67624a42c685f1c12af0eb0e140", + "revCount": 23, "type": "git", "url": "https://stuebinm.eu/git/bahnhof.name" }, @@ -174,11 +174,11 @@ ] }, "locked": { - "lastModified": 1702814678, - "narHash": "sha256-zDtO0jV2QLoddUJinLlTQrQqCUW3dPiIWOSYgg98T7E=", + "lastModified": 1703367386, + "narHash": "sha256-FMbm48UGrBfOWGt8+opuS+uLBLQlRfhiYXhHNcYMS5k=", "owner": "nix-community", "repo": "home-manager", - "rev": "1488651d02c1a7a15e284210f0d380a62d8d8cef", + "rev": "d5824a76bc6bb93d1dce9ebbbcb09a9b6abcc224", "type": "github" }, "original": { @@ -206,11 +206,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1702921762, - "narHash": "sha256-O/rP7gulApQAB47u6szEd8Pn8Biw0d84j5iuP2tcxzY=", + "lastModified": 1703467016, + "narHash": "sha256-/5A/dNPhbQx/Oa2d+Get174eNI3LERQ7u6WTWOlR1eQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d02ffbbe834b5599fc5f134e644e49397eb07188", + "rev": "d02d818f22c777aa4e854efc3242ec451e5d462a", "type": "github" }, "original": { @@ -237,11 +237,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1703063446, - "narHash": "sha256-e59l84kPNX+clUJUvHJ6+0C3Tw+gYeJn/QaH1dr/3kg=", + "lastModified": 1703499205, + "narHash": "sha256-lF9rK5mSUfIZJgZxC3ge40tp1gmyyOXZ+lRY3P8bfbg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "7c33cd6bf01cf09f77bfdf6741cddfffa2cd5640", + "rev": "e1fa12d4f6c6fe19ccb59cac54b5b3f25e160870", "type": "github" }, "original": { @@ -298,11 +298,11 @@ ] }, "locked": { - "lastModified": 1703037971, - "narHash": "sha256-HzfW5MLt+I0DlfPM9sL+Vd1XrywoWiW0LSAez3wp23E=", + "lastModified": 1703643208, + "narHash": "sha256-UL4KO8JxnD5rOycwHqBAf84lExF1/VnYMDC7b/wpPDU=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "16ab5af8f23b63f34dd7a48a68ab3b50dc3dd2b6", + "rev": "ce117f3e0de8262be8cd324ee6357775228687cf", "type": "github" }, "original": { @@ -342,11 +342,11 @@ "utils": "utils_2" }, "locked": { - "lastModified": 1700085753, - "narHash": "sha256-qtib7f3eRwfaUF+VziJXiBcZFqpHCAXS4HlrFsnzzl4=", + "lastModified": 1703666786, + "narHash": "sha256-SLPNpM/rI8XPyVJAxMYAe+n6NiYSpuXvdwPILHP4yZI=", "owner": "simple-nixos-mailserver", "repo": "nixos-mailserver", - "rev": "008d78cc21959e33d0d31f375b88353a7d7121ae", + "rev": "b5023b36a1f6628865cb42b4353bd2ddde0ea9f4", "type": "gitlab" }, "original": { @@ -366,11 +366,11 @@ ] }, "locked": { - "lastModified": 1702937567, - "narHash": "sha256-bUNl3GPqRgTGp13+oV1DrYa1/NHuGHo5SKmr+RqC/2g=", + "lastModified": 1703387502, + "narHash": "sha256-JnWuQmyanPtF8c5yAEFXVWzaIlMxA3EAZCh8XNvnVqE=", "owner": "Mic92", "repo": "sops-nix", - "rev": "f7db64b88dabc95e4f7bee20455f418e7ab805d4", + "rev": "e523e89763ff45f0a6cf15bcb1092636b1da9ed3", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index d6d6c18..1aaeb1f 100644 --- a/flake.nix +++ b/flake.nix @@ -58,6 +58,9 @@ inputs.rust-overlay.overlays.default self.overlays.default ]; + config.permittedInsecurePackages = [ + "schildichat-web-1.11.30-sc.2" + ]; }; mkConfig = imports: config: inputs.nixpkgs.lib.nixosSystem rec { diff --git a/home/home.nix b/home/home.nix index a67a693..15d8e50 100644 --- a/home/home.nix +++ b/home/home.nix @@ -330,23 +330,22 @@ programs.bat = { enable = true; config.wrap = "never"; - }; - - # TODO: remove once programs.bat.syntaxes is in home-manager's release - xdg.configFile = - let - syntaxes = { - isabelle = builtins.readFile - "${inputs.isabelle-utils}/isabelle.sublime-syntax"; - gleam = builtins.readFile (pkgs.fetchFromGitHub { + syntaxes = { + isabelle = { + src = inputs.isabelle-utils; + file = "/isabelle.sublime-syntax"; + }; + gleam = { + src = pkgs.fetchFromGitHub { owner = "molnarmark"; repo = "sublime-gleam"; rev = "2e761cdb1a87539d827987f997a20a35efd68aa9"; sha256 = "sha256-Zj2DKTcO1t9g18qsNKtpHKElbRSc9nBRE2QBzRn9+qs="; - } + "/syntax/gleam.sublime-syntax"); + }; + file = "/syntax/gleam.sublime-syntax"; }; - in with lib; mkMerge ( - flip mapAttrsToList syntaxes (name: body: { - "bat/syntaxes/${name}.sublime-syntax" = { text = body; }; - })); + }; + }; + + xdg.mimeApps.associations.added."x-scheme-handler/tg" = "org.telegram.desktop.deskopt"; } -- cgit v1.2.3