aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flake.lock30
-rw-r--r--modules/tools/default.nix1
-rw-r--r--modules/tools/unar/default.nix13
-rw-r--r--users/arpit.nix1
4 files changed, 30 insertions, 15 deletions
diff --git a/flake.lock b/flake.lock
index a9e6453..c943f88 100644
--- a/flake.lock
+++ b/flake.lock
@@ -26,11 +26,11 @@
]
},
"locked": {
- "lastModified": 1765495779,
- "narHash": "sha256-MhA7wmo/7uogLxiewwRRmIax70g6q1U/YemqTGoFHlM=",
+ "lastModified": 1765835352,
+ "narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=",
"owner": "hercules-ci",
"repo": "flake-parts",
- "rev": "5635c32d666a59ec9a55cab87e898889869f7b71",
+ "rev": "a34fae9c08a15ad73f295041fec82323541400a9",
"type": "github"
},
"original": {
@@ -62,11 +62,11 @@
]
},
"locked": {
- "lastModified": 1765682243,
- "narHash": "sha256-yeCxFV/905Wr91yKt5zrVvK6O2CVXWRMSrxqlAZnLp0=",
+ "lastModified": 1765980955,
+ "narHash": "sha256-rB45jv4uwC90vM9UZ70plfvY/2Kdygs+zlQ07dGQFk4=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "58bf3ecb2d0bba7bdf363fc8a6c4d49b4d509d03",
+ "rev": "89c9508bbe9b40d36b3dc206c2483ef176f15173",
"type": "github"
},
"original": {
@@ -78,11 +78,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1765472234,
- "narHash": "sha256-9VvC20PJPsleGMewwcWYKGzDIyjckEz8uWmT0vCDYK0=",
+ "lastModified": 1765779637,
+ "narHash": "sha256-KJ2wa/BLSrTqDjbfyNx70ov/HdgNBCBBSQP3BIzKnv4=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "2fbfb1d73d239d2402a8fe03963e37aab15abe8b",
+ "rev": "1306659b587dc277866c7b69eb97e5f07864d8c4",
"type": "github"
},
"original": {
@@ -94,11 +94,11 @@
},
"nixpkgs_2": {
"locked": {
- "lastModified": 1765425892,
- "narHash": "sha256-jlQpSkg2sK6IJVzTQBDyRxQZgKADC2HKMRfGCSgNMHo=",
+ "lastModified": 1766025857,
+ "narHash": "sha256-Lav5jJazCW4mdg1iHcROpuXqmM94BWJvabLFWaJVJp0=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "5d6bdbddb4695a62f0d00a3620b37a15275a5093",
+ "rev": "def3da69945bbe338c373fddad5a1bb49cf199ce",
"type": "github"
},
"original": {
@@ -115,11 +115,11 @@
"systems": "systems"
},
"locked": {
- "lastModified": 1765646394,
- "narHash": "sha256-yqeB023/s/SOxhpm4SFKBDHagzn5L/KF7bCA10ZH/Q4=",
+ "lastModified": 1766148816,
+ "narHash": "sha256-rcyaKzrFhkMHCQlC/dm5dR3vwIAGvUXOXoEZRIPGo0I=",
"owner": "nix-community",
"repo": "nixvim",
- "rev": "c97e8e34250c7fe5d4e0c3333a0ca4a9d28957d0",
+ "rev": "0ef5923c84d74ff03914940190a8ab167c2db724",
"type": "github"
},
"original": {
diff --git a/modules/tools/default.nix b/modules/tools/default.nix
index 13c72a6..fdf628a 100644
--- a/modules/tools/default.nix
+++ b/modules/tools/default.nix
@@ -25,6 +25,7 @@
./playerctl
./rofi
./tmux
+ ./unar
./vlc
./zsh
];
diff --git a/modules/tools/unar/default.nix b/modules/tools/unar/default.nix
new file mode 100644
index 0000000..3594bec
--- /dev/null
+++ b/modules/tools/unar/default.nix
@@ -0,0 +1,13 @@
+{ pkgs, lib, config, ... }:
+
+{
+ options.tools.unar = {
+ enable = lib.mkEnableOption "Enables unar.";
+ };
+
+ config = lib.mkIf config.tools.unar.enable {
+ home.packages = with pkgs; [
+ unar
+ ];
+ };
+}
diff --git a/users/arpit.nix b/users/arpit.nix
index 3cc3f83..a6c1281 100644
--- a/users/arpit.nix
+++ b/users/arpit.nix
@@ -36,6 +36,7 @@
tools.playerctl.enable = true;
tools.rofi.enable = true;
tools.tmux.enable = true;
+ tools.unar.enable = true;
tools.vlc.enable = true;
tools.zsh.enable = true;