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";
};
system.nixos.label = system-label;
# DO NOT TOUCH THIS
system.stateVersion = stateVersion;

View file

@ -65,7 +65,6 @@ in {
programs.nix-required-mounts.enable = true;
programs.nix-required-mounts.presets.nvidia-gpu.enable = true;
hardware.graphics = {
enable = true;
};
@ -162,7 +161,6 @@ in {
boot.binfmt.emulatedSystems = ["aarch64-linux"];
nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# 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
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
@ -13,19 +17,19 @@
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/fd6792b4-d1ec-493c-a686-64dbeaac3371";
fileSystems."/" = {
device = "/dev/disk/by-uuid/fd6792b4-d1ec-493c-a686-64dbeaac3371";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/383D-1E8A";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/383D-1E8A";
fsType = "vfat";
options = ["fmask=0077" "dmask=0077"];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/33c6277d-eb0a-487d-8be0-829829a8a308"; }
swapDevices = [
{device = "/dev/disk/by-uuid/33c6277d-eb0a-487d-8be0-829829a8a308";}
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking