nix/home.nix

27 lines
458 B
Nix
Raw Normal View History

{ lib, pkgs, ... }: let
username = "khais";
in {
2024-07-14 16:41:22 +02:00
home = {
packages = with pkgs; [
2024-07-14 16:45:11 +02:00
htop neofetch
2024-07-14 16:41:22 +02:00
];
2024-07-14 19:39:11 +02:00
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;
};
2024-07-14 19:39:11 +02:00
};
inherit username;
homeDirectory = "/home/${username}";
2024-07-14 16:41:22 +02:00
2024-07-14 16:42:45 +02:00
stateVersion = "23.11";
2024-07-14 16:41:22 +02:00
};
}