mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-25 20:03:54 +01:00
179 lines
4 KiB
Nix
179 lines
4 KiB
Nix
{ config, pkgs, inputs, lib, ... }:
|
|
{
|
|
imports = [
|
|
./modules/nixvim.nix
|
|
];
|
|
home.username = "xqtc";
|
|
home.homeDirectory = "/home/xqtc";
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "xqtc161";
|
|
userEmail = "xqtc@tutanota.com";
|
|
};
|
|
programs.wezterm = {
|
|
enable = true;
|
|
extraConfig = builtins.readFile ./config-files/wezterm.lua;
|
|
};
|
|
#programs.dconf.enable = true;
|
|
#programs.easyeffects.enable = true;
|
|
#services.easyeffects.enable = true;
|
|
programs = {
|
|
|
|
atuin = {
|
|
enable = true;
|
|
enableNushellIntegration = true;
|
|
};
|
|
eza.enable = true;
|
|
nushell = {
|
|
enable = true;
|
|
shellAliases = {
|
|
ls = "eza -l --icons --group-directories-first";
|
|
};
|
|
extraConfig = "uwufetch --image";
|
|
configFile = { text = ''
|
|
$env.config = {
|
|
show_banner: false
|
|
}
|
|
'';
|
|
};
|
|
# The config.nu can be anywhere you want if you like to edit your Nushell with Nu
|
|
#extraConfig = builtins.readFile ./config-files/config.nu;
|
|
};
|
|
carapace.enable = true;
|
|
carapace.enableNushellIntegration = true;
|
|
starship =
|
|
let
|
|
flavour = "mocha";
|
|
in
|
|
{
|
|
enable = true;
|
|
enableNushellIntegration = true;
|
|
settings = {
|
|
# Other config here
|
|
character = {
|
|
success_symbol = "[λ::](bold green)";
|
|
error_symbol = "[λ::](bold red)";
|
|
};
|
|
format = "$all"; # Remove this line to disable the default prompt format
|
|
palette = "catppuccin_${flavour}";
|
|
} // builtins.fromTOML (builtins.readFile
|
|
(pkgs.fetchFromGitHub
|
|
{
|
|
owner = "catppuccin";
|
|
repo = "starship";
|
|
rev = "5629d2356f62a9f2f8efad3ff37476c19969bd4f"; # Replace with the latest commit hash
|
|
sha256 = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0=";
|
|
} + /palettes/${flavour}.toml));
|
|
};
|
|
#starship = { enable = true;
|
|
# settings = {
|
|
# add_newline = true;
|
|
# character = {
|
|
# success_symbol = "[λ::](bold green)";
|
|
# error_symbol = "[λ::](bold red)";
|
|
# };
|
|
# };
|
|
#};
|
|
};
|
|
dconf.enable = true;
|
|
dconf.settings = {
|
|
"org/gnome/desktop/interface" = {
|
|
color-scheme = "prefer-dark";
|
|
};
|
|
};
|
|
|
|
gtk = {
|
|
enable = true;
|
|
theme = {
|
|
name = "Catppuccin-Mocha-Compact-Pink-Dark";
|
|
package = pkgs.catppuccin-gtk.override {
|
|
accents = [ "pink" ];
|
|
size = "compact";
|
|
tweaks = [ "rimless" ];
|
|
variant = "mocha";
|
|
};
|
|
};
|
|
};
|
|
|
|
home.sessionVariables.DEFAULT_BROWSER = "${pkgs.firefox}/bin/firefox";
|
|
|
|
programs.firefox = {
|
|
enable = true;
|
|
package = pkgs.firefox.override {
|
|
cfg = {
|
|
enableGnomeExtensions = true;
|
|
};
|
|
};
|
|
};
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
package = pkgs.hyprland;
|
|
|
|
xwayland.enable = true;
|
|
|
|
#enableNvidiaPatches = true;
|
|
extraConfig = builtins.readFile ./config-files/hyprland.conf;
|
|
};
|
|
services.mako = {
|
|
enable = true;
|
|
font = "Hack Nerd Font 15";
|
|
backgroundColor = "#1e1e2e";
|
|
textColor = "#cdd6f4";
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
neofetch
|
|
uwufetch
|
|
btop
|
|
iftop
|
|
|
|
brightnessctl
|
|
|
|
bitwarden
|
|
bitwarden-cli
|
|
|
|
sway-contrib.grimshot
|
|
#zathura
|
|
|
|
libnotify
|
|
|
|
strace
|
|
ltrace
|
|
|
|
nodejs
|
|
|
|
nerdfonts
|
|
vivaldi
|
|
vivaldi-ffmpeg-codecs
|
|
|
|
signal-desktop
|
|
vesktop
|
|
discord
|
|
telegram-desktop
|
|
webex
|
|
#schildichat-desktop
|
|
|
|
qbittorrent
|
|
nicotine-plus
|
|
|
|
neovide
|
|
jetbrains.rust-rover
|
|
|
|
yubioath-flutter
|
|
|
|
steam
|
|
protonup-qt
|
|
|
|
spotify
|
|
sayonara
|
|
mpv
|
|
|
|
nixos-icons
|
|
swww
|
|
];
|
|
home.stateVersion = "23.11";
|
|
|
|
programs.home-manager.enable = true;
|
|
}
|