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