nixos-config

NixOS configs for my systems
Log | Files | Refs

commit 7d513af561ee0a0b64a76ad917c703f0cdba19be
parent 75385892779ec5e01ecad8ddb27c00bdaf07623c
Author: vin <vin@vineetk.net>
Date:   Mon, 17 Feb 2025 01:34:26 -0500

update nixos inputs and add unzip, uvtools, prusa-slicer

Diffstat:
Mflake.lock | 12++++++------
Mhome.nix | 18++++++++++++++++++
2 files changed, 24 insertions(+), 6 deletions(-)

diff --git a/flake.lock b/flake.lock @@ -47,11 +47,11 @@ ] }, "locked": { - "lastModified": 1738428726, - "narHash": "sha256-OUoEgorFHBVnqQ2lITqs6MGN7MH4t/8hLEO29OKu6CM=", + "lastModified": 1738789832, + "narHash": "sha256-HdlMPfObPu5y7oDfH/w3vvlU3UTQ/bQjSULChZARm5M=", "owner": "nix-community", "repo": "home-manager", - "rev": "dae6d3460c8bab3ac9f38a86affe45b32818e764", + "rev": "30ea6fed4e4b41693cebc2263373dd810de4de49", "type": "github" }, "original": { @@ -77,11 +77,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1738396600, - "narHash": "sha256-fWpw3MUUidq+GzuQdgpZwk4Vh4MF6MN2HEyyT2PguGI=", + "lastModified": 1738801271, + "narHash": "sha256-d/4tG8DUwSUL1EVfnlevlWA3zjtlzQOx+8xSUhhpby8=", "owner": "nixos", "repo": "nixpkgs", - "rev": "6eec6bbb933a6dad6cf6afe3d51329f31d22e974", + "rev": "f6c5b2b731ab9fae53cc985efd63eb18e7c170a3", "type": "github" }, "original": { diff --git a/home.nix b/home.nix @@ -48,6 +48,7 @@ in { mlocate ncdu tree + unzip # X and desktop-related scrot @@ -56,6 +57,23 @@ in { xdotool xsel xwallpaper + + # 3d printing + prusa-slicer + (let + pname = "UVtools"; + version = "5.0.6"; + + src = fetchurl { + url = + "https://github.com/sn4k3/${pname}/releases/download/v${version}/${pname}_linux-x64_v${version}.AppImage"; + hash = "sha256-T1E2+7YocWbspRrpWoexfLmm7LZSb4Nkw8WSBD6zTHs"; + }; + + in appimageTools.wrapType2 { + inherit pname version src; + extraPkgs = pkgs: [ pkgs.icu ]; + }) ]; preferXdgDirectories = true;