commit 5c2f46751ed7326241a4b68f3013c79ecf025f7a
parent 018a7b8e8839730a36cf49e6096f255dea9f3e7a
Author: Francesco Saccone <francesco@francescosaccone.com>
Date: Mon, 14 Apr 2025 15:43:24 +0200
refactor: remove common home and define mksh PS1 in francesco
Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>
Diffstat:
3 files changed, 24 insertions(+), 30 deletions(-)
diff --git a/flake.nix b/flake.nix
@@ -111,7 +111,6 @@
{
imports = [
./homes/francesco/home
- ./homes/common
./modules/home
];
diff --git a/homes/common/default.nix b/homes/common/default.nix
@@ -1,10 +0,0 @@
-{
- config,
- pkgs,
- ...
-}:
-{
- home.file.".mkshrc".text = ''
- PS1="${"$"}{USER}@$(${pkgs.sbase}/bin/hostname):\${"$"}{PWD} $ "
- '';
-}
diff --git a/homes/francesco/home/default.nix b/homes/francesco/home/default.nix
@@ -136,23 +136,28 @@
};
};
- home.packages = with pkgs; [
- alsa-utils
- ffmpeg
- dig
- gimp
- imv
- librewolf-bin
- lilypond
- man-pages-posix
- md2pdf
- mpv
- nixos-anywhere
- nmap
- noice
- sent
- timidity
- watchmate
- zathura
- ];
+ home = {
+ file.".mkshrc".text = ''
+ PS1="${"$"}{USER}@$(${pkgs.sbase}/bin/hostname):\${"$"}{PWD} $ "
+ '';
+ packages = with pkgs; [
+ alsa-utils
+ ffmpeg
+ dig
+ gimp
+ imv
+ librewolf-bin
+ lilypond
+ man-pages-posix
+ md2pdf
+ mpv
+ nixos-anywhere
+ nmap
+ noice
+ sent
+ timidity
+ watchmate
+ zathura
+ ];
+ };
}