mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-13 03:23:01 -06:00
Add new file
This commit is contained in:
parent
69a3c62075
commit
828d963297
1 changed files with 46 additions and 0 deletions
46
config.nix
Normal file
46
config.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Import other configuration modules
|
||||||
|
# (hardware-configuration.nix is autogenerated upon installation)
|
||||||
|
# paths in nix expressions are always relative the file which defines them
|
||||||
|
imports =
|
||||||
|
[
|
||||||
|
./hardware-configuration.nix
|
||||||
|
./my-dev-tools.nix
|
||||||
|
./my-desktop-env.nix
|
||||||
|
./etc.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
# Name your host machine
|
||||||
|
networking.hostName = "NixOS-VM";
|
||||||
|
|
||||||
|
# Set your time zone.
|
||||||
|
time.timeZone = "America/Denver";
|
||||||
|
|
||||||
|
# Enter keyboard layout
|
||||||
|
services.xserver.layout = "us";
|
||||||
|
|
||||||
|
# Define user accounts
|
||||||
|
users.extraUsers =
|
||||||
|
{
|
||||||
|
myuser =
|
||||||
|
{
|
||||||
|
extraGroups = [ "wheel" "networkmanager" ];
|
||||||
|
isNormalUser = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Install some packages
|
||||||
|
environment.systemPackages =
|
||||||
|
with pkgs;
|
||||||
|
[
|
||||||
|
ddate
|
||||||
|
testdisk
|
||||||
|
zsh
|
||||||
|
];
|
||||||
|
|
||||||
|
# Enable the OpenSSH daemon
|
||||||
|
services.openssh.enable = true;
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue