26 lines
458 B
Nix
26 lines
458 B
Nix
{ lib, pkgs, ... }: let
|
|
username = "khais";
|
|
in {
|
|
home = {
|
|
packages = with pkgs; [
|
|
htop neofetch
|
|
];
|
|
|
|
file = {
|
|
"hello.sh" = {
|
|
text = ''
|
|
#!/usr/bin/env bash
|
|
|
|
echo 'Hello, World!'
|
|
echo '*slaps roof* This script can fit so many lines in it!'
|
|
'';
|
|
executable = true;
|
|
};
|
|
};
|
|
|
|
inherit username;
|
|
homeDirectory = "/home/${username}";
|
|
|
|
stateVersion = "23.11";
|
|
};
|
|
}
|