Archived
Watch
1
0
Fork
You've already forked nixos
0

nvf and stuff

This commit is contained in:
asnev 2026-10-23 10:00:32 +07:00
commit d6521a5be2
Signed by: asnev
SSH key fingerprint: SHA256:8hagYq9hDUuS5clQ78FKhIoQDvg5crdkYMHX+3g7wB4
5 changed files with 183 additions and 178 deletions

18
flake.lock generated
View file

@ -41,11 +41,11 @@
]
},
"locked": {
"lastModified": 1792274446,
"narHash": "sha256-AM1HmBeDnB2B3dSiXuCYeu7Me+lHNpz/P39lVxGJBuQ=",
"lastModified": 1792818383,
"narHash": "sha256-199i7ubVSXTMl+0AAlL7cVCXSjcI+jWByMcimYjeMX0=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "ab3823b4b24c0c3ca984c1f3ee577fd6d667424c",
"rev": "24f2190587513b9c2f73db112a17844ae912d965",
"type": "github"
},
"original": {
@ -72,11 +72,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1792295010,
"narHash": "sha256-F7meJtbqGttmUoMmYjRRgkVs42sn7bh7vvRvLPlUN98=",
"lastModified": 1792615934,
"narHash": "sha256-MlvRfa1O5Cqc2/a+gG+l9TSuowEoCKCmrJ1d9oAVm0I=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "8ce73368d1efd4d657e9064d29b144a52046b4e8",
"rev": "da6dc0e7b26060f2f71ce3ef7088fb56ee44fa36",
"type": "github"
},
"original": {
@ -111,11 +111,11 @@
]
},
"locked": {
"lastModified": 1792175215,
"narHash": "sha256-XD64JVLV8iE4lR+W5gkTweEaT+SBwOrSy0+le2WgITI=",
"lastModified": 1792889789,
"narHash": "sha256-xpH3z+T5NELixXRjxGJ3mx30kz63Xt2B0ZfPWl7hcUg=",
"owner": "NotAShelf",
"repo": "nvf",
"rev": "a736b60b1e2019931168979951c94dc46e342957",
"rev": "557d2eb05a76e5939e6a75351343cae5731a71f8",
"type": "github"
},
"original": {

View file

@ -4,7 +4,7 @@
...
}: {
imports = [
inputs.nvf.homeManagerModules.default
./fastfetch.nix
./nvf.nix
];
@ -20,8 +20,7 @@
karp
keepassxc
pdfarranger
# emacs
emacs
proton-vpn
# multimedia
furnace
corrscope
@ -38,16 +37,11 @@
# emulation
(unstable.bottles.override {removeWarningPopup = true;})
# devel
emacs
unstable.racket
unstable.lazygit
unstable.opencode
treesitter-cli
];
programs = {
home-manager.enable = true;
ssh = {
programs.ssh = {
enable = true;
enableDefaultConfig = false;
settings."*" = {
@ -64,7 +58,7 @@
};
};
git = {
programs.git = {
enable = true;
settings.user.name = "asnev";
settings.user.email = "notasnev@proton.me";
@ -78,20 +72,20 @@
];
};
fish.enable = true;
fish.shellAbbrs = {
programs.fish.enable = true;
programs.fish.shellAbbrs = {
l = "eza --grid --all";
ll = "eza --long --all";
ls = "eza";
".." = "cd ..";
"..." = "cd ../..";
cat = "bat";
};
tmux = {
programs.tmux = {
enable = true;
clock24 = true;
baseIndex = 1;
shortcut = "b";
keyMode = "vi";
terminal = "tmux-256color";
escapeTime = 10;
@ -106,10 +100,10 @@
'';
};
yt-dlp.enable = true;
yt-dlp.package = pkgs.unstable.yt-dlp;
programs.yt-dlp.enable = true;
programs.yt-dlp.package = pkgs.unstable.yt-dlp;
starship = {
programs.starship = {
enable = true;
package = pkgs.unstable.starship;
enableTransience = true;
@ -125,92 +119,9 @@
};
};
obs-studio.enable = true;
obs-studio.plugins = with pkgs.obs-studio-plugins; [
programs.obs-studio.enable = true;
programs.obs-studio.plugins = with pkgs.obs-studio-plugins; [
input-overlay
droidcam-obs
];
fastfetch.enable = true;
fastfetch.settings = {
"$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json";
logo.type = "small";
logo.padding.top = 4;
logo.padding.left = 3;
logo.padding.right = 4;
display.separator = " ";
modules = [
{
key = "╭─────────╮";
type = "custom";
}
{
key = "│ {#31}user {#keys}│";
type = "title";
format = "{user-name}";
}
{
key = "│ {#32}host {#keys}│";
type = "title";
format = "{host-name}";
}
{
key = "│ {#33}uptime {#keys}│";
type = "uptime";
}
{
key = "│ {#34}distro {#keys}│";
type = "os";
}
{
key = "│ {#35}kernel {#keys}│";
type = "kernel";
}
{
key = "│ {#36}desktop {#keys}│";
type = "de";
}
{
key = "│ {#31}term {#keys}│";
type = "terminal";
}
{
key = "│ {#32}shell {#keys}│";
type = "shell";
}
{
key = "│ {#33}cpu {#keys}│";
type = "cpu";
showPeCoreCount = true;
}
{
key = "│ {#34}disk {#keys}│";
type = "disk";
folders = "/";
}
{
key = "│ {#35}memory {#keys}│";
type = "memory";
}
{
key = "│ {#36}network {#keys}│";
type = "localip";
format = "{ipv4} ({ifname})";
}
{
key = "├─────────┤";
type = "custom";
}
{
key = "│ {#39}colors {#keys}│";
type = "colors";
symbol = "circle";
}
{
key = "╰─────────╯";
type = "custom";
}
];
};
};
}

83
home/coyote/fastfetch.nix Normal file
View file

@ -0,0 +1,83 @@
{pkgs, ...}: {
programs.fastfetch.enable = true;
programs.fastfetch.settings = {
"$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json";
logo.type = "small";
logo.padding.top = 4;
logo.padding.left = 3;
logo.padding.right = 4;
display.separator = " ";
modules = [
{
key = "╭─────────╮";
type = "custom";
}
{
key = "│ {#31}user {#keys}│";
type = "title";
format = "{user-name}";
}
{
key = "│ {#32}host {#keys}│";
type = "title";
format = "{host-name}";
}
{
key = "│ {#33}uptime {#keys}│";
type = "uptime";
}
{
key = "│ {#34}distro {#keys}│";
type = "os";
}
{
key = "│ {#35}kernel {#keys}│";
type = "kernel";
}
{
key = "│ {#36}desktop {#keys}│";
type = "de";
}
{
key = "│ {#31}term {#keys}│";
type = "terminal";
}
{
key = "│ {#32}shell {#keys}│";
type = "shell";
}
{
key = "│ {#33}cpu {#keys}│";
type = "cpu";
showPeCoreCount = true;
}
{
key = "│ {#34}disk {#keys}│";
type = "disk";
folders = "/";
}
{
key = "│ {#35}memory {#keys}│";
type = "memory";
}
{
key = "│ {#36}network {#keys}│";
type = "localip";
format = "{ipv4} ({ifname})";
}
{
key = "├─────────┤";
type = "custom";
}
{
key = "│ {#39}colors {#keys}│";
type = "colors";
symbol = "circle";
}
{
key = "╰─────────╯";
type = "custom";
}
];
};
}

View file

@ -1,4 +1,15 @@
{...}: {
{
inputs,
pkgs,
...
}: {
imports = [inputs.nvf.homeManagerModules.default];
home.packages = with pkgs; [
unstable.lazygit
unstable.tree-sitter
];
programs.nvf = {
enable = true;
defaultEditor = true;
@ -89,7 +100,7 @@
languages.nix = {
enable = true;
treesitter.enable = true;
lsp.enable = false;
lsp.enable = true;
format.enable = false;
extraDiagnostics.enable = false;
};

View file

@ -25,6 +25,6 @@
# SDDM look, specific to this machine
# NOTE: Wayland for SDDM intentionally left disabled (experimental)
services.displayManager.sddm.settings.Theme.Font = "Inter";
services.displayManager.sddm.settings.Theme.Font = "Cantarell";
services.displayManager.sddm.settings.Theme.CursorSize = 18;
}