From 1b4427a70c917e423e81309ed5d57a286334bbd5 Mon Sep 17 00:00:00 2001 From: mehbark Date: Thu, 30 May 2024 00:20:50 -0400 Subject: [PATCH] i want to post my most up-to-date emacs --- configuration.nix | 11 +++- flake.lock | 148 ++++++++++++++++++++++++++++------------------ home.nix | 21 ++++--- 3 files changed, 115 insertions(+), 65 deletions(-) diff --git a/configuration.nix b/configuration.nix index fe37ed5..68ffc7b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -136,7 +136,7 @@ in alsa.support32Bit = true; pulse.enable = true; # If you want to use JACK applications, uncomment this - jack.enable = false; + jack.enable = true; # use the example session manager (no others are packaged yet so this is enabled by default, # no need to redefine it in your config for now) @@ -191,6 +191,11 @@ in nixpkgs.config.permittedInsecurePackages = [ "electron-22.3.27" ]; + nixpkgs.overlays = [ + (final: prev: { + blender = prev.blender.override { cudaSupport = true; }; + }) + ]; # List packages installed in system profile. To search, run: # $ nix search wget @@ -257,6 +262,10 @@ in }; }; + services.udev.extraRules = '' + KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl" + ''; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/flake.lock b/flake.lock index bcd875e..689006e 100644 --- a/flake.lock +++ b/flake.lock @@ -28,12 +28,12 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1701704947, - "narHash": "sha256-G2bLYand61E/s652Q+5XSfXdM6XUWixiXRRMd3HvfM4=", - "rev": "b79c8fd3dc0aa174f0918dccfbca66efcd0e9e4e", - "revCount": 405, + "lastModified": 1711118970, + "narHash": "sha256-fRaKydMSwd1zl6ptBKvn5ej2pqtI8xi9dioFmR8QA+g=", + "rev": "73fed26f0231ae650122beb3ac1b7654b5cc682c", + "revCount": 425, "type": "tarball", - "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/fh/0.1.9/018c3585-e222-75a9-ac61-c5916f086445/source.tar.gz" + "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/fh/0.1.10/018e66b1-a218-7f23-949d-ace71c4e4c8b/source.tar.gz" }, "original": { "type": "tarball", @@ -71,11 +71,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1709126324, - "narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "d465f4819400de7c8d874d50b982301f28a84605", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -91,11 +91,11 @@ ] }, "locked": { - "lastModified": 1709204054, - "narHash": "sha256-U1idK0JHs1XOfSI1APYuXi4AEADf+B+ZU4Wifc0pBHk=", + "lastModified": 1716930911, + "narHash": "sha256-t4HT5j3Jy7skRB5PINnxcEBCkgE89rGBpwTI7YS4Ffo=", "owner": "nix-community", "repo": "home-manager", - "rev": "2f3367769a93b226c467551315e9e270c3f78b15", + "rev": "a9b36cbe9292a649222b89fdb9ae9907e9c74086", "type": "github" }, "original": { @@ -104,21 +104,50 @@ "type": "github" } }, + "hyprcursor": { + "inputs": { + "hyprlang": [ + "hyprland", + "hyprlang" + ], + "nixpkgs": [ + "hyprland", + "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1716576411, + "narHash": "sha256-FIN1wMoyePBTtibCbaeJaoKNLuAYIGwLCWAYC1DJanw=", + "owner": "hyprwm", + "repo": "hyprcursor", + "rev": "57298fc4f13c807e50ada2c986a3114b7fc2e621", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprcursor", + "type": "github" + } + }, "hyprland": { "inputs": { - "hyprland-protocols": "hyprland-protocols", + "hyprcursor": "hyprcursor", "hyprlang": "hyprlang", + "hyprwayland-scanner": "hyprwayland-scanner", "nixpkgs": "nixpkgs_2", "systems": "systems_2", - "wlroots": "wlroots", "xdph": "xdph" }, "locked": { - "lastModified": 1709393132, - "narHash": "sha256-KT4nChgG4q70k9sBqK4GW+xTII4KeIAmDM1XbYi5Vr4=", + "lastModified": 1716968065, + "narHash": "sha256-MRgORve3xpie/Cq5r9lmJfbg6e0DGM2IqmBawOW/Ou4=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "8811f4b69ade469285635c539f20194d717c8e17", + "rev": "a60c7283e677ed81a466d1c0c864c8a05e192cac", "type": "github" }, "original": { @@ -131,10 +160,12 @@ "inputs": { "nixpkgs": [ "hyprland", + "xdph", "nixpkgs" ], "systems": [ "hyprland", + "xdph", "systems" ] }, @@ -164,11 +195,11 @@ ] }, "locked": { - "lastModified": 1708787654, - "narHash": "sha256-7ACgM3ZuAhPqurXHUvR2nWMRcnmzGGPjLK6q4DSTelI=", + "lastModified": 1716473782, + "narHash": "sha256-+qLn4lsHU6iL3+HTo1gTQ1tWzet8K9h+IfVemzEQZj8=", "owner": "hyprwm", "repo": "hyprlang", - "rev": "0fce791ba2334aca183f2ed42399518947550d0d", + "rev": "87d5d984109c839482b88b4795db073eb9ed446f", "type": "github" }, "original": { @@ -177,6 +208,31 @@ "type": "github" } }, + "hyprwayland-scanner": { + "inputs": { + "nixpkgs": [ + "hyprland", + "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1716058375, + "narHash": "sha256-CwjWoVnBZE5SBpRx9dgSQGCr4Goxyfcyv3zZbOhVqzk=", + "owner": "hyprwm", + "repo": "hyprwayland-scanner", + "rev": "3afed4364790aebe0426077631af1e164a9650cc", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprwayland-scanner", + "type": "github" + } + }, "naersk": { "inputs": { "nixpkgs": [ @@ -198,11 +254,11 @@ }, "nixlib": { "locked": { - "lastModified": 1708821942, - "narHash": "sha256-jd+E1SD59qty65pwqad2mftzkT6vW5nNFWVuvayh4Zw=", + "lastModified": 1712450863, + "narHash": "sha256-K6IkdtMtq9xktmYPj0uaYc8NsIqHuaAoRBaMgu9Fvrw=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "479831ed8b3c9c7b80533999f880c7d0bf6a491b", + "rev": "3c62b6a12571c9a7f65ab037173ee153d539905f", "type": "github" }, "original": { @@ -219,11 +275,11 @@ ] }, "locked": { - "lastModified": 1709226763, - "narHash": "sha256-GlJ7g2srrtx6s5P2uswZ6Zcpy2u90tomIx+Gstlk97s=", + "lastModified": 1716210724, + "narHash": "sha256-iqQa3omRcHGpWb1ds75jS9ruA5R39FTmAkeR3J+ve1w=", "owner": "nix-community", "repo": "nixos-generators", - "rev": "2c9562e7624fa1b50983fc18d504bf86202bef49", + "rev": "d14b286322c7f4f897ca4b1726ce38cb68596c94", "type": "github" }, "original": { @@ -247,11 +303,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1708807242, - "narHash": "sha256-sRTRkhMD4delO/hPxxi+XwLqPn8BuUq6nnj4JqLwOu0=", + "lastModified": 1716330097, + "narHash": "sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y+VBUeU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "73de017ef2d18a04ac4bfd0c02650007ccb31c2a", + "rev": "5710852ba686cc1fd0d3b8e22b3117d43ba374c2", "type": "github" }, "original": { @@ -263,11 +319,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1709294055, - "narHash": "sha256-7EECkQYoNKJZOf2+miJdrMpxpvsn/qZFwIhUI3fQpLs=", + "lastModified": 1716914467, + "narHash": "sha256-KkT6YM/yNQqirtYj/frn6RRakliB8RDvGqVGGaNhdcU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "ec869190b56a1b4677d24a8bdbcfe80ccea2ece6", + "rev": "4a3fc4cf736b7d2d288d7a8bf775ac8d4c0920b4", "type": "github" }, "original": { @@ -356,31 +412,9 @@ "type": "github" } }, - "wlroots": { - "flake": false, - "locked": { - "host": "gitlab.freedesktop.org", - "lastModified": 1708558866, - "narHash": "sha256-Mz6hCtommq7RQfcPnxLINigO4RYSNt23HeJHC6mVmWI=", - "owner": "wlroots", - "repo": "wlroots", - "rev": "0cb091f1a2d345f37d2ee445f4ffd04f7f4ec9e5", - "type": "gitlab" - }, - "original": { - "host": "gitlab.freedesktop.org", - "owner": "wlroots", - "repo": "wlroots", - "rev": "0cb091f1a2d345f37d2ee445f4ffd04f7f4ec9e5", - "type": "gitlab" - } - }, "xdph": { "inputs": { - "hyprland-protocols": [ - "hyprland", - "hyprland-protocols" - ], + "hyprland-protocols": "hyprland-protocols", "hyprlang": [ "hyprland", "hyprlang" @@ -395,11 +429,11 @@ ] }, "locked": { - "lastModified": 1708696469, - "narHash": "sha256-shh5wmpeYy3MmsBfkm4f76yPsBDGk6OLYRVG+ARy2F0=", + "lastModified": 1716290197, + "narHash": "sha256-1u9Exrc7yx9qtES2brDh7/DDZ8w8ap1nboIOAtCgeuM=", "owner": "hyprwm", "repo": "xdg-desktop-portal-hyprland", - "rev": "1b713911c2f12b96c2574474686e4027ac4bf826", + "rev": "91e48d6acd8a5a611d26f925e51559ab743bc438", "type": "github" }, "original": { diff --git a/home.nix b/home.nix index f408dd7..2d55ba9 100644 --- a/home.nix +++ b/home.nix @@ -44,6 +44,11 @@ in xsel manix shellcheck + jq + file + fd + semgrep + pandoc rlwrap # i like having easy access to a lot of repls @@ -56,11 +61,8 @@ in racket clojure ruby_3_3 + julia gcc - jq - file - fd - cargo clippy @@ -69,8 +71,7 @@ in idris2 haskell-language-server - - semgrep + typst discord steam @@ -90,7 +91,11 @@ in audacious audacity ffmpeg + libjxl + exiftool + godot_4 + blender akku ripgrep @@ -98,6 +103,8 @@ in htop pv helix + numbat + hyperfine lm_sensors libnotify @@ -112,7 +119,6 @@ in yt-dlp qbittorrent - lmms helm @@ -120,6 +126,7 @@ in (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) lmmath + julia-mono # glow and gum are a good example of something that should really be in a flake.nix or whatever ] ++ more-packages;