ma home-manager: use old nixify script again
This commit is contained in:
parent
426e0b0c6d
commit
4c9a1d5666
@ -8,7 +8,7 @@
|
||||
};
|
||||
};
|
||||
imports = [
|
||||
{ #direnv
|
||||
{
|
||||
home-manager.users.makefu.home.packages = [
|
||||
(pkgs.writers.writeDashBin "privatefox" "exec firefox -P Privatefox")
|
||||
];
|
||||
@ -23,12 +23,34 @@
|
||||
};
|
||||
}
|
||||
];
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
environment.pathsToLink = [
|
||||
"/share/zsh"
|
||||
];
|
||||
|
||||
nix.extraOptions = ''
|
||||
keep-outputs = true
|
||||
keep-derivations = true
|
||||
'';
|
||||
|
||||
home-manager.users.makefu = {
|
||||
|
||||
programs.direnv.enable = true;
|
||||
programs.direnv.enableNixDirenvIntegration = true;
|
||||
programs.direnv.enableZshIntegration = true;
|
||||
home.packages = [ (pkgs.writeDashBin "nixify" ''
|
||||
test ! -e shell.nix && cat > shell.nix <<EOF
|
||||
{ pkgs ? import <nixpkgs> {}}:
|
||||
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = [ pkgs.hello ];
|
||||
}
|
||||
EOF
|
||||
echo "use nix" >> .envrc
|
||||
direnv allow
|
||||
'')
|
||||
];
|
||||
#home.packages = [ pkgs.direnv pkgs.nix-direnv ];
|
||||
|
||||
home-manager.users.makefu = {
|
||||
programs.fzf.enable = false; # alt-c
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user