Compare commits
No commits in common. "d8b64589284195bd730ab0ccef76a1bbe91506a5" and "8e819e01ea44f0166abce9b75e9f2fd337571b69" have entirely different histories.
d8b6458928
...
8e819e01ea
6
flake.lock
generated
6
flake.lock
generated
@ -229,11 +229,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775710090,
|
"lastModified": 1774709303,
|
||||||
"narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=",
|
"narHash": "sha256-D3Q07BbIA2KnTcSXIqqu9P586uWxN74zNoCH3h2ESHg=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "4c1018dae018162ec878d42fec712642d214fdfa",
|
"rev": "8110df5ad7abf5d4c0f6fb0f8f978390e77f9685",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@ -7,9 +7,6 @@
|
|||||||
# Set hostid (required for ZFS)
|
# Set hostid (required for ZFS)
|
||||||
networking.hostId = "deadbeef";
|
networking.hostId = "deadbeef";
|
||||||
|
|
||||||
# Use thermald
|
|
||||||
services.thermald.ignoreCpuidCheck = true;
|
|
||||||
|
|
||||||
# Hardware configuration
|
# Hardware configuration
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
|
|||||||
@ -16,11 +16,7 @@ in
|
|||||||
# TODO: Add nvidia settings back in
|
# TODO: Add nvidia settings back in
|
||||||
# TODO: Move to nvidia module
|
# TODO: Move to nvidia module
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
open = false;
|
open = true;
|
||||||
prime = {
|
|
||||||
intelBusId = "PCI:0@0:2:0";
|
|
||||||
nvidiaBusId = "PCI:1@0:0:0";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -67,7 +67,6 @@ in
|
|||||||
"rounded-window-corners@fxgn"
|
"rounded-window-corners@fxgn"
|
||||||
"media-progress@krypion17"
|
"media-progress@krypion17"
|
||||||
"mprisLabel@moon-0xff.github.com"
|
"mprisLabel@moon-0xff.github.com"
|
||||||
"caffeube@patapon.info"
|
|
||||||
];
|
];
|
||||||
last-selected-power-profile = "power-saver";
|
last-selected-power-profile = "power-saver";
|
||||||
};
|
};
|
||||||
|
|||||||
@ -50,10 +50,6 @@ in
|
|||||||
vlc
|
vlc
|
||||||
authenticator
|
authenticator
|
||||||
hotspot
|
hotspot
|
||||||
btop
|
|
||||||
winboat
|
|
||||||
hieroglyphic
|
|
||||||
shortwave
|
|
||||||
|
|
||||||
podman
|
podman
|
||||||
podman-compose
|
podman-compose
|
||||||
@ -62,14 +58,6 @@ in
|
|||||||
gnome-logs
|
gnome-logs
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.zathura = {
|
|
||||||
enable = true;
|
|
||||||
options = {
|
|
||||||
synctex = true;
|
|
||||||
synctex-editor-command = "${pkgs.texlab}/bin/texlab inverse-search -i %{input} -l %{line}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.helix = {
|
programs.helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
@ -80,34 +68,6 @@ in
|
|||||||
# fallback = "default";
|
# fallback = "default";
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
settings =
|
|
||||||
let
|
|
||||||
move_line_up = [
|
|
||||||
"extend_to_line_bounds"
|
|
||||||
"delete_selection"
|
|
||||||
"move_line_up"
|
|
||||||
"paste_before"
|
|
||||||
];
|
|
||||||
move_line_down = [
|
|
||||||
"extend_to_line_bounds"
|
|
||||||
"delete_selection"
|
|
||||||
"paste_after"
|
|
||||||
];
|
|
||||||
in
|
|
||||||
{
|
|
||||||
keys.normal = {
|
|
||||||
"A-up" = move_line_up;
|
|
||||||
"A-down" = move_line_down;
|
|
||||||
"A-k" = move_line_up;
|
|
||||||
"A-j" = move_line_down;
|
|
||||||
};
|
|
||||||
keys.select = {
|
|
||||||
"A-up" = move_line_up;
|
|
||||||
"A-down" = move_line_down;
|
|
||||||
"A-k" = move_line_up;
|
|
||||||
"A-j" = move_line_down;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
bash-language-server # Bash
|
bash-language-server # Bash
|
||||||
fish-lsp # Fish
|
fish-lsp # Fish
|
||||||
@ -137,8 +97,7 @@ in
|
|||||||
ruff # Python
|
ruff # Python
|
||||||
basedpyright # Python
|
basedpyright # Python
|
||||||
|
|
||||||
#helix-gpt # Copilot
|
helix-gpt # Copilot
|
||||||
ltex-ls-plus # Spellchecking
|
|
||||||
|
|
||||||
# texlab # Latex, Bibtex
|
# texlab # Latex, Bibtex
|
||||||
# bibtex-tidy # Bibtex
|
# bibtex-tidy # Bibtex
|
||||||
@ -157,22 +116,6 @@ in
|
|||||||
];
|
];
|
||||||
languages = {
|
languages = {
|
||||||
language-server = {
|
language-server = {
|
||||||
ltex = {
|
|
||||||
command = "ltex-ls-plus";
|
|
||||||
config.ltex = { };
|
|
||||||
};
|
|
||||||
texlab = {
|
|
||||||
command = "texlab";
|
|
||||||
config.texlab = {
|
|
||||||
build.onSave = true;
|
|
||||||
forwardSearch.executable = "${config.programs.zathura.package}/bin/zathura";
|
|
||||||
forwardSearch.args = [
|
|
||||||
"--synctex-forward"
|
|
||||||
"%l:1:%f"
|
|
||||||
"%p"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
basedpyright = {
|
basedpyright = {
|
||||||
command = "basedpyright-langserver";
|
command = "basedpyright-langserver";
|
||||||
args = [ "--stdio" ];
|
args = [ "--stdio" ];
|
||||||
@ -190,16 +133,6 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
language = [
|
language = [
|
||||||
{
|
|
||||||
name = "latex";
|
|
||||||
# language-servers = [
|
|
||||||
# { name = "texlab"; }
|
|
||||||
# { name = "ltex"; }
|
|
||||||
# ];
|
|
||||||
soft-wrap = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "python";
|
name = "python";
|
||||||
language-servers = [
|
language-servers = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user