unlikified

This commit is contained in:
alisceon 2025-08-14 12:27:11 +02:00
parent fc7b529ffd
commit a41c072709
3 changed files with 101 additions and 108 deletions

View file

@ -1,11 +1,8 @@
{ pkgs, config, hostName, lib, ... }: { { pkgs, config, hostName, lib, ... }:
home.username = "alisceon"; let
home.homeDirectory = "/home/alisceon";
home.stateVersion = "24.05";
manual.manpages.enable = true;
globalShellAbbrs = { globalShellAbbrs = {
tsla-fan = "ipmitool -H 10.30.0.3 -U ADMIN -P ADMIN raw 0x30 0x70 0x66 0x01 0x0"; tsla-fan = "ipmitool -H 10.30.0.3 -U ADMIN -P ADMIN raw 0x30 0x70 0x66 0x01 0x0";
# NixOS commands # NixOS commands
nixoss = "sudo nixos-rebuild switch --flake .#${hostName}"; nixoss = "sudo nixos-rebuild switch --flake .#${hostName}";
nixos-main = "git checkout main ; git pull ; sudo nixos-rebuild switch --flake .#${hostName}"; nixos-main = "git checkout main ; git pull ; sudo nixos-rebuild switch --flake .#${hostName}";
@ -26,7 +23,12 @@
# Tower commands # Tower commands
weboot = "nix shell nixpkgs#efibootmgr -c sudo efibootmgr -n 0000 ; reboot"; weboot = "nix shell nixpkgs#efibootmgr -c sudo efibootmgr -n 0000 ; reboot";
}; # end globalShellAbbrs }; # end globalShellAbbrs
in
{
home.username = "alisceon";
home.homeDirectory = "/home/alisceon";
home.stateVersion = "24.05";
manual.manpages.enable = true;
programs = { programs = {
fish = { fish = {
enable = false; enable = false;
@ -45,7 +47,7 @@
nushell = { nushell = {
enable = true; enable = true;
configFile.source = ../conf/config.nu; configFile.source = ../conf/config.nu;
shellAliases = globalShellAbbrs //{ shellAliases = globalShellAbbrs // {
}; };
}; };
git = { git = {
@ -103,4 +105,4 @@
# nixpkgs config # nixpkgs config
xdg.configFile."nixpkgs/config.nix".source = ../conf/config.nix; xdg.configFile."nixpkgs/config.nix".source = ../conf/config.nix;
} # end file } # end file

View file

@ -1,8 +1,4 @@
{ pkgs, config, hostName, lib, ... }: { { pkgs, config, hostName, lib, ... }: {
home.username = "alisceon";
home.homeDirectory = "/home/alisceon";
home.stateVersion = "24.05";
manual.manpages.enable = true;
programs = { programs = {
}; # end programs
} # end file } # end file

View file

@ -1,9 +1,4 @@
{ pkgs, config, hostName, lib, ... }: { { pkgs, config, hostName, lib, ... }: {
home.username = "alisceon";
home.homeDirectory = "/home/alisceon";
home.stateVersion = "24.05";
manual.manpages.enable = true;
programs = { programs = {
vscode.enable = true; vscode.enable = true;
firefox = { firefox = {