fix laptop part of flake

This commit is contained in:
lucy 2026-07-19 01:46:06 +02:00
commit c4cc430c06
3 changed files with 12 additions and 7 deletions

View file

@ -63,9 +63,14 @@
}
];
programs.bash.interactiveShellInit = ''
complete -F _command doas
'';
programs.bash = {
promptInit = ''
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
'';
interactiveShellInit = ''
complete -F _command doas
'';
};
# Enable CUPS to print documents.
services.printing.enable = true;

View file

@ -56,6 +56,7 @@
home-manager.extraSpecialArgs = { inherit inputs; };
}
({ lib, ... }: {
boot.loader.systemd-boot.enable = true;
networking.hostName = lib.mkForce "seele";
powerManagement.powertop.enable = true;
services.upower.enable = true;

View file

@ -53,10 +53,9 @@
programs.bash = {
enable = true;
enableCompletion = true;
bashrcExtra = ''
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
'';
shellAliases = {
"rebuild" = "doas nixos-rebuild switch --flake $HOME/nixos/ --impure";
};
};
programs.google-chrome.enable = true;
programs.foot = {