2024-02-22 18:24:08 +01:00
|
|
|
|
{ config, pkgs, inputs, ... }:
|
2024-01-12 15:59:57 +01:00
|
|
|
|
{
|
2024-02-13 22:04:37 +01:00
|
|
|
|
imports = [
|
|
|
|
|
./modules/nixvim.nix
|
2024-02-22 19:01:16 +01:00
|
|
|
|
./modules/firefox.nix
|
2024-02-13 22:04:37 +01:00
|
|
|
|
];
|
2024-01-26 19:31:00 +01:00
|
|
|
|
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;
|
|
|
|
|
};
|
|
|
|
|
|
2024-02-19 12:02:16 +01:00
|
|
|
|
programs = {
|
2024-02-20 21:02:36 +01:00
|
|
|
|
zsh.enable = true;
|
2024-01-12 15:59:57 +01:00
|
|
|
|
atuin = {
|
|
|
|
|
enable = true;
|
|
|
|
|
enableNushellIntegration = true;
|
|
|
|
|
};
|
2024-02-13 22:04:37 +01:00
|
|
|
|
eza.enable = true;
|
|
|
|
|
nushell = {
|
|
|
|
|
enable = true;
|
|
|
|
|
shellAliases = {
|
|
|
|
|
ls = "eza -l --icons --group-directories-first";
|
|
|
|
|
};
|
|
|
|
|
extraConfig = "uwufetch --image";
|
|
|
|
|
configFile = { text = ''
|
|
|
|
|
$env.config = {
|
|
|
|
|
show_banner: false
|
|
|
|
|
}
|
|
|
|
|
'';
|
|
|
|
|
};
|
2024-01-12 15:59:57 +01:00
|
|
|
|
};
|
|
|
|
|
carapace.enable = true;
|
|
|
|
|
carapace.enableNushellIntegration = true;
|
2024-02-10 22:24:36 +01:00
|
|
|
|
starship =
|
2024-02-19 12:02:16 +01:00
|
|
|
|
let
|
|
|
|
|
flavour = "mocha";
|
|
|
|
|
in
|
|
|
|
|
{
|
|
|
|
|
enable = true;
|
|
|
|
|
enableNushellIntegration = true;
|
2024-02-20 21:02:36 +01:00
|
|
|
|
enableBashIntegration = true;
|
|
|
|
|
enableZshIntegration = true;
|
2024-02-19 12:02:16 +01:00
|
|
|
|
settings = {
|
|
|
|
|
# Other config here
|
|
|
|
|
character = {
|
|
|
|
|
success_symbol = "[λ::](bold green)";
|
|
|
|
|
error_symbol = "[λ::](bold red)";
|
|
|
|
|
};
|
2024-02-20 21:02:36 +01:00
|
|
|
|
username = {
|
|
|
|
|
style_user = "bold pink";
|
|
|
|
|
format = "[$user]($style)";
|
|
|
|
|
show_always = true;
|
|
|
|
|
disabled = false;
|
|
|
|
|
};
|
|
|
|
|
hostname = {
|
|
|
|
|
ssh_only = false;
|
|
|
|
|
format = "[ 🏳️⚧️ ](bold pink)[$hostname](bold flamingo)";
|
|
|
|
|
disabled = false;
|
|
|
|
|
};
|
|
|
|
|
right_format = "$all";
|
|
|
|
|
format = ''$username$hostname in $directory
|
|
|
|
|
$character'';
|
2024-02-19 12:02:16 +01:00
|
|
|
|
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));
|
|
|
|
|
};
|
2024-01-12 15:59:57 +01:00
|
|
|
|
};
|
2024-02-08 18:16:57 +01:00
|
|
|
|
dconf.enable = true;
|
|
|
|
|
dconf.settings = {
|
|
|
|
|
"org/gnome/desktop/interface" = {
|
|
|
|
|
color-scheme = "prefer-dark";
|
2024-02-19 12:02:16 +01:00
|
|
|
|
cursor-theme = "Adwaita";
|
2024-02-08 18:16:57 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
gtk = {
|
|
|
|
|
enable = true;
|
|
|
|
|
theme = {
|
|
|
|
|
name = "Catppuccin-Mocha-Compact-Pink-Dark";
|
|
|
|
|
package = pkgs.catppuccin-gtk.override {
|
|
|
|
|
accents = [ "pink" ];
|
|
|
|
|
size = "compact";
|
2024-02-11 02:01:29 +01:00
|
|
|
|
tweaks = [ "rimless" ];
|
2024-02-08 18:16:57 +01:00
|
|
|
|
variant = "mocha";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-01-28 22:51:43 +01:00
|
|
|
|
|
2024-02-12 20:08:44 +01:00
|
|
|
|
home.sessionVariables.DEFAULT_BROWSER = "${pkgs.firefox}/bin/firefox";
|
|
|
|
|
|
2024-02-20 21:02:36 +01:00
|
|
|
|
home.file."~/.local/share/fonts/AppleColorEmoji.ttf".source = ./config-files/AppleColorEmoji.ttf;
|
|
|
|
|
|
2024-02-22 19:01:16 +01:00
|
|
|
|
#programs.firefox = {
|
|
|
|
|
# enable = true;
|
|
|
|
|
# package = pkgs.firefox.override {
|
|
|
|
|
# cfg = {
|
|
|
|
|
# enableGnomeExtensions = true;
|
|
|
|
|
# };
|
|
|
|
|
# };
|
|
|
|
|
#};
|
2024-02-10 14:52:08 +01:00
|
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
|
enable = true;
|
|
|
|
|
package = pkgs.hyprland;
|
2024-01-12 15:59:57 +01:00
|
|
|
|
|
2024-02-20 21:02:36 +01:00
|
|
|
|
#xwayland.enable = true;
|
2024-01-12 15:59:57 +01:00
|
|
|
|
|
2024-02-10 14:52:08 +01:00
|
|
|
|
#enableNvidiaPatches = true;
|
|
|
|
|
extraConfig = builtins.readFile ./config-files/hyprland.conf;
|
|
|
|
|
};
|
2024-02-12 20:08:44 +01:00
|
|
|
|
services.mako = {
|
|
|
|
|
enable = true;
|
|
|
|
|
font = "Hack Nerd Font 15";
|
2024-02-13 22:04:37 +01:00
|
|
|
|
backgroundColor = "#1e1e2e";
|
|
|
|
|
textColor = "#cdd6f4";
|
2024-02-12 20:08:44 +01:00
|
|
|
|
};
|
2024-01-12 15:59:57 +01:00
|
|
|
|
|
2024-02-13 22:04:37 +01:00
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
|
neofetch
|
|
|
|
|
uwufetch
|
|
|
|
|
btop
|
|
|
|
|
iftop
|
2024-02-05 18:59:12 +01:00
|
|
|
|
|
2024-02-13 22:04:37 +01:00
|
|
|
|
brightnessctl
|
|
|
|
|
|
|
|
|
|
bitwarden
|
|
|
|
|
bitwarden-cli
|
2024-02-20 21:02:36 +01:00
|
|
|
|
|
2024-02-13 22:04:37 +01:00
|
|
|
|
sway-contrib.grimshot
|
|
|
|
|
|
|
|
|
|
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;
|
2024-01-12 15:59:57 +01:00
|
|
|
|
}
|