wsl stuff

This commit is contained in:
2025-09-24 15:54:47 +00:00
parent 0050624f26
commit 1d6ac4d930
6 changed files with 13 additions and 7 deletions

9
flake.lock generated
View File

@@ -182,15 +182,14 @@
"uv2nix": "uv2nix" "uv2nix": "uv2nix"
}, },
"locked": { "locked": {
"lastModified": 1, "path": "./system/extras/pydev/",
"narHash": "sha256-wBVLwFjGszsaibW+oPRSRFq6vzKPxSmfsh1evEQ56Ow=",
"path": "/nix/store/ybygwf15aa782f1310fmxjzhw093fzm9-source/system/extras/pydev",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "/nix/store/ybygwf15aa782f1310fmxjzhw093fzm9-source/system/extras/pydev", "path": "./system/extras/pydev/",
"type": "path" "type": "path"
} },
"parent": []
}, },
"pyproject-build-systems": { "pyproject-build-systems": {
"inputs": { "inputs": {

View File

@@ -3,6 +3,7 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
ccls ccls
cmake
docker-language-server docker-language-server
ember-cli ember-cli
ember-language-server ember-language-server
@@ -10,14 +11,17 @@
gcc gcc
libgcc libgcc
gleam gleam
glib
kdlfmt kdlfmt
lessc lessc
meson
nil nil
nim-2_0 nim-2_0
nimlangserver nimlangserver
odin odin
ols ols
# python314 # python314
pkg-config
python313 python313
ruby ruby
rubyPackages_3_4.solargraph rubyPackages_3_4.solargraph

View File

@@ -1,7 +1,7 @@
{config, pkgs, ...}: {config, pkgs, ...}:
{ {
programs.bash.initExtra= ''zsh''; # home.shell = pkgs.zsh;
imports = [ imports = [
../../packages/zsh/zsh.nix ../../packages/zsh/zsh.nix
../../packages/zellij/zellij.nix ../../packages/zellij/zellij.nix

View File

@@ -3,7 +3,7 @@
{ {
programs.zellij = { programs.zellij = {
enable = true; enable = true;
enableZshIntegration = true; # enableZshIntegration = true;
# exitShellOnExit = true; # exitShellOnExit = true;
settings = { settings = {
themes = { themes = {

View File

@@ -6,4 +6,5 @@
description = "Autumn"; description = "Autumn";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
}; };
users.defaultUserShell = pkgs.zsh;
} }

View File

@@ -10,6 +10,7 @@
{ {
imports = [ imports = [
# include NixOS-WSL modules # include NixOS-WSL modules
../defaults/users.nix
<nixos-wsl/modules> <nixos-wsl/modules>
]; ];
@@ -17,6 +18,7 @@
wsl.defaultUser = "autumn"; wsl.defaultUser = "autumn";
networking.hostName = "wsl-hive"; networking.hostName = "wsl-hive";
environment.systemPackages = [pkgs.git]; environment.systemPackages = [pkgs.git];
programs.zsh.enable = true;
nix.settings.experimental-features = ["nix-command" "flakes"]; nix.settings.experimental-features = ["nix-command" "flakes"];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default