refactor: flake.nix looks nicer
This commit is contained in:
parent
65655e8391
commit
71a947e285
3 changed files with 50 additions and 227 deletions
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, osConfig, ... }:
|
||||
{
|
||||
pkgs,
|
||||
osConfig,
|
||||
type,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
@ -14,6 +19,7 @@
|
|||
bindkey '^H' backward-kill-word
|
||||
# Set Cargo Registry Token
|
||||
export CARGO_REGISTRY_TOKEN="$(cat ${osConfig.sops.secrets.cargo_api_key.path})"
|
||||
export SYSTEM_TYPE="${type}"
|
||||
'';
|
||||
# TODO: Look into whether we need to add the history attribute
|
||||
profileExtra = # bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue