mirror of
https://github.com/srid/nixos-config.git
synced 2026-07-16 22:01:33 +08:00
dev server mode
This commit is contained in:
parent
02d4b1856b
commit
b42d4f43ba
4 changed files with 9 additions and 3 deletions
|
|
@ -3,7 +3,6 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
brave
|
||||
vscode
|
||||
nodejs-14_x # Need this for https://nixos.wiki/wiki/Vscode
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
|||
6
features/devserver-mode.nix
Normal file
6
features/devserver-mode.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
nodejs-14_x # Need this for https://nixos.wiki/wiki/Vscode
|
||||
];
|
||||
|
||||
}
|
||||
|
|
@ -66,6 +66,7 @@
|
|||
#./features/virtualbox.nix
|
||||
#./features/server-mode.nix
|
||||
# ./features/postgrest.nix
|
||||
./features/devserver-mode.nix
|
||||
];
|
||||
nixosConfigurations.x1c7 = mkHomeMachine
|
||||
./hosts/x1c7.nix
|
||||
|
|
@ -78,6 +79,7 @@
|
|||
nixosConfigurations.ryzen9 = mkHomeMachine
|
||||
./hosts/ryzen9.nix
|
||||
[
|
||||
./features/devserver-mode.nix
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -109,7 +109,6 @@
|
|||
trustedUsers = [ "root" "srid" ];
|
||||
};
|
||||
|
||||
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
|
|
@ -132,7 +131,7 @@
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
psmisc
|
||||
cryptsetup
|
||||
];
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue