38 lines
719 B
Nix
38 lines
719 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports = [
|
|
./packages
|
|
./sway
|
|
# ./proxies
|
|
./gnome-quirks
|
|
];
|
|
|
|
home.username = "user";
|
|
home.homeDirectory = "/home/user";
|
|
|
|
programs.bash.enable = true;
|
|
programs.bash.bashrcExtra = ''
|
|
function nix-config {
|
|
sudo hx /etc/nixos/$1.nix
|
|
}
|
|
prefetch-sri() {
|
|
nix-prefetch-url "$1" | xargs nix hash to-sri --type sha256
|
|
}
|
|
export TERM=xterm-256color
|
|
export PATH="~/.local/bin:$PATH"
|
|
'';
|
|
|
|
home.shellAliases = {
|
|
nix-rebuild = "sudo nixos-rebuild switch";
|
|
patch-bin = "patchelf --set-interpreter /usr/lib64/ld-linux-x86-64.so.2";
|
|
};
|
|
|
|
xdg.mimeApps.enable = true;
|
|
|
|
|
|
|
|
programs.home-manager.enable = true;
|
|
home.stateVersion = "25.05";
|
|
}
|