new user on laptop

This commit is contained in:
autumn
2025-08-25 17:51:28 -06:00
parent 82344c55a9
commit 1cf993589c
5 changed files with 73 additions and 8 deletions

View File

@@ -11,32 +11,30 @@
outputs = { self, nixpkgs, home-manager }@inputs: outputs = { self, nixpkgs, home-manager }@inputs:
let let
user = "autumn";
system = "x86_64-linux"; system = "x86_64-linux";
timezone = "America/Denver"; timezone = "America/Denver";
locale = "en_US.UTF-8"; locale = "en_US.UTF-8";
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
inherit user;
inherit system; inherit system;
inherit timezone; inherit timezone;
inherit locale; inherit locale;
}; };
in { in {
homeConfigurations.${user} = home-manager.lib.homeManagerConfiguration { homeConfigurations.ruby= home-manager.lib.homeManagerConfiguration {
extraSpecialArgs = specialArgs; extraSpecialArgs = specialArgs;
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
modules = [ modules = [
# ./home-manager/${user}/home.nix # ./home-manager/${user}/home.nix
./home-manager/${user}/yukigekko-home.nix ./home-manager/ruby/home.nix
]; ];
}; };
nixosConfigurations."yukigekko" = nixpkgs.lib.nixosSystem{ nixosConfigurations."yukigekko" = nixpkgs.lib.nixosSystem{
specialArgs = specialArgs; specialArgs = specialArgs;
modules = [ modules = [
./system/nixos/configuration.nix ./system/yukigekko/configuration.nix
# home-manager.nixosModules.home-manager{ # home-manager.nixosModules.home-manager{
# home-manager = { # home-manager = {
# useGlobalPkgs = true; # useGlobalPkgs = true;

View File

@@ -0,0 +1,67 @@
{ config, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = "autumn";
home.homeDirectory = "/home/autumn";
home.stateVersion = "25.05"; # Please read the comment before changing.
programs.home-manager.enable = true;
nixpkgs.config = {
alowUnfree = true;
allowUnfreePredicate = (_: true);
};
home.packages = with pkgs; [
neofetch
vscodium-fhs
nerd-fonts.hack
vesktop
obsidian
ccls
docker-language-server
nil
ty
rustc
rustup
htop
gnumake
python314Full
eza
gleam
ruff
ruby
vscode-extensions.castwide.solargraph
nim-2_0
nimlangserver
];
programs.htop.enable = true;
programs.starship.enable = true;
programs.bash.initExtra = "
fish
";
wayland.windowManager.river.enable = true;
home.sessionVariables = {
EDITOR = "helix";
TERM = "alacritty";
};
imports = [
../packages/fish/fish.nix
../packages/river/river.nix
../packages/alacritty/alacritty.nix
../packages/helix/helix.nix
../packages/fuzzel/fuzzel.nix
../packages/waybar/waybar.nix
../packages/git/git.nix
../packages/starship/starship.nix
];
}

View File

@@ -69,15 +69,15 @@
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.autumn = { users.users.ruby= {
isNormalUser = true; isNormalUser = true;
description = "Autumn"; description = "Autumn on laptop";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
}; };
# Install firefox. # Install firefox.
programs.firefox.enable = true; programs.firefox.enable = true;
programs.bash.interactiveShellInit = "fish"; # programs.bash.interactiveShellInit = "fish";
programs.appimage.enable = true; programs.appimage.enable = true;
programs.openvpn3.enable = true; programs.openvpn3.enable = true;