mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 19:14:03 -06:00
Add new file
This commit is contained in:
parent
c29cb5c31d
commit
5f1e1a64d5
1 changed files with 51 additions and 0 deletions
51
config-gnome.nix
Normal file
51
config-gnome.nix
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
{ 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
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.loader = {
|
||||||
|
systemd-boot.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# 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 =
|
||||||
|
{
|
||||||
|
aaronh =
|
||||||
|
{
|
||||||
|
extraGroups = [ "wheel" "networkmanager" ];
|
||||||
|
isNormalUser = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Install some packages
|
||||||
|
environment.systemPackages =
|
||||||
|
with pkgs;
|
||||||
|
[
|
||||||
|
ddate
|
||||||
|
testdisk
|
||||||
|
fish
|
||||||
|
];
|
||||||
|
|
||||||
|
# Enable the OpenSSH daemon
|
||||||
|
services.openssh.enable = true;
|
||||||
|
|
||||||
|
# GNOME
|
||||||
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue