分割pkgs软件包部分
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
];
|
];
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
|
./pkgs.configuration.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -50,14 +51,14 @@
|
|||||||
hashedPassword = "$6$K3dbe2DC/9mq7Y8h$0Uy/lNwnFTHAjC61imz1wWQvDo12BUtOsgbP4vRAgN9gR.RFV8ZHw/6ns16.QO1KoXNuPxxNSoYMDk1HSYq/O/";
|
hashedPassword = "$6$K3dbe2DC/9mq7Y8h$0Uy/lNwnFTHAjC61imz1wWQvDo12BUtOsgbP4vRAgN9gR.RFV8ZHw/6ns16.QO1KoXNuPxxNSoYMDk1HSYq/O/";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
# environment.systemPackages = with pkgs; [
|
||||||
vim
|
# vim
|
||||||
curl
|
# curl
|
||||||
openssh
|
# openssh
|
||||||
htop
|
# htop
|
||||||
git
|
# git
|
||||||
neofetch
|
# neofetch
|
||||||
];
|
# ];
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.settings.PasswordAuthentication = true;
|
services.openssh.settings.PasswordAuthentication = true;
|
||||||
|
|||||||
12
pkgs.configuration.nix
Normal file
12
pkgs.configuration.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
vim
|
||||||
|
curl
|
||||||
|
openssh
|
||||||
|
htop
|
||||||
|
git
|
||||||
|
neofetch
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user