mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
System and Development Environment Updates
Changelog: - Applied fixes for system apps with the latest `nixpkgs` update. - Updated `wezterm` to the latest Git version and refreshed its configuration. - Optimized Rust Cargo template. - Added several new Language Server Protocols (LSPs). - Introduced new Rust targets to the environment. - Added `pwgen`, `pwgen-secure`, and `git-secrets` packages. - Added `gcc`, `clang`, `lld`, `lldb`, and `musl` packages for compiling and debugging.
This commit is contained in:
@@ -42,7 +42,7 @@ font-antialiasing='grayscale'
|
|||||||
font-hinting='slight'
|
font-hinting='slight'
|
||||||
font-name='JetBrains Mono 11'
|
font-name='JetBrains Mono 11'
|
||||||
gtk-theme='Catppuccin-Macchiato-Standard-Teal-Dark'
|
gtk-theme='Catppuccin-Macchiato-Standard-Teal-Dark'
|
||||||
icon-theme='Colloid-teal-dark'
|
icon-theme='Colloid-Teal-Dark'
|
||||||
monospace-font-name='JetBrains Mono 11'
|
monospace-font-name='JetBrains Mono 11'
|
||||||
|
|
||||||
[org/gnome/desktop/peripherals/touchpad]
|
[org/gnome/desktop/peripherals/touchpad]
|
||||||
|
@@ -1,8 +1,12 @@
|
|||||||
local wezterm = require 'wezterm'
|
local wezterm = require 'wezterm'
|
||||||
local act = wezterm.action
|
local act = wezterm.action
|
||||||
|
local gpus = wezterm.gui.enumerate_gpus()
|
||||||
|
|
||||||
return {
|
return {
|
||||||
enable_wayland = true;
|
enable_wayland = true,
|
||||||
|
prefer_egl = true,
|
||||||
|
front_end = "WebGpu",
|
||||||
|
webgpu_preferred_adapter = gpus[2],
|
||||||
color_scheme = 'Catppuccin Macchiato',
|
color_scheme = 'Catppuccin Macchiato',
|
||||||
enable_tab_bar = false,
|
enable_tab_bar = false,
|
||||||
inactive_pane_hsb = {
|
inactive_pane_hsb = {
|
||||||
@@ -25,8 +29,8 @@ return {
|
|||||||
opacity = 0.05,
|
opacity = 0.05,
|
||||||
vertical_align = "Middle",
|
vertical_align = "Middle",
|
||||||
horizontal_align = "Center",
|
horizontal_align = "Center",
|
||||||
height = "1424",
|
height = "1824",
|
||||||
width = "2024",
|
width = "2724",
|
||||||
repeat_y = "NoRepeat",
|
repeat_y = "NoRepeat",
|
||||||
repeat_x = "NoRepeat",
|
repeat_x = "NoRepeat",
|
||||||
},
|
},
|
||||||
|
@@ -7,6 +7,12 @@ cargo-features = [ "codegen-backend", "profile-rustflags" ]
|
|||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 1
|
opt-level = 1
|
||||||
codegen-backend = "cranelift"
|
codegen-backend = "cranelift"
|
||||||
|
rustflags = [
|
||||||
|
"-Z", "threads=8", # Enable parallel frontend compiling
|
||||||
|
"-C", "linker=clang", # Use clang as the linker
|
||||||
|
"-C", "link-arg=-fuse-ld=mold", # Use mold as the linker backend
|
||||||
|
"-C", "link-arg=-static",
|
||||||
|
]
|
||||||
[profile.dev.package."*"]
|
[profile.dev.package."*"]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
codegen-backend = "cranelift"
|
codegen-backend = "cranelift"
|
||||||
|
159
nixos/flake.lock
generated
159
nixos/flake.lock
generated
@@ -5,11 +5,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681202837,
|
"lastModified": 1710146030,
|
||||||
"narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=",
|
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "cfacdce06f30d2b68473a46042957675eebb3401",
|
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -18,13 +18,64 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"freetype2": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1687587065,
|
||||||
|
"narHash": "sha256-+Fh+/k+NWL5Ow9sDLtp8Cv/8rLNA1oByQQCIQS/bysY=",
|
||||||
|
"owner": "wez",
|
||||||
|
"repo": "freetype2",
|
||||||
|
"rev": "e4586d960f339cf75e2e0b34aee30a0ed8353c0d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "wez",
|
||||||
|
"repo": "freetype2",
|
||||||
|
"rev": "e4586d960f339cf75e2e0b34aee30a0ed8353c0d",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"harfbuzz": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1711722720,
|
||||||
|
"narHash": "sha256-GdxcAPx5QyniSHPAN1ih28AD9JLUPR0ItqW9JEsl3pU=",
|
||||||
|
"owner": "harfbuzz",
|
||||||
|
"repo": "harfbuzz",
|
||||||
|
"rev": "63973005bc07aba599b47fdd4cf788647b601ccd",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "harfbuzz",
|
||||||
|
"ref": "8.4.0",
|
||||||
|
"repo": "harfbuzz",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libpng": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1549245649,
|
||||||
|
"narHash": "sha256-1+cRp0Ungme/OGfc9kGJbklYIWAFxk8Il1M+NV4KSgw=",
|
||||||
|
"owner": "glennrp",
|
||||||
|
"repo": "libpng",
|
||||||
|
"rev": "8439534daa1d3a5705ba92e653eda9251246dd61",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "glennrp",
|
||||||
|
"repo": "libpng",
|
||||||
|
"rev": "8439534daa1d3a5705ba92e653eda9251246dd61",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701718080,
|
"lastModified": 1727348695,
|
||||||
"narHash": "sha256-6ovz0pG76dE0P170pmmZex1wWcQoeiomUZGggfH9XPs=",
|
"narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2c7f3c0fb7c08a0814627611d9d7d45ab6d75335",
|
"rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -36,11 +87,27 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681358109,
|
"lastModified": 1718428119,
|
||||||
"narHash": "sha256-eKyxW4OohHQx9Urxi7TQlFBTDWII+F+x2hklDOQPB50=",
|
"narHash": "sha256-WdWDpNaq6u1IPtxtYHHWpl5BmabtpmLnMAx0RdJ/vo8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "96ba1c52e54e74c3197f4d43026b3f3d92e83ff9",
|
"rev": "e6cea36f83499eb4e9cd184c8a8e823296b50ad5",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1726238386,
|
||||||
|
"narHash": "sha256-3//V84fYaGVncFImitM6lSAliRdrGayZLdxWlpcuGk0=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "01f064c99c792715054dc7a70e4c1626dbbec0c3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -53,20 +120,41 @@
|
|||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay",
|
||||||
|
"wezterm": "wezterm"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1702001829,
|
"lastModified": 1727577080,
|
||||||
"narHash": "sha256-6gEVidNVqzTb06zIy2Gxhz9m6/jXyAgViRxfgEpZkQ8=",
|
"narHash": "sha256-2LPT76Acp6ebt7fCt90eq/M8T2+X09s/yTVgfVFrtno=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "c2a1dd067a928624c1aab36f976758c0722c79bd",
|
"rev": "73a833855442ce8cee710cf4d8d054fea1c81196",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rust-overlay_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"wezterm",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1726280639,
|
||||||
|
"narHash": "sha256-YfLRPlFZWrT2oRLNAoqf7G3+NnUTDdlIJk6tmBU7kXM=",
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"rev": "e9f8641c92f26fd1e076e705edb12147c384171d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -89,6 +177,49 @@
|
|||||||
"repo": "default",
|
"repo": "default",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"wezterm": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils",
|
||||||
|
"freetype2": "freetype2",
|
||||||
|
"harfbuzz": "harfbuzz",
|
||||||
|
"libpng": "libpng",
|
||||||
|
"nixpkgs": "nixpkgs_3",
|
||||||
|
"rust-overlay": "rust-overlay_2",
|
||||||
|
"zlib": "zlib"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"dir": "nix",
|
||||||
|
"lastModified": 1726890735,
|
||||||
|
"narHash": "sha256-0qrs+abRPD8o9uLbwy187rqtxs5twcC1Iw9K59pjjWs=",
|
||||||
|
"owner": "wez",
|
||||||
|
"repo": "wezterm",
|
||||||
|
"rev": "6c1dbc0eb2f602a23e6d5f1479db218f8e705839",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"dir": "nix",
|
||||||
|
"owner": "wez",
|
||||||
|
"repo": "wezterm",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zlib": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1484501380,
|
||||||
|
"narHash": "sha256-j5b6aki1ztrzfCqu8y729sPar8GpyQWIrajdzpJC+ww=",
|
||||||
|
"owner": "madler",
|
||||||
|
"repo": "zlib",
|
||||||
|
"rev": "cacf7f1d4e3d44d871b605da3b647f07d718623f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "madler",
|
||||||
|
"ref": "v1.2.11",
|
||||||
|
"repo": "zlib",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
rust-overlay.url = "github:oxalica/rust-overlay";
|
rust-overlay.url = "github:oxalica/rust-overlay";
|
||||||
|
wezterm.url = "github:wez/wezterm?dir=nix";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, ... } @ inputs:
|
outputs = { nixpkgs, ... } @ inputs:
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
{ inputs, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enable Hyprland
|
# Enable Hyprland
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
hypridle
|
hypridle
|
||||||
hyprpaper
|
hyprpaper
|
||||||
|
|
||||||
wezterm
|
inputs.wezterm.packages.${pkgs.system}.default
|
||||||
cool-retro-term
|
cool-retro-term
|
||||||
|
|
||||||
starship
|
starship
|
||||||
|
@@ -9,13 +9,23 @@
|
|||||||
nodePackages_latest.vscode-langservers-extracted
|
nodePackages_latest.vscode-langservers-extracted
|
||||||
nodePackages_latest.yaml-language-server
|
nodePackages_latest.yaml-language-server
|
||||||
nodePackages_latest.dockerfile-language-server-nodejs
|
nodePackages_latest.dockerfile-language-server-nodejs
|
||||||
|
nodePackages_latest.bash-language-server
|
||||||
|
nodePackages_latest.graphql-language-service-cli
|
||||||
vue-language-server
|
vue-language-server
|
||||||
sumneko-lua-language-server
|
sumneko-lua-language-server
|
||||||
marksman
|
marksman
|
||||||
|
markdown-oxide
|
||||||
nil
|
nil
|
||||||
zls
|
zls
|
||||||
gopls
|
gopls
|
||||||
delve
|
delve
|
||||||
emmet-language-server
|
emmet-language-server
|
||||||
|
buf-language-server
|
||||||
|
cmake-language-server
|
||||||
|
docker-compose-language-service
|
||||||
|
vscode-extensions.vadimcn.vscode-lldb
|
||||||
|
slint-lsp
|
||||||
|
terraform-ls
|
||||||
|
ansible-language-server
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -6,6 +6,7 @@ targets = [
|
|||||||
"wasm32-wasi",
|
"wasm32-wasi",
|
||||||
"x86_64-pc-windows-gnu",
|
"x86_64-pc-windows-gnu",
|
||||||
"x86_64-unknown-linux-gnu",
|
"x86_64-unknown-linux-gnu",
|
||||||
"aarch64-unknown-linux-gnu"
|
"aarch64-unknown-linux-gnu",
|
||||||
|
"x86_64-unknown-linux-musl"
|
||||||
]
|
]
|
||||||
profile = "default"
|
profile = "default"
|
||||||
|
@@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
(rust-bin.fromRustupToolchainFile ./rust-toolchain.toml)
|
(rust-bin.fromRustupToolchainFile ./rust-toolchain.toml)
|
||||||
lldb_16
|
|
||||||
taplo #toml formatter & lsp
|
taplo #toml formatter & lsp
|
||||||
cargo-watch
|
cargo-watch
|
||||||
cargo-deny
|
cargo-deny
|
||||||
|
@@ -95,5 +95,7 @@
|
|||||||
passExtensions.pass-import
|
passExtensions.pass-import
|
||||||
passExtensions.pass-audit
|
passExtensions.pass-audit
|
||||||
tomb
|
tomb
|
||||||
|
pwgen
|
||||||
|
pwgen-secure
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -8,6 +8,7 @@
|
|||||||
license-generator
|
license-generator
|
||||||
git-ignore
|
git-ignore
|
||||||
gitleaks
|
gitleaks
|
||||||
|
git-secrets
|
||||||
pass-git-helper
|
pass-git-helper
|
||||||
just
|
just
|
||||||
xh
|
xh
|
||||||
|
@@ -3,7 +3,11 @@
|
|||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
mold
|
mold
|
||||||
gcc13
|
gcc
|
||||||
|
clang
|
||||||
|
lld
|
||||||
|
lldb
|
||||||
|
musl
|
||||||
jdk11
|
jdk11
|
||||||
dioxus-cli
|
dioxus-cli
|
||||||
surrealdb
|
surrealdb
|
||||||
|
Reference in New Issue
Block a user