blob: b1550582b5418e842bdd17ee398c94d0b5780b76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
{
lib,
pkgs,
nhekoSrc,
mtxclientSrc,
...
}:
{
imports = [
../../modules/base-client.nix
# ../../modules/software-templates/profilers.nix
# ../../modules/software-templates/dotnet.client.nix
];
wsl = {
enable = true;
automountPath = "/mnt";
#defaultUser = "nixos";
defaultUser = "Rory";
startMenuLaunchers = true;
# Fix binfmt registration
interop.register = true;
# Enable native Docker support
# docker-native.enable = true;
# Enable integration with Docker Desktop (needs to be installed)
# docker-desktop.enable = true;
};
networking.hostName = "Rory-wsl";
users.users.Rory.uid = 1000;
environment.systemPackages = with pkgs; [
gnome-console
feh
easyeffects
kitty
# youtube-music
nemo
file-roller
# - IDEs
# jetbrains-toolbox
# jetbrains.rider
# github-copilot-intellij-agent
# dbeaver
# insomnia
# vscode
# discord
# - Languages
#dotnet-sdk_7
#dotnet-sdk_8
# (callPackage ../../modules/packages/dotnet-pack.nix { inherit pkgs; })
# temurin-bin
# obsidian
# ungoogled-chromium #needed for Rider in order to debug WASM
# peek
unrar-wrapper
#(schildichat-desktop.override { electron = electron; })
(callPackage ../../modules/packages/nheko-git.nix {
inherit nhekoSrc;
inherit mtxclientSrc;
})
# steam-run
];
programs.firefox = {
enable = true;
package = pkgs.firefox-devedition;
#preferencesStatus = "default";
wrapperConfig.speechSynthesisSupport = false;
};
fonts = {
fonts = with pkgs; [
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
noto-fonts-monochrome-emoji
];
# fontconfig.defaultFonts.monospace = with pkgs; [
# "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular"
# ];
# fontconfig.defaultFonts.sansSerif = with pkgs; [
# "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular"
# ];
# fontconfig.defaultFonts.serif = with pkgs; [
# "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular"
# ];
fontconfig.defaultFonts.emoji = with pkgs; [ "freefont" ];
enableDefaultPackages = lib.mkForce false;
enableGhostscriptFonts = lib.mkForce false;
};
programs.dconf.enable = true;
system.stateVersion = "23.05";
nixpkgs.config.permittedInsecurePackages = [ "electron-25.9.0" ];
home-manager.users.Rory.home.stateVersion = lib.mkForce "23.05";
}
|