From 870d56c1bff510ef5f94e5e5949645457506e0b2 Mon Sep 17 00:00:00 2001 From: Freya Murphy <freya@freyacat.org> Date: Wed, 5 Feb 2025 22:21:26 -0500 Subject: [PATCH] talc --- flake.lock | 57 ++++++++++++++++++++++++++++++++++- flake.nix | 3 ++ nix/programs/default.nix | 1 + nix/programs/talc/default.nix | 12 ++++++++ 4 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 nix/programs/talc/default.nix diff --git a/flake.lock b/flake.lock index 94a570b..2676a4d 100644 --- a/flake.lock +++ b/flake.lock @@ -49,6 +49,24 @@ "type": "github" } }, + "flake-utils": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "gitignore": { "inputs": { "nixpkgs": [ @@ -449,7 +467,8 @@ "hyprland": "hyprland", "hyprland-plugins": "hyprland-plugins", "nixpkgs": "nixpkgs", - "sops-nix": "sops-nix" + "sops-nix": "sops-nix", + "talc": "talc" } }, "sops-nix": { @@ -487,6 +506,42 @@ "type": "github" } }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "talc": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1738811123, + "narHash": "sha256-Db/gmjC02UkSJnhnmkj2kRXIVp/ypKndUXAA+XvU7WA=", + "ref": "refs/heads/main", + "rev": "344e457c335892554a4d4aeacc201db8b9f50c6f", + "revCount": 57, + "type": "git", + "url": "https://g.trimill.xyz/trimill/talc" + }, + "original": { + "type": "git", + "url": "https://g.trimill.xyz/trimill/talc" + } + }, "xdph": { "inputs": { "hyprland-protocols": [ diff --git a/flake.nix b/flake.nix index f4feb65..786fc78 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,9 @@ # sops sops-nix.url = "github:Mic92/sops-nix"; sops-nix.inputs.nixpkgs.follows = "nixpkgs"; + # talc + talc.url = "git+https://g.trimill.xyz/trimill/talc"; + talc.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { nixpkgs, ... }@inputs: diff --git a/nix/programs/default.nix b/nix/programs/default.nix index be655c4..331587e 100644 --- a/nix/programs/default.nix +++ b/nix/programs/default.nix @@ -13,6 +13,7 @@ ./ssh ./starship ./steam + ./talc ./waybar ./wireguard ./wofi diff --git a/nix/programs/talc/default.nix b/nix/programs/talc/default.nix new file mode 100644 index 0000000..9c59d3f --- /dev/null +++ b/nix/programs/talc/default.nix @@ -0,0 +1,12 @@ +{ config, pkgs, inputs, ... }: + +let + system = pkgs.stdenv.hostPlatform.system; + talc = inputs.talc.packages.${system}; +in { + home-manager.users.${config.user} = { + home.packages = [ + talc.talc + ]; + }; +}