diff --git a/apps/fsel/home.nix b/apps/fsel/home.nix new file mode 100644 index 0000000..700c1ac --- /dev/null +++ b/apps/fsel/home.nix @@ -0,0 +1,9 @@ +{ + pkgs, + inputs, + ... +}: { + home.packages = [ + inputs.fsel.packages.${pkgs.system}.default + ]; +} diff --git a/apps/hyprland/hypr/binds.nix b/apps/hyprland/hypr/binds.nix index e7e6b33..c24f750 100644 --- a/apps/hyprland/hypr/binds.nix +++ b/apps/hyprland/hypr/binds.nix @@ -18,7 +18,7 @@ # apps "SUPER, W, Open Browser, exec, uwsm app -- firefox" # FIXME: must be xdg-open - "SUPER, SPACE, App Launcher, exec, uwsm app -- walker" + "SUPER, SPACE, App Launcher, exec, uwsm app -- fsel" # [Workspaces] Toggle between most recent workspaces "SUPER, Tab, Cycle workspaces, workspace, previous" diff --git a/flake.lock b/flake.lock index 7a5ba15..decc031 100644 --- a/flake.lock +++ b/flake.lock @@ -143,6 +143,29 @@ "type": "github" } }, + "fenix": { + "inputs": { + "nixpkgs": [ + "fsel", + "naersk", + "nixpkgs" + ], + "rust-analyzer-src": "rust-analyzer-src" + }, + "locked": { + "lastModified": 1752475459, + "narHash": "sha256-z6QEu4ZFuHiqdOPbYss4/Q8B0BFhacR8ts6jO/F/aOU=", + "owner": "nix-community", + "repo": "fenix", + "rev": "bf0d6f70f4c9a9cf8845f992105652173f4b617f", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "fenix", + "type": "github" + } + }, "firefox-gnome-theme": { "flake": false, "locked": { @@ -250,6 +273,24 @@ "url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%3D0.1.5.tar.gz" } }, + "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" + } + }, "fromYaml": { "flake": false, "locked": { @@ -266,6 +307,28 @@ "type": "github" } }, + "fsel": { + "inputs": { + "flake-utils": "flake-utils", + "naersk": "naersk", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1765408827, + "narHash": "sha256-mPfGUZiTDfIPKLzFFIZtiwqiHNy9USBCxO5xvrYakGU=", + "owner": "Mjoyufull", + "repo": "fsel", + "rev": "9444301346e05795a9c77b8308854b7eb63791eb", + "type": "github" + }, + "original": { + "owner": "Mjoyufull", + "repo": "fsel", + "type": "github" + } + }, "gitignore": { "inputs": { "nixpkgs": [ @@ -421,7 +484,7 @@ "nixpkgs" ], "pre-commit-hooks": "pre-commit-hooks", - "systems": "systems_2", + "systems": "systems_3", "xdph": "xdph" }, "locked": { @@ -693,6 +756,25 @@ "type": "github" } }, + "naersk": { + "inputs": { + "fenix": "fenix", + "nixpkgs": "nixpkgs_3" + }, + "locked": { + "lastModified": 1752689277, + "narHash": "sha256-uldUBFkZe/E7qbvxa3mH1ItrWZyT6w1dBKJQF/3ZSsc=", + "owner": "nix-community", + "repo": "naersk", + "rev": "0e72363d0938b0208d6c646d10649164c43f4d64", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "naersk", + "type": "github" + } + }, "nix-github-actions": { "inputs": { "nixpkgs": [ @@ -784,6 +866,22 @@ } }, "nixpkgs_3": { + "locked": { + "lastModified": 1752077645, + "narHash": "sha256-HM791ZQtXV93xtCY+ZxG1REzhQenSQO020cu6rHtAPk=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "be9e214982e20b8310878ac2baa063a961c1bdf6", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { "locked": { "lastModified": 1744536153, "narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=", @@ -799,7 +897,7 @@ "type": "github" } }, - "nixpkgs_4": { + "nixpkgs_5": { "locked": { "lastModified": 1766309749, "narHash": "sha256-3xY8CZ4rSnQ0NqGhMKAy5vgC+2IVK0NoVEzDoOh4DA4=", @@ -815,7 +913,7 @@ "type": "github" } }, - "nixpkgs_5": { + "nixpkgs_6": { "locked": { "lastModified": 1757068644, "narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=", @@ -838,7 +936,7 @@ "nixovim", "nixpkgs" ], - "systems": "systems_3" + "systems": "systems_4" }, "locked": { "lastModified": 1766443759, @@ -906,15 +1004,33 @@ "inputs": { "chaotic": "chaotic", "elephant": "elephant", + "fsel": "fsel", "home-manager": "home-manager_2", "hyprland": "hyprland", "nixovim": "nixovim", - "nixpkgs": "nixpkgs_4", + "nixpkgs": "nixpkgs_5", "sops-nix": "sops-nix", "stylix": "stylix", "walker": "walker" } }, + "rust-analyzer-src": { + "flake": false, + "locked": { + "lastModified": 1752428706, + "narHash": "sha256-EJcdxw3aXfP8Ex1Nm3s0awyH9egQvB2Gu+QEnJn2Sfg=", + "owner": "rust-lang", + "repo": "rust-analyzer", + "rev": "591e3b7624be97e4443ea7b5542c191311aa141d", + "type": "github" + }, + "original": { + "owner": "rust-lang", + "ref": "nightly", + "repo": "rust-analyzer", + "type": "github" + } + }, "rust-overlay": { "inputs": { "nixpkgs": [ @@ -938,7 +1054,7 @@ }, "rust-overlay_2": { "inputs": { - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_4" }, "locked": { "lastModified": 1766544144, @@ -987,7 +1103,7 @@ "nixpkgs" ], "nur": "nur", - "systems": "systems_4", + "systems": "systems_5", "tinted-foot": "tinted-foot", "tinted-kitty": "tinted-kitty", "tinted-schemes": "tinted-schemes", @@ -1024,21 +1140,6 @@ } }, "systems_2": { - "locked": { - "lastModified": 1689347949, - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", - "owner": "nix-systems", - "repo": "default-linux", - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default-linux", - "type": "github" - } - }, - "systems_3": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1053,6 +1154,21 @@ "type": "github" } }, + "systems_3": { + "locked": { + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "owner": "nix-systems", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default-linux", + "type": "github" + } + }, "systems_4": { "locked": { "lastModified": 1681028828, @@ -1069,6 +1185,21 @@ } }, "systems_5": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_6": { "locked": { "lastModified": 1689347949, "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", @@ -1169,8 +1300,8 @@ "elephant": [ "elephant" ], - "nixpkgs": "nixpkgs_5", - "systems": "systems_5" + "nixpkgs": "nixpkgs_6", + "systems": "systems_6" }, "locked": { "lastModified": 1766324177, diff --git a/flake.nix b/flake.nix index d7186d8..9b61448 100644 --- a/flake.nix +++ b/flake.nix @@ -5,6 +5,11 @@ elephant.url = "github:abenz1267/elephant"; chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable"; + fsel = { + url = "github:Mjoyufull/fsel"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; @@ -41,6 +46,7 @@ nixovim, # FIXME: should be inside of modules chaotic, sops-nix, + fsel, ... } @ inputs: let config = import ./config.nix; diff --git a/modules/home/hyprland.nix b/modules/home/hyprland.nix index 1674d77..497958f 100644 --- a/modules/home/hyprland.nix +++ b/modules/home/hyprland.nix @@ -1,7 +1,8 @@ { imports = [ ../../apps/hyprland/home.nix - ../../apps/walker/home.nix + # ../../apps/walker/home.nix + ../../apps/fsel/home.nix ../../apps/hyprpaper/home.nix ]; }