Konfigfile aufgeräumt
This commit is contained in:
+32
-30
@@ -1,37 +1,38 @@
|
|||||||
# 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, on
|
# your system. Help is available in the configuration.nix(5) man page, on
|
||||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||||
|
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./gnome.nix
|
./modules/desktop/gnome.nix
|
||||||
# ./plasma.nix
|
# ./modules/desktop/kde.nix
|
||||||
# ./hyprland.nix
|
# ./modules/desktop/hyprland.nix
|
||||||
];
|
# ./modules/desktop/niri.nix
|
||||||
|
];
|
||||||
# Use the systemd-boot EFI boot loader.
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.initrd.enable = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
boot.initrd.enable = true;
|
||||||
# LUKS Partition
|
|
||||||
boot.initrd.luks.devices = {
|
# LUKS Partition
|
||||||
dukebook0 = {
|
boot.initrd.luks.devices = {
|
||||||
|
dukebook0 = {
|
||||||
device = "/dev/disk/by-uuid/92d94913-aad0-4a76-9466-c77e481693ba";
|
device = "/dev/disk/by-uuid/92d94913-aad0-4a76-9466-c77e481693ba";
|
||||||
preLVM = true;
|
preLVM = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# LVM Volume Mounts
|
# LVM Volume Mounts
|
||||||
fileSystems."/home/martin/Nextcloud" = {
|
fileSystems."/home/martin/Nextcloud" = {
|
||||||
device = "dev/disk/by-uuid/5142d945-7948-4bc9-85ca-7f6dc760d17a";
|
device = "dev/disk/by-uuid/5142d945-7948-4bc9-85ca-7f6dc760d17a";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "dukebook"; # Define your hostname.
|
networking.hostName = "dukebook"; # Define your hostname.
|
||||||
# Pick only one of the below networking options.
|
# Pick only one of the below networking options.
|
||||||
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
@@ -40,6 +41,7 @@
|
|||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Europe/Berlin";
|
||||||
|
|
||||||
|
programs.dconf.enable = true;
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
@@ -55,7 +57,7 @@
|
|||||||
# Enable Gnome3 Keyring
|
# Enable Gnome3 Keyring
|
||||||
# services.gnome.gnome-keyring.enable = true;
|
# services.gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.2
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user