Before flake update

This commit is contained in:
Alexandre1a 2025-12-10 20:44:07 +01:00
parent f8216eb2fa
commit bc91f63a39
No known key found for this signature in database
GPG Key ID: CE01C28FBC5EEF10
2 changed files with 73 additions and 7 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, inputs, ... }: { config, pkgs, inputs, ... }:
{ {
# All imports go here # All imports go here
@ -10,11 +10,33 @@
]; ];
# All System packages # All System packages
environment.systemPackages = environment.systemPackages = with pkgs;
[ [
pkgs.vim # Basic text editing for all users
]; neovim
vim
# General tools
btop
eza
fastfetch
ffmpeg
fzf
git
git-lfs
gnupg
wget
tree
netcat
tmux
#telnet
];
# Create the user
users.users.alex = {
description = "Alexandre Delcamp--Enache";
home = "/Users/alex";
shell = pkgs.zsh;
};
# HomeManager # HomeManager
home-manager = { home-manager = {
extraSpecialArgs = { inherit inputs; }; extraSpecialArgs = { inherit inputs; };
@ -30,6 +52,8 @@
}; };
}; };
# Enable required settings # Enable required settings
# TouchID login
security.pam.services.sudo_local.touchIdAuth = true;
# Flakes # Flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Target arch # Target arch

View File

@ -1,14 +1,56 @@
{ config, pkgs, ... }:
{ {
# Refer to the nixOS host for info about home-manager # Refer to the nixOS host for info about home-manager
home.username = "alex"; home.username = "alex";
home.homeDirecotry = "/Users/alex"; home.homeDirectory = "/Users/alex";
home.stateVersion = "25.11"; home.stateVersion = "25.11";
home.packages = [ # Allow unfree packages
pkgs.hello 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
]; ];
#
programs.home-manager.enable = true; programs.home-manager.enable = true;
} }