added nixos configuration and home mananger stuff

This commit is contained in:
2024-09-07 22:22:12 -04:00
parent cfa75cb28a
commit e0daf1276c
14 changed files with 605 additions and 53 deletions

View File

@ -9,6 +9,8 @@
p7zip
# utils
zellij
tmux
bat
lazygit
bottom
@ -27,7 +29,6 @@
tree
gnutar
gnupg
tmux
nerdfonts
zoxide
babelfish

View File

@ -13,6 +13,8 @@
./eza.nix
./neovim.nix
./direnv.nix
./sway.nix
./terminal.nix
];
# Home Manager needs a bit of information about you and the

10
home/hyprland.nix Normal file
View File

@ -0,0 +1,10 @@
{pkgs, ...}: {
wayland.windowManager.hyprland = {
enable = false; # TODO: to enable later
plugins = with pkgs; [
hyprtrails
hy3
];
xwayland = false; # TODO: to enable later
};
}

41
home/sway.nix Normal file
View File

@ -0,0 +1,41 @@
{pkgs, ...}: let
dirs = {
defaults = ../../defaults;
};
in {
wayland.windowManager.sway = {
enable = pkgs.stdenv.isLinux;
extraOptions = []; # Extra arguments to pass into sway. If sway goes haywire, we might need something in here
xwayland = true;
systemd = true;
# Install packages that will be installed with sway
extraPackages = with pkgs; [
wl-clipboard
wofi
mako
wttrbar
light
brightnessctl
playerctl
grim
slurp
cliphist
];
wrapperFeatures = {
gtk = true;
};
};
xdg.configFile."sway/config".source = dirs.defaults + /sway/config;
programs.wofi.enable = pkgs.stdenv.isLinux;
programs.waybar = {
enable = pkgs.stdenv.isLinux;
systemd.enable = true;
};
xdg.configFile."waybar/config".source = dirs.defaults + /waybar/config.json;
xdg.configFile."waybar/style.css".source = dirs.defaults + /waybar/style.css;
}

10
home/terminal.nix Normal file
View File

@ -0,0 +1,10 @@
{pkgs, ...}: {
programs.alacritty = {
enable = pkgs.stdenv.isLinux;
settings = {}; # TODO: this will be filled in the future
};
programs.kitty = {
enable = false; # TODO: to enable later
}
}