This commit is contained in:
Daylin Morgan 2022-11-09 18:24:10 +00:00
parent 0e70128638
commit 1b620d05e7
2 changed files with 9 additions and 43 deletions

View file

@ -26,11 +26,14 @@
# xstuffs
services.xserver.enable = true;
services.xserver.autorun = false;
services.xserver.displayManager.startx.enable = true;
services.xserver.windowManager.qtile.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
#services.xserver.enable = true;
#services.xserver.autorun = false;
#services.xserver.displayManager.startx.enable = true;
#services.xserver.windowManager.qtile.enable = true;
#services.xserver.desktopManager.plasma5.enable = true;
# overrwite default login
services.xserver.displayManager.autoLogin.enable = lib.mkForce false;
# Define a user account. Don't forget to set a password with passwd.
users.users.daylin = {
@ -79,6 +82,7 @@
noto-fonts-emoji
noto-fonts-extra
(nerdfonts.override { fonts = [ "FiraCode" ]; })
];

View file

@ -1,38 +0,0 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ ];
boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "ehci_pci" "ahci" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{
device = "/dev/disk/by-uuid/07e57f41-bbe1-4e4e-950b-9be902bc6484";
fsType = "ext4";
};
fileSystems."/boot" =
{
device = "/dev/disk/by-uuid/0F7D-6BD7";
fsType = "vfat";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/9a725db7-d6dd-42a6-b13a-920eada1c154"; }];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s3.useDHCP = lib.mkDefault true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
virtualisation.virtualbox.guest.enable = true;
}