dea-files/home.nix

91 lines
2 KiB
Nix
Raw Normal View History

2026-01-09 22:03:21 -05:00
{
lib,
pkgs,
...
}:
2026-01-07 14:32:28 -05:00
2026-01-09 22:03:21 -05:00
let
ninjabrain-bot = pkgs.callPackage ./hosts/sandalphon/mcsr/ninjabrain.nix { };
waywork = pkgs.callPackage ./hosts/sandalphon/mcsr/waywork.nix { };
in
2026-01-07 14:32:28 -05:00
{
# Enables nix commands + flakes
nix = {
settings.extra-experimental-features = [
"nix-command"
"flakes"
];
};
# Home manager things
home.username = "dea";
home.homeDirectory = "/home/dea";
home.stateVersion = "25.11";
home.packages = with pkgs; [
libsForQt5.qtstyleplugin-kvantum # libs for Qt5
libsForQt5.qt5ct
libsForQt5.qt5.qtbase
2026-01-09 15:50:11 -05:00
btop-cuda
2026-01-07 14:32:28 -05:00
syncplay
];
2026-01-08 13:39:02 -05:00
programs.neovim = { };
2026-01-07 14:32:28 -05:00
home.sessionPath = [
"$HOME/.local/bin"
];
nixpkgs.config.allowUnfree = true;
imports = [
./homemanager/mpv.nix
];
# dconf.settings = {};
# home = {};
programs.bash = {
enable = true;
bashrcExtra = builtins.readFile ./homemanager/bashrc;
};
2026-01-08 22:16:10 -05:00
# programs.starship = {
# enable = true;
# settings = {
# add_newline = true;
# format = "$directory\n$character";
# directory = {
# truncation_length = 3;
# truncate_to_repo = false;
# format = "[$path]($style) [❤](bold fg:#ff5fff) ";
# style = "bold cyan";
# };
# character = {
# success_symbol = "";
# error_symbol = "";
# };
# };
# };
2026-01-09 22:03:21 -05:00
# mcsr credit to uku: https://git.uku3lig.net/uku/flake/src/branch/main/programs/mcsr
home.file.dea.source = "/home/dea/.config/waywall/init.lua";
home.file.dea.text = ''
package.path = package.path .. ";${waywork}/?.lua"
local ninb_path = "${lib.getExe ninjabrain-bot}"
local resolution = { w = ${toString 1920}, h = ${toString 1080} }
local images = {
eye_overlay = "${./hosts/sandalphon/mcsr/eye-overlay.png}",
thin = "${./hosts/sandalphon/mcsr/yukata.jpg}",
wide = "${./hosts/sandalphon/mcsr/yukata.jpg}",
tall = "${./hosts/sandalphon/mcsr/yukata.jpg}",
}
-- end globals
''
+ builtins.readFile ./hosts/sandalphon/mcsr/waywall.lua;
2026-01-07 14:32:28 -05:00
programs.home-manager.enable = true;
2026-01-08 13:39:02 -05:00
}