Compare commits
2 Commits
d24ebbf153
...
40b6544a78
Author | SHA1 | Date | |
---|---|---|---|
|
40b6544a78 | ||
|
77beeaf9f4 |
40
flake.lock
generated
40
flake.lock
generated
@ -5,11 +5,11 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745352209,
|
"lastModified": 1748080874,
|
||||||
"narHash": "sha256-u3vJEzi6zxgG59KXjMR5koERsdKT5nd1OEKCpr6zgn8=",
|
"narHash": "sha256-sUebEzAkrY8Aq5G0GHFyRddmRNGP/a2iTtV7ISNvi/c=",
|
||||||
"owner": "catppuccin",
|
"owner": "catppuccin",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"rev": "6268e50dbb0ac9375e110560395b5dc199e4dfb8",
|
"rev": "0ba11b12be81f0849a89ed17ab635164ea8f0112",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -46,16 +46,16 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744743431,
|
"lastModified": 1748665073,
|
||||||
"narHash": "sha256-iyn/WBYDc7OtjSawbegINDe/gIkok888kQxk3aVnkgg=",
|
"narHash": "sha256-RMhjnPKWtCoIIHiuR9QKD7xfsKb3agxzMfJY8V9MOew=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "c61bfe3ae692f42ce688b5865fac9e0de58e1387",
|
"rev": "282e1e029cb6ab4811114fc85110613d72771dea",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "release-24.11",
|
"ref": "release-25.05",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@ -78,11 +78,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745234285,
|
"lastModified": 1748929857,
|
||||||
"narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=",
|
"narHash": "sha256-lcZQ8RhsmhsK8u7LIFsJhsLh/pzR9yZ8yqpTzyGdj+Q=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c11863f1e964833214b767f4a369c6e6a7aba141",
|
"rev": "c2a03962b8e24e669fb37b7df10e7c79531ff1a4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -94,27 +94,27 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745279238,
|
"lastModified": 1749086602,
|
||||||
"narHash": "sha256-AQ7M9wTa/Pa/kK5pcGTgX/DGqMHyzsyINfN7ktsI7Fo=",
|
"narHash": "sha256-DJcgJMekoxVesl9kKjfLPix2Nbr42i7cpEHJiTnBUwU=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9684b53175fc6c09581e94cc85f05ab77464c7e3",
|
"rev": "4792576cb003c994bd7cc1edada3129def20b27d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-24.11",
|
"ref": "nixos-25.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745234285,
|
"lastModified": 1748693115,
|
||||||
"narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=",
|
"narHash": "sha256-StSrWhklmDuXT93yc3GrTlb0cKSS0agTAxMGjLKAsY8=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c11863f1e964833214b767f4a369c6e6a7aba141",
|
"rev": "910796cabe436259a29a72e8d3f5e180fc6dfacc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -131,11 +131,11 @@
|
|||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745419524,
|
"lastModified": 1748982388,
|
||||||
"narHash": "sha256-oDRzqjH44hOEvJAyA1A+pCp01+rkjEvW1+AXCCvEYNE=",
|
"narHash": "sha256-LTeW3PfWqxEFLcqfcG/i+So4IB2HGI8IxZgn/cFamHc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "a5724250ee4c962f1fbfe992061e296955277961",
|
"rev": "1c764f6eebc40f6db3a3b64a5fc5a192fc2a70e2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
description = "NixOS system flake.";
|
description = "NixOS system flake.";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-24.11";
|
url = "github:nix-community/home-manager/release-25.05";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
catppuccin.url = "github:catppuccin/nix";
|
catppuccin.url = "github:catppuccin/nix";
|
||||||
@ -72,7 +72,7 @@
|
|||||||
home-manager.users.nate = {
|
home-manager.users.nate = {
|
||||||
imports = [
|
imports = [
|
||||||
./nate-work/modules/home-manager/home.nix
|
./nate-work/modules/home-manager/home.nix
|
||||||
catppuccin.homeManagerModules.catppuccin
|
catppuccin.homeModules.catppuccin
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
home-manager.extraSpecialArgs = {
|
home-manager.extraSpecialArgs = {
|
||||||
|
@ -8,6 +8,7 @@ n = "move_char_left" # Maps the 'a' key to the move_char_left command
|
|||||||
i = "move_visual_line_down"
|
i = "move_visual_line_down"
|
||||||
e = "move_visual_line_up"
|
e = "move_visual_line_up"
|
||||||
o = "move_char_right"
|
o = "move_char_right"
|
||||||
|
"S-tab" = "jump_backward"
|
||||||
|
|
||||||
I = "page_down"
|
I = "page_down"
|
||||||
E = "page_up"
|
E = "page_up"
|
||||||
@ -43,12 +44,14 @@ C-n = "select_next_sibling"
|
|||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
"C-/" = "toggle_comments"
|
"C-/" = "toggle_comments"
|
||||||
|
"@" = ":append-output git config get user.email"
|
||||||
|
|
||||||
[keys.normal."C-space"]
|
[keys.normal.space]
|
||||||
x = ":wbc!"
|
x = ":write-buffer-close"
|
||||||
s = ":w!" # save file
|
X = ":write-quit-all"
|
||||||
o = ":config-open"
|
o = ":config-open"
|
||||||
c = ["vsplit", ":open llm-chat.md"]
|
h = "hover"
|
||||||
|
k = "select_references_to_symbol_under_cursor"
|
||||||
|
|
||||||
[keys.normal.g]
|
[keys.normal.g]
|
||||||
"/" = "goto_next_buffer"
|
"/" = "goto_next_buffer"
|
||||||
@ -115,33 +118,18 @@ l = "no_op"
|
|||||||
L = "no_op"
|
L = "no_op"
|
||||||
C-l = "no_op"
|
C-l = "no_op"
|
||||||
|
|
||||||
[keys.normal."space"]
|
|
||||||
h = "hover"
|
|
||||||
k = "select_references_to_symbol_under_cursor"
|
|
||||||
|
|
||||||
[editor]
|
[editor]
|
||||||
bufferline = "always"
|
|
||||||
auto-save = true
|
|
||||||
line-number = "relative"
|
|
||||||
cursorline = true
|
|
||||||
cursorcolumn = true
|
|
||||||
color-modes = true
|
|
||||||
text-width = 120
|
|
||||||
auto-format = true
|
auto-format = true
|
||||||
|
auto-save = true
|
||||||
[editor.statusline]
|
bufferline = "always"
|
||||||
left = ["mode", "spinner", "version-control"]
|
color-modes = true # color each mode differently in statusline
|
||||||
center = ["file-name"]
|
completion-timeout = 5
|
||||||
mode.normal = "Normal"
|
cursorcolumn = true
|
||||||
mode.insert = "Insert"
|
cursorline = true
|
||||||
mode.select = "Select"
|
indent-heuristic = "tree-sitter"
|
||||||
|
line-number = "relative"
|
||||||
[editor.indent-guides]
|
rulers = [120]
|
||||||
render = true
|
text-width = 120
|
||||||
|
|
||||||
[editor.lsp]
|
|
||||||
display-messages = true
|
|
||||||
display-inlay-hints = false
|
|
||||||
|
|
||||||
[editor.cursor-shape]
|
[editor.cursor-shape]
|
||||||
insert = "bar"
|
insert = "bar"
|
||||||
@ -151,6 +139,32 @@ select = "underline"
|
|||||||
[editor.file-picker]
|
[editor.file-picker]
|
||||||
hidden = false
|
hidden = false
|
||||||
|
|
||||||
|
[editor.indent-guides]
|
||||||
|
render = true
|
||||||
|
|
||||||
|
[editor.inline-diagnostics]
|
||||||
|
cursor-line = "error"
|
||||||
|
other-lines = "error"
|
||||||
|
prefix-len = 5
|
||||||
|
max-diagnostics = 1
|
||||||
|
max-wrap = 30
|
||||||
|
|
||||||
|
[editor.lsp]
|
||||||
|
display-messages = true
|
||||||
|
display-inlay-hints = true
|
||||||
|
|
||||||
|
[editor.soft-wrap]
|
||||||
|
enable = true
|
||||||
|
max-wrap = 30
|
||||||
|
|
||||||
|
[editor.statusline]
|
||||||
|
left = ["mode", "file-modification-indicator", "spinner", "version-control"]
|
||||||
|
center = ["file-name"]
|
||||||
|
right = ["diagnostics", "selections", "register", "position", "file-encoding"]
|
||||||
|
mode.normal = "Normal"
|
||||||
|
mode.insert = "Insert"
|
||||||
|
mode.select = "Select"
|
||||||
|
|
||||||
[editor.whitespace.render]
|
[editor.whitespace.render]
|
||||||
space = "all"
|
space = "all"
|
||||||
tab = "all"
|
tab = "all"
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
cursors.enable = false;
|
cursors.enable = false;
|
||||||
kvantum.enable = true;
|
kvantum.enable = true;
|
||||||
zsh-syntax-highlighting.enable = true;
|
zsh-syntax-highlighting.enable = true;
|
||||||
|
mako.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -66,6 +67,7 @@
|
|||||||
# Dev Tools
|
# Dev Tools
|
||||||
#
|
#
|
||||||
helix
|
helix
|
||||||
|
vscodium-fhs
|
||||||
unstable.distrobox
|
unstable.distrobox
|
||||||
unstable.docker_25
|
unstable.docker_25
|
||||||
docker-compose
|
docker-compose
|
||||||
@ -136,7 +138,6 @@
|
|||||||
#
|
#
|
||||||
# Photo / Video
|
# Photo / Video
|
||||||
#
|
#
|
||||||
davinci-resolve-studio
|
|
||||||
imv
|
imv
|
||||||
mpv
|
mpv
|
||||||
ffmpeg
|
ffmpeg
|
||||||
@ -252,7 +253,7 @@
|
|||||||
zstyle :omz:plugins:ssh-agent lazy yes
|
zstyle :omz:plugins:ssh-agent lazy yes
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
initExtra = ''
|
initContent = ''
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
# eval "$(ssh-agent)" >/dev/null
|
# eval "$(ssh-agent)" >/dev/null
|
||||||
# export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent
|
# export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent
|
||||||
|
@ -189,15 +189,27 @@ in
|
|||||||
# allow_dumb_copy = true;
|
# allow_dumb_copy = true;
|
||||||
};
|
};
|
||||||
misc = {
|
misc = {
|
||||||
vfr = true;
|
# Revert to true when nvidia damage tracking works
|
||||||
|
vfr = 0;
|
||||||
force_default_wallpaper = 0;
|
force_default_wallpaper = 0;
|
||||||
disable_hyprland_logo = true;
|
disable_hyprland_logo = true;
|
||||||
};
|
};
|
||||||
render = {
|
render = {
|
||||||
explicit_sync = 1;
|
# Revert to ex_sync = 1 and remove sync_kms when nvidia is fixed
|
||||||
explicit_sync_kms = 1;
|
explicit_sync = 2;
|
||||||
|
explicit_sync_kms = 0;
|
||||||
direct_scanout = "no";
|
direct_scanout = "no";
|
||||||
};
|
};
|
||||||
|
##
|
||||||
|
## delete when nvidia damage tracking works (debug & opengl)
|
||||||
|
##
|
||||||
|
debug = {
|
||||||
|
damage_tracking = 0;
|
||||||
|
};
|
||||||
|
opengl = {
|
||||||
|
nvidia_anti_flicker = 0;
|
||||||
|
# force_introspection = 2;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
wayland.windowManager.hyprland.systemd.variables = ["--all"];
|
wayland.windowManager.hyprland.systemd.variables = ["--all"];
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelParams = [ "acpi_backlight=native" ];
|
boot.kernelParams = [ "acpi_backlight=native" "snd_seq_midi.output_buffer_size=131072" ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ in
|
|||||||
id = 0;
|
id = 0;
|
||||||
name = "default";
|
name = "default";
|
||||||
isDefault = true;
|
isDefault = true;
|
||||||
extensions = with pkgs; [
|
extensions.packages = with pkgs; [
|
||||||
nur.repos.rycee.firefox-addons.darkreader
|
nur.repos.rycee.firefox-addons.darkreader
|
||||||
nur.repos.rycee.firefox-addons.keepassxc-browser
|
nur.repos.rycee.firefox-addons.keepassxc-browser
|
||||||
nur.repos.crazazy.firefox-addons.ublock-origin
|
nur.repos.crazazy.firefox-addons.ublock-origin
|
||||||
|
Loading…
Reference in New Issue
Block a user