new file: common/configuration.nix

new file:   common/hardware-configuration.nix
	new file:   common/home.nix
	new file:   flake.nix
	new file:   hosts/docker/configuration.nix
	new file:   hosts/nixos/configuration.nix
	new file:   hosts/nixos/home.nix
	new file:   hosts/server/configuration.nix
	new file:   install.sh
	new file:   prepare.sh
This commit is contained in:
2025-07-16 13:33:23 +10:00
parent dccd499d3e
commit a670aedce1
10 changed files with 597 additions and 0 deletions

30
common/home.nix Normal file
View File

@@ -0,0 +1,30 @@
{ config, pkgs, lib, ... }:
{
home.username = "nixos"; # your actual username
home.homeDirectory = "/home/nixos";
home.stateVersion = "25.05"; # match your NixOS stateVersion
programs.home-manager.enable = true; # mandatory to activate HM
# Optional: packages
home.packages = with pkgs; [
git
vim
tmux
];
# Optional: set environment vars
home.sessionVariables = {
EDITOR = "vim";
};
# Optional: enable bash (or zsh, fish...)
programs.bash.enable = true;
# Optional: manage dotfiles via symlinks
# home.file = {
# ".tmux.conf".source = ./dotfiles/tmux.conf;
# ".config/nvim/init.vim".source = ./dotfiles/init.vim;
# };
}