Cleaned up nix directory & setup home-manager and manual waybar config
This commit is contained in:
parent
ad7e4d0704
commit
c776037778
4 changed files with 2 additions and 124 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
mecca = nixpkgs.lib.nixosSystem {
|
mecca = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {inherit inputs;}; modules = [
|
specialArgs = {inherit inputs;}; modules = [
|
||||||
|
./hosts/common.nix
|
||||||
./hosts/mecca/configuration.nix
|
./hosts/mecca/configuration.nix
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
];
|
];
|
||||||
|
|
@ -18,6 +19,7 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
modules = [
|
modules = [
|
||||||
|
./hosts/common.nix
|
||||||
./hosts/syntheticnexus/configuration.nix
|
./hosts/syntheticnexus/configuration.nix
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,6 @@
|
||||||
terminus_font # font
|
terminus_font # font
|
||||||
neovim # Terminal text editor
|
neovim # Terminal text editor
|
||||||
wget # coreutil for some script compatibility
|
wget # coreutil for some script compatibility
|
||||||
htop # Resource manager
|
|
||||||
waybar # Status bar
|
waybar # Status bar
|
||||||
libnotify # Desktop notifications
|
libnotify # Desktop notifications
|
||||||
swww # Wallpaper manager
|
swww # Wallpaper manager
|
||||||
|
|
|
||||||
|
|
@ -1,123 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
home.username = "lunita";
|
|
||||||
home.homeDirectory = "/home/lunita";
|
|
||||||
|
|
||||||
home.stateVersion = "25.05";
|
|
||||||
|
|
||||||
programs.zsh = {
|
|
||||||
enable = true;
|
|
||||||
syntaxHighlighting.enable = true;
|
|
||||||
|
|
||||||
shellAliases = {
|
|
||||||
c = "clear";
|
|
||||||
nf = "neofetch";
|
|
||||||
hmc = "nvim ~/dotfiles/.config/nix/hosts/mecca/home.nix";
|
|
||||||
nxr = "sudo nixos-rebuild switch --flake ~/.config/nix#${config.home.sessionVariables.HOSTNAME}";
|
|
||||||
v = "nvim";
|
|
||||||
d = "cd ~/Documents";
|
|
||||||
D = "cd ~/Downloads";
|
|
||||||
};
|
|
||||||
|
|
||||||
initContent = ''
|
|
||||||
# '~' => goto base of user home directory
|
|
||||||
alias ~='cd ~'
|
|
||||||
# Vim keybinds
|
|
||||||
bindkey -v
|
|
||||||
# Preferred editor for local and remote sessions
|
|
||||||
if [[ -n $SSH_CONNECTION ]]; then
|
|
||||||
export EDITOR='vim'
|
|
||||||
else
|
|
||||||
export EDITOR='nvim'
|
|
||||||
fi
|
|
||||||
# Set TERM for Ghostty ssh workaround
|
|
||||||
if [[ "$TERM_PROGRAM" == "ghostty" ]]; then
|
|
||||||
export TERM=xterm-256color
|
|
||||||
fi
|
|
||||||
'';
|
|
||||||
|
|
||||||
history.size = 10000;
|
|
||||||
|
|
||||||
oh-my-zsh = {
|
|
||||||
enable = true;
|
|
||||||
plugins = [ "git" ];
|
|
||||||
theme = "lambda";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
userName = "lulusilly";
|
|
||||||
userEmail = "lunita@puppygirl.onl";
|
|
||||||
aliases = {
|
|
||||||
ci = "commit";
|
|
||||||
co = "checkout";
|
|
||||||
s = "status";
|
|
||||||
pu = "push origin master"
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.waybar = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.waybar;
|
|
||||||
|
|
||||||
# Define the Waybar style.css content here
|
|
||||||
style = ''
|
|
||||||
* {
|
|
||||||
font-family: "Miracode", monospace;
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#window {
|
|
||||||
background-color: #333333;
|
|
||||||
color: #FF7300;
|
|
||||||
border-radius: 8px;
|
|
||||||
padding: 0 10px;
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Define the Waybar config content here (JSON format)
|
|
||||||
settings = {
|
|
||||||
mainBar = {
|
|
||||||
layer = "top";
|
|
||||||
position = "top";
|
|
||||||
modules-left = [ "hyprland/workspaces" "hyprland/window" ];
|
|
||||||
modules-center = [ "clock" ];
|
|
||||||
modules-right = [ "network" "pulseaudio" "battery" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
tree # Nice file tree views w/permissions
|
|
||||||
neofetch # Muh epic r1ce!!!
|
|
||||||
btop # Resource manager
|
|
||||||
stow # For dotfiles deployment. May use home.file in future
|
|
||||||
imagemagick # For converting images into other fmts
|
|
||||||
sxiv # Minimal image viewer
|
|
||||||
mpv # Video player
|
|
||||||
zathura # PDF/CBZ/EPUB/DJVU reader
|
|
||||||
tmux # Tride and true terminal multiplexer
|
|
||||||
obsidian # For epic note taking (really just mediocre journaling)
|
|
||||||
keepassxc # Secure password manager
|
|
||||||
syncthing # Self explanatory
|
|
||||||
|
|
||||||
# Fonts
|
|
||||||
nerd-fonts.jetbrains-mono
|
|
||||||
miracode
|
|
||||||
monocraft
|
|
||||||
];
|
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
|
||||||
|
|
||||||
home.file = {
|
|
||||||
};
|
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
EDITOR = "nvim";
|
|
||||||
HOSTNAME = builtins.getEnv "HOSTNAME";
|
|
||||||
};
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue