-
Notifications
You must be signed in to change notification settings - Fork 9
/
user-config.nix
34 lines (31 loc) · 904 Bytes
/
user-config.nix
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
{ config, modulesPath, pkgs, lib, ... }:
{
imports = [
(fetchTarball {
url = "https://github.com/msteen/nixos-vscode-server/tarball/master";
sha256 = "1qga1cmpavyw90xap5kfz8i6yz85b0blkkwvl00sbaxqcgib2rvv";
})
];
services.vscode-server.enable = true;
# still requires systemctl --user enable auto-fix-vscode-server.service
# systemctl --user start auto-fix-vscode-server.service
environment.systemPackages = with pkgs; [
htop
lsd
fd
bat
fzf
zoxide
jq
yq
fish
starship
];
programs.fish.enable = true;
users.users.josh = {
shell = "/run/current-system/sw/bin/fish";
isNormalUser = true;
group = "users";
home = "/home/josh.linux";
}; # Settings need to be specified here too so folders aren't overwritten/wiped
}