From 67dd3bd65dad017c8b78147d307bdd9b75bf5abf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Sat, 26 Aug 2023 11:47:07 +0200 Subject: [PATCH] build: update inputs --- flake.lock | 130 ++++++++++++-------------- modules/programs/hyprland/default.nix | 21 +---- overlays/packages.nix | 2 +- 3 files changed, 63 insertions(+), 90 deletions(-) diff --git a/flake.lock b/flake.lock index 6a0eb62..e03935e 100644 --- a/flake.lock +++ b/flake.lock @@ -191,11 +191,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1689068808, - "narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=", + "lastModified": 1692799911, + "narHash": "sha256-3eihraek4qL744EvQXsK1Ha6C3CR7nnT8X2qWap4RNk=", "owner": "numtide", "repo": "flake-utils", - "rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4", + "rev": "f9e7cf818399d17d347f847525c5a5a8032e4e44", "type": "github" }, "original": { @@ -322,11 +322,11 @@ "hmts-nvim": { "flake": false, "locked": { - "lastModified": 1691525513, - "narHash": "sha256-il5m+GlNt0FzZjefl1q8ZxWHg0+gQps0vigt+eoIy8A=", + "lastModified": 1692743873, + "narHash": "sha256-lfqJVj1HbFJ5H4mo6rKYrexaosqSh17+PQ9BWpcuxZI=", "owner": "calops", "repo": "hmts.nvim", - "rev": "594dd17c870afb7f6517723c8963f6eb144e3c0d", + "rev": "34b825bd1c9ec1b6e2952c111753e2eb286c9e07", "type": "github" }, "original": { @@ -363,11 +363,11 @@ ] }, "locked": { - "lastModified": 1692131549, - "narHash": "sha256-MFjI8NL63/6HjMZpvJgnB/Pgg2dht22t45jOYtipZig=", + "lastModified": 1692763155, + "narHash": "sha256-qMrGKZ8c/q/mHO3ZdrcBPwiVVXPLLgXjY98Ejqb5kAA=", "owner": "nix-community", "repo": "home-manager", - "rev": "75cfe974e2ca05a61b66768674032b4c079e55d4", + "rev": "6a20e40acaebf067da682661aa67da8b36812606", "type": "github" }, "original": { @@ -403,11 +403,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1692182360, - "narHash": "sha256-FSJEeAQj0viz52+GE774GiOOtU0X2B2KgXnRCgogSaU=", + "lastModified": 1692871050, + "narHash": "sha256-OJ/OkOLFn546rcXmj/3VEGlsPYjdXWAhEmjqdc6re6k=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "78fa8adadc146a7efeebf63438c1140662484fba", + "rev": "90c03e5bd2204ba6d1a0167c68f65b7a9231bef4", "type": "github" }, "original": { @@ -446,11 +446,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1691060455, - "narHash": "sha256-V5ulB9CkGh1ghiC4BKvRdoYKZzpaiOKzAOUmJIFkgM0=", + "lastModified": 1692480535, + "narHash": "sha256-3Q0Uz/JPW9USHyAmrzRl6KhZLqMYTWkmtL3RA+oAeVY=", "owner": "hyprwm", "repo": "hyprpaper", - "rev": "e498c438b1e16dcf32ecb3030b20b83f7ed9ff6d", + "rev": "5e73eb60552d48d55541c60f9a8da2b666003fe6", "type": "github" }, "original": { @@ -477,11 +477,11 @@ }, "master": { "locked": { - "lastModified": 1692198797, - "narHash": "sha256-4MwKoXIBfNI85zZ/tHyLT+M7sF2Zb0XoyhdXtlM6g2c=", + "lastModified": 1692893187, + "narHash": "sha256-Hbbp6bWQykkLsvzi7yo2KQme0oXCZkCdz9bBorcSKH4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "c85be71df497312de66b65df8d7ad7b5c0c81d04", + "rev": "d240553dcc2180fe486155bea8a846d5941e168c", "type": "github" }, "original": { @@ -492,14 +492,17 @@ }, "naersk": { "inputs": { - "nixpkgs": "nixpkgs_8" + "nixpkgs": [ + "timers", + "nixpkgs" + ] }, "locked": { - "lastModified": 1686572087, - "narHash": "sha256-jXTut7ZSYqLEgm/nTk7TuVL2ExahTip605bLINklAnQ=", + "lastModified": 1692351612, + "narHash": "sha256-KTGonidcdaLadRnv9KFgwSMh1ZbXoR/OBmPjeNMhFwU=", "owner": "nix-community", "repo": "naersk", - "rev": "8507af04eb40c5520bd35d9ce6f9d2342cea5ad1", + "rev": "78789c30d64dea2396c9da516bbcc8db3a475207", "type": "github" }, "original": { @@ -519,11 +522,11 @@ }, "locked": { "dir": "contrib", - "lastModified": 1692141167, - "narHash": "sha256-1My5JBKfHupN9D86eeX8JFr2Wk03qWJObk73NC1/x2s=", + "lastModified": 1692744130, + "narHash": "sha256-Iod6+KGeWnX1SV4owXpSoC17iImCJjTq2iqEp6IRBZc=", "owner": "neovim", "repo": "neovim", - "rev": "f92bda1dad462de81ec92134dfa9ba637edc7bb7", + "rev": "6462ee1c10f9f1aa66ffc4d4fe1b7b3d9f0f91af", "type": "github" }, "original": { @@ -542,11 +545,11 @@ "nixpkgs": "nixpkgs_5" }, "locked": { - "lastModified": 1692144319, - "narHash": "sha256-sJ7KT+dfLEQbsNI2G+ZLKQ0tIS72roMv+xjC+0bTS9k=", + "lastModified": 1692749096, + "narHash": "sha256-XyFSBw3WMf5cTG9ImL6S/v9Aoawr38h/Fr1XIi7peEs=", "owner": "nix-community", "repo": "neovim-nightly-overlay", - "rev": "3632032784ed4a7f761a61a3337f2e1d61210eae", + "rev": "83d68ba72f3308b5c90b12fb40044c870903e6ee", "type": "github" }, "original": { @@ -589,11 +592,11 @@ "nixpkgs-regression": "nixpkgs-regression" }, "locked": { - "lastModified": 1689005785, - "narHash": "sha256-gxJmO6Y6L+iEgIhBlyOLlruQQqixERkWkByYSH4LaTg=", + "lastModified": 1691953666, + "narHash": "sha256-HxgMSgoM19OnDb4h47nrxI2lRGsDo+4Y4JEHeCoWB+Q=", "owner": "privatevoid-net", "repo": "nix-super", - "rev": "6ff67e40b495e79aa6b2dc9356f1e9ade3b77bca", + "rev": "65e8abac80cc06f9f05147b51908a47549e9342e", "type": "github" }, "original": { @@ -670,11 +673,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1691654369, - "narHash": "sha256-gSILTEx1jRaJjwZxRlnu3ZwMn1FVNk80qlwiCX8kmpo=", + "lastModified": 1692638711, + "narHash": "sha256-J0LgSFgJVGCC1+j5R2QndadWI1oumusg6hCtYAzLID4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e", + "rev": "91a22f76cd1716f9d0149e8a5c68424bb691de15", "type": "github" }, "original": { @@ -718,11 +721,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1692067901, - "narHash": "sha256-kq8Pf/nmlXECDWMkQSRGQkjWsA6G0pjzZkfUEaTmXJE=", + "lastModified": 1692557222, + "narHash": "sha256-TCOtZaioLf/jTEgfa+nyg0Nwq5Uc610Z+OFV75yUgGw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "ea95c0917609e5c48023cc7c6141bea2fdf13970", + "rev": "0b07d4957ee1bd7fd3bdfd12db5f361bd70175a6", "type": "github" }, "original": { @@ -734,11 +737,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1692128808, - "narHash": "sha256-Di1Zm/P042NuwThMiZNrtmaAjd4Tm2qBOKHX7xUOfMk=", + "lastModified": 1692808169, + "narHash": "sha256-x9Opq06rIiwdwGeK2Ykj69dNc2IvUH1fY55Wm7atwrE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4ed9856be002a730234a1a1ed9dcd9dd10cbdb40", + "rev": "9201b5ff357e781bf014d0330d18555695df7ba8", "type": "github" }, "original": { @@ -766,24 +769,11 @@ }, "nixpkgs_8": { "locked": { - "lastModified": 1685677062, - "narHash": "sha256-zoHF7+HNwNwne2XEomphbdc4Y8tdWT16EUxUTXpOKpQ=", - "path": "/nix/store/dnqwkazyg92hzya7400klxlk072g3zsk-source", - "rev": "95be94370d09f97f6af6a1df1eb9649b5260724e", - "type": "path" - }, - "original": { - "id": "nixpkgs", - "type": "indirect" - } - }, - "nixpkgs_9": { - "locked": { - "lastModified": 1687103638, - "narHash": "sha256-dwy/TK6Db5W7ivcgmcxUykhFwodIg0jrRzOFt7H5NUc=", + "lastModified": 1692934111, + "narHash": "sha256-9EEE59v/esKNMR5zKbLRV9NoRPYvERw5jHQOnfr47bk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "91430887645a0953568da2f3e9a3a3bb0a0378ac", + "rev": "1e44a037bbf4fcaba041436e65e87be88f3f495b", "type": "github" }, "original": { @@ -818,11 +808,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1691747570, - "narHash": "sha256-J3fnIwJtHVQ0tK2JMBv4oAmII+1mCdXdpeCxtIsrL2A=", + "lastModified": 1692274144, + "narHash": "sha256-BxTQuRUANQ81u8DJznQyPmRsg63t4Yc+0kcyq6OLz8s=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "c5ac3aa3324bd8aebe8622a3fc92eeb3975d317a", + "rev": "7e3517c03d46159fdbf8c0e5c97f82d5d4b0c8fa", "type": "github" }, "original": { @@ -916,11 +906,11 @@ }, "stable": { "locked": { - "lastModified": 1692134936, - "narHash": "sha256-Z68O969cioC6I3k/AFBxsuEwpJwt4l9fzwuAMUhCCs0=", + "lastModified": 1692794066, + "narHash": "sha256-H0aG8r16dj0x/Wz6wQhQxc9V7AsObOiHPaKxQgH6Y08=", "owner": "nixos", "repo": "nixpkgs", - "rev": "bfd953b2c6de4f550f75461bcc5768b6f966be10", + "rev": "fc944919f743bb22379dddf18dcb72db6cff84aa", "type": "github" }, "original": { @@ -1024,15 +1014,15 @@ "timers": { "inputs": { "naersk": "naersk", - "nixpkgs": "nixpkgs_9", + "nixpkgs": "nixpkgs_8", "utils": "utils" }, "locked": { - "lastModified": 1692198673, - "narHash": "sha256-kLhdmJ4uI248caVxQhYSq+IA+xQHDcp5in4eI8sJphk=", + "lastModified": 1693040925, + "narHash": "sha256-AhJSwmp7XN/9V66EYHFnNuIAjqOrYUN3LGRjwrTN6T0=", "ref": "refs/heads/main", - "rev": "37dc5c727a3d73778d6ee9d63c1468357cf0ed72", - "revCount": 20, + "rev": "739f76fa90271860e2c1d683e3a53cfb93e6eb89", + "revCount": 27, "type": "git", "url": "https://gitea.moritzboeh.me/moritz/timers.git" }, @@ -1046,11 +1036,11 @@ "systems": "systems_5" }, "locked": { - "lastModified": 1687171271, - "narHash": "sha256-BJlq+ozK2B1sJDQXS3tzJM5a+oVZmi1q0FlBK/Xqv7M=", + "lastModified": 1692799911, + "narHash": "sha256-3eihraek4qL744EvQXsK1Ha6C3CR7nnT8X2qWap4RNk=", "owner": "numtide", "repo": "flake-utils", - "rev": "abfb11bd1aec8ced1c9bb9adfe68018230f4fb3c", + "rev": "f9e7cf818399d17d347f847525c5a5a8032e4e44", "type": "github" }, "original": { diff --git a/modules/programs/hyprland/default.nix b/modules/programs/hyprland/default.nix index c9b387a..e208565 100644 --- a/modules/programs/hyprland/default.nix +++ b/modules/programs/hyprland/default.nix @@ -61,18 +61,6 @@ in home-manager.users.moritz.programs.waybar = { enable = true; - # use package with hyprland support for switching workspaces - package = pkgs.symlinkJoin { - name = "waybar-hyprland"; - paths = [ pkgs.waybar-hyprland ]; - nativeBuildInputs = [ pkgs.makeWrapper ]; - postBuild = '' - wrapProgram $out/bin/waybar \ - --prefix PATH ":" "${hyprland}/bin" - ''; - }; - - # start using systemd service systemd = { enable = true; @@ -84,14 +72,9 @@ in layer = "top"; position = "top"; height = 20; - modules-left = [ "wlr/workspaces" ]; + modules-left = [ "hyprland/workspaces" ]; modules-center = [ "hyprland/window" ]; - modules-right = [ "network" "memory" "cpu" "battery" "clock" ]; - modules = { - "wlr/workspaces" = { - on-click = "activate"; - }; - }; + modules-right = [ "hyprland/language" "network" "memory" "cpu" "battery" "clock" ]; }; }; }; diff --git a/overlays/packages.nix b/overlays/packages.nix index ceef671..66b2624 100644 --- a/overlays/packages.nix +++ b/overlays/packages.nix @@ -10,7 +10,7 @@ final: prev: src = inputs.rofi-wayland; version = lib.my.mkVersionInput inputs.rofi-wayland; }); - timers = inputs.timers.defaultPackage.${prev.system}; + timers = inputs.timers.packages.${prev.system}.default; fzf1 = final.writeShellApplication { name = "fzf1";