Compare commits

...

3 Commits

Author SHA1 Message Date
autumn
82344c55a9 undoing stupid changes 2025-08-25 16:01:38 -06:00
autumn
772b6a9e0e bleh 2025-08-25 15:08:40 -06:00
autumn
8b1c2f1d72 fixes or not 2025-08-25 14:55:05 -06:00
4 changed files with 137 additions and 59 deletions

View File

@@ -1,6 +1,6 @@
{ {
description = "Autumn's laptop config"; description = "Autumn's multi-system configs";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
@@ -24,26 +24,33 @@
}; };
in { in {
homeConfigurations.${user} = home-manager.lib.homeManagerConfiguration { homeConfigurations.${user} = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system}; extraSpecialArgs = specialArgs;
}; pkgs = nixpkgs.legacyPackages.${system};
modules = [
# ./home-manager/${user}/home.nix
./home-manager/${user}/yukigekko-home.nix
];
};
nixosConfigurations."yukigekko" = nixpkgs.lib.nixosSystem{ nixosConfigurations."yukigekko" = nixpkgs.lib.nixosSystem{
specialArgs = specialArgs; specialArgs = specialArgs;
modules = [ modules = [
./system/nixos/configuration.nix home-manager.nixosModules.home-manager{ ./system/nixos/configuration.nix
home-manager = { # home-manager.nixosModules.home-manager{
useGlobalPkgs = true; # home-manager = {
useUserPackages = true; # useGlobalPkgs = true;
extraSpecialArgs = specialArgs; # useUserPackages = true;
users.${user} = { # extraSpecialArgs = specialArgs;
home.stateVersion = "25.11"; # users.${user} = {
imports = [ # # pkgs = nixpkgs.legacyPackages.${system};
./home-manager/${user}/yukigekko-home.nix # imports = [
]; # #./home-manager/${user}/home.nix
}; # ./home-manager/autumn/yukigekko-home.nix
}; # ];
} # };
# };
# }
]; ];
}; };
}; };

View File

@@ -0,0 +1,68 @@
{ 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

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

View File

@@ -4,10 +4,14 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
fish fish
oh-my-fish
]; ];
programs.fish = { programs.fish = {
enable = true; enable = true;
interactiveShellInit = ''
set fish_greeting ""
'';
shellAliases = { shellAliases = {
".." = "cd .."; ".." = "cd ..";
"..." = "cd ../.."; "..." = "cd ../..";