Compare commits

..

No commits in common. "65112394b46bb9046c95b54c2421dbe88d52fef5" and "b548a3605030c29c0bacd44b95611c52a0117a13" have entirely different histories.

17 changed files with 133 additions and 131 deletions

View file

@ -1,15 +1,24 @@
local wezterm = require("wezterm") local wezterm = require 'wezterm'
local config = wezterm.config_builder() local config = wezterm.config_builder()
config.font_size = 15
config.color_scheme = "Mashup Colors (terminal.sexy)" config.initial_cols = 120
config.initial_rows = 28
config.font_size = 12
config.font = wezterm.font("MapleMono")
config.window_close_confirmation = 'NeverPrompt'
config.enable_tab_bar = false
config.window_background_opacity = 0.9
config.window_padding = { config.window_padding = {
left = 4, left = 5,
right = 4, right = 5,
top = 4, top = 5,
bottom = 4, bottom = 5,
} }
config.enable_tab_bar = false
config.font = wezterm.font("JetBrainsMono Nerd Font") config.color_scheme = 'Afterglow'
config.window_close_confirmation = "NeverPrompt"
config.window_background_opacity = 0.90
return config return config

View file

@ -34,7 +34,7 @@ output "HDMI-A-1" {
} }
output "eDP-1" { output "eDP-1" {
off //off
scale 1 scale 1
transform "normal" transform "normal"
position x=1280 y=0 position x=1280 y=0
@ -221,7 +221,7 @@ binds {
Mod+Shift+Minus { set-window-height "-10%"; } Mod+Shift+Minus { set-window-height "-10%"; }
Mod+Shift+Equal { set-window-height "+10%"; } Mod+Shift+Equal { set-window-height "+10%"; }
Mod+Space { toggle-window-floating; } Mod+V { toggle-window-floating; }
Mod+Shift+V { switch-focus-between-floating-and-tiling; } Mod+Shift+V { switch-focus-between-floating-and-tiling; }
Mod+Shift+F { toggle-column-tabbed-display; } Mod+Shift+F { toggle-column-tabbed-display; }

View file

@ -7,4 +7,4 @@ require("plugins/treesitter")
--require("plugins/whichkey") --require("plugins/whichkey")
require("config") require("config")
require("plugins/render-markdown") require("plugins/render-markdown")
require("plugins/monokai-pro") require("nvim-toggler").setup()

View file

@ -7,12 +7,12 @@
"cmp-spell": { "branch": "master", "commit": "694a4e50809d6d645c1ea29015dad0c293f019d6" }, "cmp-spell": { "branch": "master", "commit": "694a4e50809d6d645c1ea29015dad0c293f019d6" },
"cmp-vsnip": { "branch": "main", "commit": "989a8a73c44e926199bfd05fa7a516d51f2d2752" }, "cmp-vsnip": { "branch": "main", "commit": "989a8a73c44e926199bfd05fa7a516d51f2d2752" },
"comfy-line-numbers.nvim": { "branch": "main", "commit": "31e2f9287b4491ad72defb9e0185eb2739983799" }, "comfy-line-numbers.nvim": { "branch": "main", "commit": "31e2f9287b4491ad72defb9e0185eb2739983799" },
"gruvbox.nvim": { "branch": "main", "commit": "5e0a460d8e0f7f669c158dedd5f9ae2bcac31437" },
"lazy.nvim": { "branch": "main", "commit": "db067881fff0fd4be8c00e5bde7492e0e1c77a2f" }, "lazy.nvim": { "branch": "main", "commit": "db067881fff0fd4be8c00e5bde7492e0e1c77a2f" },
"lsp_signature.nvim": { "branch": "master", "commit": "d50e40b3bf9324128e71b0b7e589765ce89466d2" }, "lsp_signature.nvim": { "branch": "master", "commit": "d50e40b3bf9324128e71b0b7e589765ce89466d2" },
"lualine.nvim": { "branch": "master", "commit": "a94fc68960665e54408fe37dcf573193c4ce82c9" }, "lualine.nvim": { "branch": "master", "commit": "a94fc68960665e54408fe37dcf573193c4ce82c9" },
"mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" }, "mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" },
"mini.nvim": { "branch": "main", "commit": "429e5f9dc9cd59bf76cd98b687300f0a384a7f52" }, "mini.nvim": { "branch": "main", "commit": "429e5f9dc9cd59bf76cd98b687300f0a384a7f52" },
"monokai-pro.nvim": { "branch": "master", "commit": "1ac671f6da720cba967d28d25c2f16b8b4e18808" },
"none-ls-extras.nvim": { "branch": "main", "commit": "924fe88a9983c7d90dbb31fc4e3129a583ea0a90" }, "none-ls-extras.nvim": { "branch": "main", "commit": "924fe88a9983c7d90dbb31fc4e3129a583ea0a90" },
"none-ls.nvim": { "branch": "main", "commit": "db2a48b79cfcdab8baa5d3f37f21c78b6705c62e" }, "none-ls.nvim": { "branch": "main", "commit": "db2a48b79cfcdab8baa5d3f37f21c78b6705c62e" },
"nvim-autopairs": { "branch": "master", "commit": "4d74e75913832866aa7de35e4202463ddf6efd1b" }, "nvim-autopairs": { "branch": "master", "commit": "4d74e75913832866aa7de35e4202463ddf6efd1b" },

View file

@ -29,7 +29,7 @@ else
cfg.shell = "/run/current-system/sw/bin/zsh" cfg.shell = "/run/current-system/sw/bin/zsh"
end end
vim.cmd([[colorscheme monokai-pro]]) vim.cmd([[colorscheme gruvbox]])
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
border = "single", border = "single",

View file

@ -1,7 +1,7 @@
return { return {
{ {
"andweeb/presence.nvim", "andweeb/presence.nvim",
"loctvl842/monokai-pro.nvim", "ellisonleao/gruvbox.nvim",
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
"williamboman/mason.nvim", "williamboman/mason.nvim",
{ {

View file

@ -1,20 +0,0 @@
require("monokai-pro").setup({
transparent_background = true,
devicons = true,
terminal_colors = true,
styles = {
comment = { italic = true },
keyword = { italic = true },
type = { italic = true },
storageclass = { italic = true },
structure = { italic = true },
parameter = { italic = true },
annotation = { italic = true },
tag_attribute = { italic = true },
},
filter = "spectrum",
day_night = { enable = false },
background_clear = { "toggleterm", "telescope", "notify", "nvim-tree" },
})
vim.cmd("colorscheme monokai-pro")

View file

@ -1,39 +1,44 @@
format = """ format = """
[](#1e1e1e)\ [](#1d2021)\
$os\ $os\
$username\ $username\
[](bg:#2a2a2a fg:#1e1e1e)\ [](bg:#3c3836 fg:#1d2021)\
$directory\ $directory\
[](fg:#2a2a2a bg:#3a3830)\ [](fg:#3c3836 bg:#2a2a2a)\
$all_langs\ $all_langs\
[](fg:#3a3830 bg:#1e1e1e)\ [](fg:#2a2a2a bg:#1d2021)\
$git_branch\
[](fg:#1d2021 bg:#4a4a4a)\
$time\ $time\
[](fg:#1e1e1e bg:#3e3a32)\ [ ](fg:#4a4a4a)\
$time\
[ ](fg:#3e3a32)\
""" """
add_newline = false add_newline = false
[username] [username]
show_always = true show_always = true
style_user = "bg:#1e1e1e fg:#dcd7ba" style_user = "bg:#1d2021 fg:#bdae93"
style_root = "bg:#1e1e1e fg:#c05a3b" style_root = "bg:#1d2021 fg:#fb4934"
format = '[$user]($style)' format = '[$user]($style)'
disabled = false disabled = false
[os] [os]
style = "bg:#2a2a2a fg:#dcd7ba" style = "bg:#1d2021 fg:#bdae93"
disabled = true disabled = true
[directory] [directory]
style = "fg:#dcd7ba bg:#2a2a2a" style = "fg:#bdae93 bg:#3c3836"
format = "[ $path ]($style)" format = "[ $path ]($style)"
truncation_length = 3 truncation_length = 3
truncation_symbol = "…/" truncation_symbol = "…/"
[directory.substitutions] [directory.substitutions]
"Documents" = "󰈙 " "Documents" = "󰈙 "
"Downloads" = " " "Downloads" = " "
"Music" = " " "Music" = " "
"Pictures" = " " "Pictures" = " "
[git_branch]
symbol = " "
style = "bg:#1d2021 fg:#bdae93"
format = "[ $symbol$branch ]($style)"

View file

@ -1,7 +1,6 @@
{ {
"position": "top", "position": "bottom",
"output": "HDMI-A-1", "layer": "bottom",
"layer": "top",
"modules-left": [ "modules-left": [
"niri/workspaces", "niri/workspaces",
"niri/mode", "niri/mode",
@ -10,7 +9,7 @@
], ],
"modules-right": [ "modules-right": [
"clock", "clock",
// "battery", "battery",
"pulseaudio", "pulseaudio",
"network" "network"
], ],
@ -84,8 +83,8 @@
"format": "<span style=\"italic\">{}</span>" "format": "<span style=\"italic\">{}</span>"
}, },
"network": { "network": {
// "interface": "wlo1", "interface": "wlo1",
"interface": "eno1", // "interface": "eno1",
"format-wifi": "WLAN {essid}", "format-wifi": "WLAN {essid}",
"format-ethernet": "ETH {ipaddr}/{cidr}", "format-ethernet": "ETH {ipaddr}/{cidr}",
"format-disconnected": "disconnected", "format-disconnected": "disconnected",

View file

@ -1,19 +1,18 @@
@define-color border #3e3a32; @define-color border #3c3836;
@define-color background #1e1e1e; @define-color background #282828;
@define-color surface0 #2a2a2a; @define-color surface0 #3c3836;
@define-color overlay0 #3a3830; @define-color overlay0 #504945;
@define-color text #dcd7ba; @define-color text #ebdbb2;
@define-color text_dim #8c8a75; @define-color text_dim #a89984;
@define-color blue #458588;
@define-color blue #7fbbb3; @define-color green #b8bb26;
@define-color green #55393D; /* changed */ @define-color yellow #d79921;
@define-color yellow #f9e2af; @define-color peach #fe8019;
@define-color peach #e69875; @define-color maroon #fb4934;
@define-color maroon #c05a3b; @define-color lavender #b16286;
@define-color lavender #b4beff; @define-color pink #d3869b;
@define-color pink #f4b8e4; @define-color teal #689d6a;
@define-color teal #7fc1ca; @define-color grey #928374;
@define-color grey #5c6773;
* { * {
border: none; border: none;
@ -24,7 +23,7 @@
window#waybar { window#waybar {
background: @background; background: @background;
border-bottom: 2px solid @surface0; border-top: 2px solid @surface0;
} }
#disk, #disk,
@ -49,7 +48,9 @@ window#waybar {
border-radius: 8px; border-radius: 8px;
} }
#window { transition: none; } #window {
transition: none;
}
window#waybar.empty #window { window#waybar.empty #window {
background: transparent; background: transparent;
@ -57,8 +58,15 @@ window#waybar.empty #window {
border: none; border: none;
} }
#network { margin: 8px 12px; color: @text; } #network {
#pulseaudio, #clock { color: @text; } margin: 8px 12px 8px 12px;
color: @text;
}
#pulseaudio,
#clock {
color: @text;
}
#workspaces { #workspaces {
margin-left: 12px; margin-left: 12px;
@ -72,12 +80,19 @@ window#waybar.empty #window {
transition: none; transition: none;
} }
#workspaces button.empty { color: @text_dim; } #workspaces button.empty {
#workspaces button.active { color: @green; } /* now #55393D */ color: @text;
#workspaces button.urgent { color: @maroon; } }
#workspaces button.active {
color: @peach;
}
#workspaces button.urgent {
color: @maroon;
}
#workspaces button:hover { #workspaces button:hover {
background: @overlay0; background: @overlay0;
color: @text; color: @text;
} }

View file

@ -72,8 +72,10 @@ in
security.sudo-rs.enable = true; security.sudo-rs.enable = true;
virtualisation = { virtualisation = {
waydroid.enable = false; waydroid.enable = true;
podman.enable = true; podman = {
enable = true;
};
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -120,14 +122,6 @@ in
vazir-fonts vazir-fonts
]; ];
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-gnome
];
};
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
services.openssh.enable = true; services.openssh.enable = true;
system.stateVersion = "25.05"; system.stateVersion = "25.05";

View file

@ -1,11 +0,0 @@
{
...
}:
{
swapDevices = [
{
device = "/var/lib/swapfile";
size = 12*1024;
}
];
}

View file

@ -1,10 +0,0 @@
{
config,
...
}:
{
zramSwap = {
enable = true;
writebackDevice = "/dev/nvme0n1p3";
};
}

View file

@ -23,7 +23,6 @@
modules = [ modules = [
(import ./configuration/configuration.nix { inherit pkgs pkgsUnstable; }) (import ./configuration/configuration.nix { inherit pkgs pkgsUnstable; })
./configuration/sys/coreutils-configuration.nix ./configuration/sys/coreutils-configuration.nix
./configuration/sys/swap.nix
./hardware-configuration.nix ./hardware-configuration.nix
{ {

View file

@ -0,0 +1,39 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/2ed14a91-f00e-4c66-8c33-29f93a8451d7";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/FB28-548D";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -36,7 +36,6 @@
suod = "sudo"; suod = "sudo";
sduo = "sudo"; sduo = "sudo";
sd = "sudo"; sd = "sudo";
fastfetch = "fastfetch --pipe false | uwuify.awk";
}; };
initContent = '' initContent = ''
autoload -U compinit autoload -U compinit
@ -53,10 +52,6 @@
EDITOR=vim EDITOR=vim
bindkey -e bindkey -e
PS1="[%n in %m %~] " PS1="[%n in %m %~] "
eval "$(starship init zsh)"
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
tmux attach -t default || tmux new -s default
fi
''; '';
}; };
} }

View file

@ -13,9 +13,7 @@
nvim = "nvim"; nvim = "nvim";
eww = "eww"; eww = "eww";
waybar = "waybar"; waybar = "waybar";
rofi = "rofi"; niri = "niri";
niri = "niri";
"starship.toml" = "starship.toml";
}; };
in { in {
xdg.configFile = builtins.mapAttrs (name: subpath: { xdg.configFile = builtins.mapAttrs (name: subpath: {
@ -32,12 +30,9 @@ in {
nix-search-cli nix-search-cli
fastfetch fastfetch
dysk dysk
ncurses autotiling
ollama
tree tree
pyright
stylua stylua
starship
gopls gopls
lua-language-server lua-language-server
serve-d serve-d
@ -50,7 +45,7 @@ in {
mate.caja mate.caja
htop htop
nixpkgs-fmt nixpkgs-fmt
swww swaybg
wmenu wmenu
mako mako
nwg-look nwg-look
@ -84,11 +79,4 @@ in {
userName = "coast"; userName = "coast";
}; };
programs.tmux = {
enable = true;
};
programs.tmate = {
enable = true;
};
} }