restructuring5

This commit is contained in:
cnst
2024-06-24 20:59:48 +02:00
parent c130053edf
commit d1b3c635c8
11 changed files with 120 additions and 61 deletions

76
hosts/common/default.nix Normal file
View File

@@ -0,0 +1,76 @@
# This file (and the global directory) holds config that i use on all hosts
{
inputs,
outputs,
pkgs,
...
}:
{
imports = [
inputs.home-manager.nixosModules.home-manager
./adb.nix
./hyprland.nix
./neovim.nix
./zsh.nix
];
home-manager = {
useGlobalPkgs = true;
extraSpecialArgs = {
inherit inputs outputs;
};
};
nixpkgs = {
overlays = [ ];
config = {
allowUnfree = true;
};
};
environment = {
systemPackages = [
# Dev
pkgs.git
pkgs.pyright
pkgs.python3
pkgs.gcc
pkgs.go
pkgs.nodePackages_latest.npm
pkgs.nodePackages_latest.nodejs
pkgs.nodePackages.prettier
pkgs.nodePackages.prettier-plugin-toml
pkgs.lua-language-server
pkgs.stylua
pkgs.prettierd
pkgs.cargo
pkgs.hyprlang
pkgs.nixd
pkgs.nil
pkgs.black
pkgs.python312Packages.jedi-language-server
pkgs.isort
pkgs.bacon
pkgs.clang
pkgs.clang-tools
pkgs.alejandra
# Util
pkgs.stow
pkgs.gnumake
pkgs.wget
pkgs.curl
pkgs.ripgrep
pkgs.python312Packages.oauth2
pkgs.python312Packages.httplib2
pkgs.python312Packages.pip
pkgs.killall
pkgs.tree-sitter
pkgs.lazygit
pkgs.tmux
pkgs.tmuxifier
pkgs.unzip
pkgs.p7zip
pkgs.unrar
pkgs.xdg-utils
pkgs.xdg-user-dirs
];
};
}