71 lines
1.9 KiB
Nix
71 lines
1.9 KiB
Nix
{
|
|
inputs,
|
|
split-monitor-workspaces,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
./modules/home/git.nix
|
|
./modules/home/neovim.nix
|
|
./modules/home/obs.nix
|
|
./modules/home/fish.nix
|
|
./modules/home/starship.nix
|
|
./modules/home/alacritty.nix
|
|
./modules/home/bash.nix
|
|
./modules/home/nushell.nix
|
|
];
|
|
|
|
home.username = "allen";
|
|
home.homeDirectory = "/home/allen";
|
|
|
|
xresources.properties = {
|
|
"Xcursor.size" = 16;
|
|
"Xft.dpi" = 172;
|
|
};
|
|
|
|
home.packages =
|
|
let
|
|
fonts = import ./pkgs/fonts.nix { inherit pkgs; };
|
|
minecraft = import ./pkgs/minecraft.nix { inherit pkgs; };
|
|
misc = import ./pkgs/misc.nix { inherit pkgs; };
|
|
network = import ./pkgs/network.nix { inherit pkgs; };
|
|
programming = import ./pkgs/programming.nix { inherit pkgs; };
|
|
tools = import ./pkgs/tools.nix { inherit pkgs; };
|
|
util = import ./pkgs/util.nix { inherit pkgs; };
|
|
games = import ./pkgs/games.nix { inherit pkgs; };
|
|
unstable = import (builtins.fetchTarball {
|
|
url = "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
|
|
sha256 = "1ijgd8hy1ii0k0s48yhnzw09c7zdjnp1fq8wfj7jgajwmlfwy3xg";
|
|
}) { system = "x86_64-linux"; };
|
|
unstables = import ./pkgs/unstable.nix {
|
|
inherit pkgs;
|
|
inherit unstable;
|
|
};
|
|
|
|
in
|
|
fonts ++ minecraft ++ misc ++ network ++ programming ++ tools ++ util ++ games ++ unstables;
|
|
|
|
programs.direnv.enable = true;
|
|
programs.direnv.nix-direnv.enable = true;
|
|
|
|
xdg.configFile."hypr/generated.lua".text =
|
|
let
|
|
smw =
|
|
inputs.split-monitor-workspaces.packages.${pkgs.stdenv.hostPlatform.system}.split-monitor-workspaces;
|
|
in
|
|
''
|
|
hl.plugin.load("${smw}/lib/libsplit-monitor-workspaces.so")
|
|
require("device.pc")
|
|
'';
|
|
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
xwayland.enable = true;
|
|
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
|
};
|
|
|
|
home.stateVersion = "25.05";
|
|
}
|