Add desktop

This commit is contained in:
Tibo De Peuter 2023-04-11 18:01:53 +02:00 committed by Tibo De Peuter
parent 91cbaf9675
commit 3e781269c3
2 changed files with 31 additions and 0 deletions

View file

@ -1,13 +1,20 @@
<<<<<<< HEAD
# Edit this configuration file to define what should be installed on # Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
=======
>>>>>>> 63c6be3 (Add desktop)
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
<<<<<<< HEAD
=======
../../modules/hardware/nvidia
>>>>>>> 63c6be3 (Add desktop)
../../modules/apps/virtualbox ../../modules/apps/virtualbox
../../modules/des/gnome ../../modules/des/gnome
@ -18,6 +25,7 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi"; boot.loader.efi.efiSysMountPoint = "/boot/efi";
<<<<<<< HEAD
networking.hostName = "Tibo-NixDesk"; # Define your hostname. networking.hostName = "Tibo-NixDesk"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -27,6 +35,12 @@
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
=======
# Enable networking
networking.hostName = "Tibo-NixDesk"; # Define your hostname.
networking.networkmanager.enable = true;
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
>>>>>>> 63c6be3 (Add desktop)
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/Brussels"; time.timeZone = "Europe/Brussels";
@ -34,6 +48,7 @@
# Select internationalisation properties. # Select internationalisation properties.
i18n.defaultLocale = "en_GB.utf8"; i18n.defaultLocale = "en_GB.utf8";
<<<<<<< HEAD
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;
@ -41,15 +56,20 @@
services.xserver.displayManager.gdm.enable = true; services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true; services.xserver.desktopManager.gnome.enable = true;
=======
>>>>>>> 63c6be3 (Add desktop)
# Configure keymap in X11 # Configure keymap in X11
services.xserver = { services.xserver = {
layout = "us"; layout = "us";
xkbVariant = ""; xkbVariant = "";
}; };
<<<<<<< HEAD
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing.enable = true;
=======
>>>>>>> 63c6be3 (Add desktop)
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
@ -67,9 +87,12 @@
#media-session.enable = true; #media-session.enable = true;
}; };
<<<<<<< HEAD
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
=======
>>>>>>> 63c6be3 (Add desktop)
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;

View file

@ -14,12 +14,20 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
<<<<<<< HEAD
{ device = "/dev/disk/by-label/NIXROOT"; { device = "/dev/disk/by-label/NIXROOT";
=======
{ device = "/dev/disk/by-uuid/5e4bacff-07fb-4d3a-8ac6-d535c913659b";
>>>>>>> 63c6be3 (Add desktop)
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot/efi" = fileSystems."/boot/efi" =
<<<<<<< HEAD
{ device = "/dev/disk/by-label/NIXBOOT"; { device = "/dev/disk/by-label/NIXBOOT";
=======
{ device = "/dev/disk/by-uuid/4D30-B01D";
>>>>>>> 63c6be3 (Add desktop)
fsType = "vfat"; fsType = "vfat";
}; };