Rename thor to strawberry

This commit is contained in:
Riley Apeldoorn 2023-06-06 15:38:06 +02:00
parent 1c9329b5e0
commit f1c97bd095
5 changed files with 8 additions and 8 deletions

View file

@ -28,11 +28,11 @@
in { in {
# Desktop system # Desktop system
"thor" = lib.nixosSystem { "strawberry" = lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
(mkUserConfig ./system/thor) (mkUserConfig ./system/strawberry)
./system/thor/core.nix ./system/strawberry/core.nix
./shared/core ./shared/core
]; ];
specialArgs = args; specialArgs = args;

View file

@ -16,7 +16,7 @@
isNormalUser = true; isNormalUser = true;
extraGroups = ["wheel"]; extraGroups = ["wheel"];
packages = [ pkgs.helix ]; packages = [ pkgs.helix pkgs.neovim ];
}; };

View file

@ -15,6 +15,8 @@ in with lib; {
config = { config = {
home.packages = [ pkgs.perl ];
# Configure the shell itself # Configure the shell itself
programs.bash = with pkgs; { programs.bash = with pkgs; {
enable = true; enable = true;
@ -33,9 +35,6 @@ in with lib; {
"ignoredups" "ignoredups"
]; ];
historySize = 100000; historySize = 100000;
sessionVariables = {
"EDITOR" = "${helix}/bin/hx";
};
shellAliases = { shellAliases = {
# General aliases # General aliases
":q" = "exit"; ":q" = "exit";
@ -62,6 +61,7 @@ in with lib; {
} // cfg.extraAliases; } // cfg.extraAliases;
bashrcExtra = '' bashrcExtra = ''
export PATH=${../../script}:/home/riley/.nix-profile/bin:$PATH export PATH=${../../script}:/home/riley/.nix-profile/bin:$PATH
export EDITOR=${helix}/bin/hx
''; '';
}; };

View file

@ -8,7 +8,7 @@
home-manager.users.riley.home.stateVersion = "21.11"; home-manager.users.riley.home.stateVersion = "21.11";
networking = { networking = {
hostName = "thor"; hostName = "strawberry";
interfaces."enp9s0".useDHCP = true; interfaces."enp9s0".useDHCP = true;
}; };