add restruct2
This commit is contained in:
36
hosts/core/adampad-pkgs.nix
Normal file
36
hosts/core/adampad-pkgs.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment = {
|
||||
systemPackages = [
|
||||
# Dev
|
||||
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
|
||||
pkgs.nixpkgs-fmt
|
||||
|
||||
# Util
|
||||
pkgs.python312Packages.pip
|
||||
pkgs.tmux
|
||||
pkgs.tmuxifier
|
||||
];
|
||||
};
|
||||
}
|
||||
1
hosts/core/adb.nix
Normal file
1
hosts/core/adb.nix
Normal file
@@ -0,0 +1 @@
|
||||
{ programs.adb.enable = true; }
|
||||
14
hosts/core/cnix-pkgs.nix
Normal file
14
hosts/core/cnix-pkgs.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{pkgs, ...}: {
|
||||
environment = {
|
||||
systemPackages = [
|
||||
# Dev
|
||||
pkgs.fd
|
||||
pkgs.python3
|
||||
pkgs.hyprlang
|
||||
|
||||
# Util
|
||||
pkgs.tmux
|
||||
pkgs.tmuxifier
|
||||
];
|
||||
};
|
||||
}
|
||||
59
hosts/core/default.nix
Normal file
59
hosts/core/default.nix
Normal file
@@ -0,0 +1,59 @@
|
||||
# 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
|
||||
./zsh.nix
|
||||
./adampad-pkgs.nix
|
||||
./fonts.nix
|
||||
];
|
||||
home-manager = {
|
||||
# useGlobalPkgs = true;
|
||||
extraSpecialArgs = {
|
||||
inherit inputs outputs;
|
||||
};
|
||||
};
|
||||
nixpkgs = {
|
||||
overlays = [ ];
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
console.useXkbConfig = true;
|
||||
|
||||
environment = {
|
||||
localBinInPath = true;
|
||||
systemPackages = [
|
||||
# Dev
|
||||
pkgs.git
|
||||
|
||||
# Util
|
||||
pkgs.stow
|
||||
pkgs.wget
|
||||
pkgs.curl
|
||||
pkgs.ripgrep
|
||||
pkgs.python312Packages.oauth2
|
||||
pkgs.python312Packages.httplib2
|
||||
pkgs.killall
|
||||
pkgs.tree-sitter
|
||||
pkgs.lazygit
|
||||
pkgs.tmux
|
||||
pkgs.tmuxifier
|
||||
pkgs.unzip
|
||||
pkgs.p7zip
|
||||
pkgs.unrar
|
||||
pkgs.xdg-utils
|
||||
pkgs.xdg-user-dirs
|
||||
pkgs.udiskie
|
||||
];
|
||||
};
|
||||
}
|
||||
21
hosts/core/fonts.nix
Normal file
21
hosts/core/fonts.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
fonts.packages = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-cjk
|
||||
noto-fonts-emoji
|
||||
liberation_ttf
|
||||
fira-code-symbols
|
||||
font-awesome
|
||||
jetbrains-mono
|
||||
(nerdfonts.override {
|
||||
fonts = [
|
||||
"JetBrainsMono"
|
||||
"FiraCode"
|
||||
"Iosevka"
|
||||
"3270"
|
||||
"DroidSansMono"
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
1
hosts/core/zsh.nix
Normal file
1
hosts/core/zsh.nix
Normal file
@@ -0,0 +1 @@
|
||||
{ programs.zsh.enable = true; }
|
||||
Reference in New Issue
Block a user