formatting

This commit is contained in:
Osman Faruk Bayram 2025-02-01 18:16:55 +03:00
parent dec08be98b
commit 0fb3129d03
4 changed files with 55 additions and 54 deletions

View file

@ -60,7 +60,6 @@ in {
#kernel-version = "v6_10_12"; #kernel-version = "v6_10_12";
}; };
system.nixos.label = system-label; system.nixos.label = system-label;
# DO NOT TOUCH THIS # DO NOT TOUCH THIS
system.stateVersion = stateVersion; system.stateVersion = stateVersion;

View file

@ -65,7 +65,6 @@ in {
programs.nix-required-mounts.enable = true; programs.nix-required-mounts.enable = true;
programs.nix-required-mounts.presets.nvidia-gpu.enable = true; programs.nix-required-mounts.presets.nvidia-gpu.enable = true;
hardware.graphics = { hardware.graphics = {
enable = true; enable = true;
}; };
@ -162,7 +161,6 @@ in {
boot.binfmt.emulatedSystems = ["aarch64-linux"]; boot.binfmt.emulatedSystems = ["aarch64-linux"];
nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems; nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave

View file

@ -1,11 +1,15 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ {
imports = config,
[ (modulesPath + "/installer/scan/not-detected.nix") lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"]; boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
@ -13,19 +17,19 @@
boot.kernelModules = ["kvm-intel"]; boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = []; boot.extraModulePackages = [];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/fd6792b4-d1ec-493c-a686-64dbeaac3371"; device = "/dev/disk/by-uuid/fd6792b4-d1ec-493c-a686-64dbeaac3371";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/383D-1E8A"; device = "/dev/disk/by-uuid/383D-1E8A";
fsType = "vfat"; fsType = "vfat";
options = ["fmask=0077" "dmask=0077"]; options = ["fmask=0077" "dmask=0077"];
}; };
swapDevices = swapDevices = [
[ { device = "/dev/disk/by-uuid/33c6277d-eb0a-487d-8be0-829829a8a308"; } {device = "/dev/disk/by-uuid/33c6277d-eb0a-487d-8be0-829829a8a308";}
]; ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking