Last active
April 14, 2023 18:18
-
-
Save bketelsen/7ce14928312b127aae392ea70edb5eac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"aliases": { | |
"bluefin": "cd ~/projects/ublue/bluefin", | |
"cdfleek": "cd ~/projects/ublue/fleek", | |
"fleeks": "cd ~/.local/share/fleek", | |
"gcb": "git checkout -b", | |
"gitmain": "git checkout main && git pull", | |
"projects": "cd ~/projects", | |
"ublue": "cd ~/projects/ublue" | |
}, | |
"bling": "high", | |
"ejected": false, | |
"flakedir": ".local/share/fleek", | |
"git": { | |
"autocommit": true, | |
"autopull": true, | |
"autopush": true, | |
"enabled": true | |
}, | |
"username": "brian", | |
"name": "Fleek Configuration", | |
"packages": [ | |
"helix", | |
"go", | |
"gcc", | |
"nodejs", | |
"yarn", | |
"rustup", | |
"vhs", | |
"dive", | |
"virt-manager", | |
"nixpkgs-fmt" | |
], | |
"paths": [ | |
"$HOME/bin", | |
"$HOME/.local/bin", | |
"$HOME/go/bin" | |
], | |
"programs": [ | |
"dircolors" | |
], | |
"completion": false, | |
"shell": "zsh", | |
"systems": [ | |
{ | |
"arch": "x86_64", | |
"hostname": "ghanima", | |
"os": "linux", | |
"username": "bjk" | |
}, | |
{ | |
"arch": "aarch64", | |
"hostname": "f84d89911e5d.ant.amazon.com", | |
"os": "darwin", | |
"username": "brianjk" | |
}, | |
{ | |
"arch": "x86_64", | |
"hostname": "beast", | |
"os": "linux", | |
"username": "bjk" | |
} | |
], | |
"unfree": true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, lib, ... }: | |
let | |
types = lib.types; | |
fleekConfig = builtins.fromJSON (builtins.readFile ./.fleek.json); | |
in | |
{ | |
options = { | |
name = lib.mkOption { | |
type = types.nullOr types.str; | |
description = "Name of the project."; | |
default = null; | |
}; | |
packages = lib.mkOption { | |
type = types.listOf types.package; | |
description = "A list of packages to expose inside the developer environment. Search available packages using ``devenv search NAME``."; | |
default = [ ]; | |
}; | |
}; | |
config = { | |
packages = builtins.trace fleekConfig.packages fleekConfig.packages; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment