mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-25 02:22:18 +00:00
Compare commits
5 commits
7a6cdae88c
...
e57eb47f9e
Author | SHA1 | Date | |
---|---|---|---|
e57eb47f9e | |||
47c23c83f3 | |||
a253a97430 | |||
86bf3930de | |||
5942437eeb |
4 changed files with 28 additions and 13 deletions
24
flake.lock
24
flake.lock
|
@ -9,11 +9,11 @@
|
|||
},
|
||||
"locked": {
|
||||
"dir": "pkgs/firefox-addons",
|
||||
"lastModified": 1701921769,
|
||||
"narHash": "sha256-7yjhJkx4KL6ky1kUvxy57rm/qH1bmnawI6OZk9+sYR0=",
|
||||
"lastModified": 1702195824,
|
||||
"narHash": "sha256-jvAv0Ah0bDl8us8mEglQOIcN4e/gBm6DYGa6NPYHY7o=",
|
||||
"owner": "rycee",
|
||||
"repo": "nur-expressions",
|
||||
"rev": "acfb6a9e679bb21eca5d8ad28008188d3a199777",
|
||||
"rev": "f1b7b6c130755d6e37a477c9772f4625ab1d1ece",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
|
@ -60,11 +60,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1701728041,
|
||||
"narHash": "sha256-x0pyrI1vC8evVDxCxyO6olOyr4wlFg9+VS3C3p4xFYQ=",
|
||||
"lastModified": 1702203126,
|
||||
"narHash": "sha256-4BhN2Vji19MzRC7SUfPZGmtZ2WZydQeUk/ogfRBIZMs=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "ac7216918cd65f3824ba7817dea8f22e61221eaf",
|
||||
"rev": "defbb9c5857e157703e8fc7cf3c2ceb01cb95883",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -75,11 +75,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1701718080,
|
||||
"narHash": "sha256-6ovz0pG76dE0P170pmmZex1wWcQoeiomUZGggfH9XPs=",
|
||||
"lastModified": 1702151865,
|
||||
"narHash": "sha256-9VAt19t6yQa7pHZLDbil/QctAgVsA66DLnzdRGqDisg=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2c7f3c0fb7c08a0814627611d9d7d45ab6d75335",
|
||||
"rev": "666fc80e7b2afb570462423cb0e1cf1a3a34fedd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -91,11 +91,11 @@
|
|||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1701802827,
|
||||
"narHash": "sha256-wTn0lpV75Uv6tU6haEypNsmnJJPb0hpaMIy/4uf5AiQ=",
|
||||
"lastModified": 1701952659,
|
||||
"narHash": "sha256-TJv2srXt6fYPUjxgLAL0cy4nuf1OZD4KuA1TrCiQqg0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a804fc878d7ba1558b960b4c64b0903da426ac41",
|
||||
"rev": "b4372c4924d9182034066c823df76d6eaf1f4ec4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
./eza.nix
|
||||
./git.nix
|
||||
./fish.nix
|
||||
./nix-index.nix
|
||||
./tmux.nix
|
||||
./vim.nix
|
||||
];
|
||||
|
|
14
home/features/cli/nix-index.nix
Normal file
14
home/features/cli/nix-index.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
hasPackage = pname: lib.any (p: p ? pname && p.name == pname) config.home.packages;
|
||||
hasFish = hasPackage "fish";
|
||||
in
|
||||
{
|
||||
programs.nix-index = {
|
||||
enable = true;
|
||||
enableFishIntegration = mkIf hasFish true;
|
||||
};
|
||||
|
||||
programs.command-not-found.enable = false;
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{ pkgs, inputs, outputs, lib, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
google-chrome-beta
|
||||
google-chrome
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue