From d3feec1ead7df6cf990ee69af97afc58b084f2d0 Mon Sep 17 00:00:00 2001 From: sajenim Date: Tue, 2 May 2023 16:41:10 +0800 Subject: [PATCH] add some flakes --- flake.lock | 178 ++++++++++++++++++++++++++++++++++++++++++++++++++++- flake.nix | 2 + 2 files changed, 179 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 2d0e29e..a567b7b 100644 --- a/flake.lock +++ b/flake.lock @@ -63,6 +63,42 @@ "type": "github" } }, + "flake-parts": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1680392223, + "narHash": "sha256-n3g7QFr85lDODKt250rkZj2IFS3i4/8HBU2yKHO3tqw=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "dcc36e45d054d7bb554c9cdab69093debd91a0b5", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_2": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_2" + }, + "locked": { + "lastModified": 1680392223, + "narHash": "sha256-n3g7QFr85lDODKt250rkZj2IFS3i4/8HBU2yKHO3tqw=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "dcc36e45d054d7bb554c9cdab69093debd91a0b5", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1676283394, @@ -93,6 +129,36 @@ "type": "github" } }, + "haskell-flake": { + "locked": { + "lastModified": 1682714267, + "narHash": "sha256-DsGj9AIKqKcWQQOuwbFU77rkehaICzISHhH7aezZ6OQ=", + "owner": "srid", + "repo": "haskell-flake", + "rev": "a904caac3e4638f84a28102762bf767dd1ae50c0", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "haskell-flake", + "type": "github" + } + }, + "haskell-flake_2": { + "locked": { + "lastModified": 1682714267, + "narHash": "sha256-DsGj9AIKqKcWQQOuwbFU77rkehaICzISHhH7aezZ6OQ=", + "owner": "srid", + "repo": "haskell-flake", + "rev": "a904caac3e4638f84a28102762bf767dd1ae50c0", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "haskell-flake", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -207,6 +273,42 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "dir": "lib", + "lastModified": 1680213900, + "narHash": "sha256-cIDr5WZIj3EkKyCgj/6j3HBH4Jj1W296z7HTcWj1aMA=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e3652e0735fbec227f342712f180f4f21f0594f2", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-lib_2": { + "locked": { + "dir": "lib", + "lastModified": 1680213900, + "narHash": "sha256-cIDr5WZIj3EkKyCgj/6j3HBH4Jj1W296z7HTcWj1aMA=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e3652e0735fbec227f342712f180f4f21f0594f2", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-unstable": { "locked": { "lastModified": 1682109806, @@ -223,6 +325,38 @@ "type": "github" } }, + "nixpkgs_2": { + "locked": { + "lastModified": 1682779028, + "narHash": "sha256-tFfSbwSLobpHRznAa35KEU3R+fsFWTlmpFhTUdXq8RE=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "54abe781c482f51ff4ff534ebaba77db5bd97442", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { + "locked": { + "lastModified": 1682779028, + "narHash": "sha256-tFfSbwSLobpHRznAa35KEU3R+fsFWTlmpFhTUdXq8RE=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "54abe781c482f51ff4ff534ebaba77db5bd97442", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "river-src": { "flake": false, "locked": { @@ -251,7 +385,9 @@ ], "nixpkgs-f2k": "nixpkgs-f2k", "nixpkgs-unstable": "nixpkgs-unstable", - "stable": "stable" + "stable": "stable", + "xmobar-jsm": "xmobar-jsm", + "xmonad-jsm": "xmonad-jsm" } }, "rust-analyzer-src": { @@ -332,6 +468,46 @@ "type": "git", "url": "https://github.com/wez/wezterm.git" } + }, + "xmobar-jsm": { + "inputs": { + "flake-parts": "flake-parts", + "haskell-flake": "haskell-flake", + "nixpkgs": "nixpkgs_2" + }, + "locked": { + "lastModified": 1682990712, + "narHash": "sha256-T50x69VeO/ZOF/FT4sY/sZ6tpILSv0wAhvnUwxtO/jA=", + "owner": "sajenim", + "repo": "xmobar-jsm", + "rev": "29a52ad859b46eb8fdd08993c953a45c1cab1c93", + "type": "github" + }, + "original": { + "owner": "sajenim", + "repo": "xmobar-jsm", + "type": "github" + } + }, + "xmonad-jsm": { + "inputs": { + "flake-parts": "flake-parts_2", + "haskell-flake": "haskell-flake_2", + "nixpkgs": "nixpkgs_3" + }, + "locked": { + "lastModified": 1682987284, + "narHash": "sha256-2PnDe/1VDEUGCrBNie11LGqBU3mTHLJi9CKTiMW14/Q=", + "owner": "sajenim", + "repo": "xmonad-jsm", + "rev": "9b39c82ae4bb5f29fa81eaf7d6a7111653cedcf0", + "type": "github" + }, + "original": { + "owner": "sajenim", + "repo": "xmonad-jsm", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 86a2a5f..a590af5 100644 --- a/flake.nix +++ b/flake.nix @@ -12,6 +12,8 @@ # Add any other flake you might need nixpkgs-f2k.url = "github:fortuneteller2k/nixpkgs-f2k"; + xmonad-jsm.url = "github:sajenim/xmonad-jsm"; + xmobar-jsm.url = "github:sajenim/xmobar-jsm"; # Default branch nixpkgs.follows = "nixos-unstable";