feat: use home-manager more for echidna

feat/kile-v2
Ricard Illa 2023-03-17 18:25:21 +01:00
parent e329bee215
commit 32c8d1df89
2 changed files with 16 additions and 16 deletions

View File

@ -8,6 +8,8 @@ in {
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
# nixpkgs.config.permittedInsecurePackages = [ "python-2.7.18.6" ];
# List packages installed in system profile. To search by name, run: # List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget # $ nix-env -qaP | grep wget
# environment.systemPackages = [ ]; # environment.systemPackages = [ ];
@ -47,17 +49,18 @@ in {
pkgs.ncmpcpp pkgs.ncmpcpp
pkgs.neofetch pkgs.neofetch
pkgs.neomutt pkgs.neomutt
# pkgs.neovim
pkgs.newsboat pkgs.newsboat
pkgs.nixfmt pkgs.nixfmt
pkgs.nodePackages.pyright pkgs.nodePackages.pyright
pkgs.python310Packages.python-lsp-server
# pkgs.python310Packages.pylsp-mypy
pkgs.openssh pkgs.openssh
pkgs.pinentry_mac pkgs.pinentry_mac
pkgs.pipenv pkgs.pipenv
pkgs.python310Full pkgs.python310Full
pkgs.python310Packages.pip pkgs.python310Packages.pip
pkgs.python310Packages.virtualenvwrapper pkgs.python310Packages.virtualenvwrapper
pkgs.pythonFull # pkgs.pythonFull
pkgs.ripgrep pkgs.ripgrep
pkgs.shellcheck pkgs.shellcheck
pkgs.shfmt pkgs.shfmt
@ -118,13 +121,10 @@ in {
"vitetris" "vitetris"
"yabai" "yabai"
"skhd" "skhd"
"neovim"
"spacebar" "spacebar"
"gnu-getopt" "gnu-getopt"
"coreutils" "coreutils"
"pinentry-mac" "pinentry-mac"
# "qmk"
"dbt-bigquery"
]; ];
taps = [ taps = [
"homebrew/bundle" "homebrew/bundle"
@ -133,8 +133,6 @@ in {
"homebrew/services" "homebrew/services"
"koekeishiya/formulae" "koekeishiya/formulae"
"cmacrae/formulae" "cmacrae/formulae"
# "qmk/qmk"
"dbt-labs/dbt"
]; ];
}; };
@ -153,15 +151,7 @@ in {
home = "/Users/rilla"; home = "/Users/rilla";
}; };
home-manager = { home-manager = { users.rilla.imports = [ home/echidna.nix ]; };
users.rilla = {
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
home.stateVersion = "22.11";
};
};
system.stateVersion = 4; system.stateVersion = 4;
} }

10
home/echidna.nix Normal file
View File

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
imports = [ ./neovim ];
home.stateVersion = "22.11";
}