mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 08:19:47 +01:00
Added a common.nix file for consistency abroad systems
This commit is contained in:
parent
6246c8793e
commit
0efda1f79b
59
hosts/common/home.nix
Normal file
59
hosts/common/home.nix
Normal file
@ -0,0 +1,59 @@
|
||||
{ config, pkgs, inputs, username, homeDir, ... }
|
||||
|
||||
{
|
||||
home = {
|
||||
username = username;
|
||||
homeDirectory = homeDir;
|
||||
stateVersion = "25.11";
|
||||
};
|
||||
|
||||
imports = [
|
||||
inputs.spicetify-nix.homeManagerModules.spicetify
|
||||
../../modules/home-manager/spicetify.nix
|
||||
];
|
||||
|
||||
# Common Packages
|
||||
home.packages = with pkgs; [
|
||||
# CLI
|
||||
btop
|
||||
hello
|
||||
fastfetch
|
||||
yt-dlp
|
||||
syncthing # ToDo: configure it ig
|
||||
cmatrix
|
||||
cava
|
||||
# Dev CLI
|
||||
doxygen
|
||||
autoconf
|
||||
pkg-config
|
||||
swig
|
||||
pandoc
|
||||
gh
|
||||
|
||||
# GUI apps
|
||||
vscode
|
||||
bitwarden-desktop
|
||||
|
||||
# Go
|
||||
go # The main compiler
|
||||
hugo
|
||||
|
||||
# JavaScript
|
||||
nodejs # The main interpreter
|
||||
pnpm # To replace npm
|
||||
|
||||
# C/C++
|
||||
clang-tools # The main compiler
|
||||
cmake
|
||||
vcpkg # The package manager
|
||||
vcpkg-tool
|
||||
|
||||
# Python
|
||||
python312 # The main interpreter
|
||||
pip # The package manager
|
||||
|
||||
kitty
|
||||
|
||||
];
|
||||
|
||||
}
|
||||
@ -2,54 +2,20 @@
|
||||
|
||||
{
|
||||
# Refer to the nixOS host for info about home-manager
|
||||
home.username = "alex";
|
||||
home.homeDirectory = "/Users/alex";
|
||||
import ../common/home.nix {
|
||||
inherit config pkgs inputs;
|
||||
username = "alex";
|
||||
homeDir = "/Users/alex";
|
||||
}
|
||||
|
||||
imports = [
|
||||
inputs.spicetify-nix.homeMamangerModules.spicetify
|
||||
];
|
||||
|
||||
home.stateVersion = "25.11";
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
yt-dlp
|
||||
syncthing
|
||||
obsidian
|
||||
bitwarden-desktop
|
||||
# Window management (maybe configure it with home-manager)
|
||||
yabai
|
||||
skhd
|
||||
#borders
|
||||
|
||||
# Dev
|
||||
doxygen
|
||||
autoconf
|
||||
pkg-config
|
||||
swig
|
||||
pandoc
|
||||
gh
|
||||
cmatrix
|
||||
iterm2
|
||||
vscode
|
||||
|
||||
# Go
|
||||
hugo
|
||||
|
||||
# JavaScript
|
||||
pnpm
|
||||
nodejs
|
||||
|
||||
# C/CPP
|
||||
ninja
|
||||
cmake
|
||||
|
||||
# Python
|
||||
python312
|
||||
|
||||
# Customisation
|
||||
spicetify-cli
|
||||
];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user