first
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
.direnv
|
||||
*.qcow2
|
||||
result
|
||||
.git-hooks
|
||||
.git-hooks
|
||||
hardware-configuration.nix
|
||||
|
||||
@@ -18,6 +18,8 @@ visit the [docs/installation.md](./docs/installation.md) to get started.
|
||||
| `configuration.nix` | nixos system configuration |
|
||||
| `hardware-configuration.nix` | hardware-specific settings (auto-generated) |
|
||||
|
||||
sudo nixos-generate-config --show-hardware-config > hardware-configuration.nix
|
||||
|
||||
### documentation
|
||||
|
||||
| file | purpose |
|
||||
|
||||
@@ -25,7 +25,7 @@ in
|
||||
inputs.hydenix.inputs.home-manager.nixosModules.home-manager
|
||||
inputs.hydenix.nixosModules.default
|
||||
./modules/system # Your custom system modules
|
||||
./hardware-configuration.nix # Auto-generated hardware config
|
||||
/etc/nixos/hardware-configuration.nix # Auto-generated hardware config
|
||||
|
||||
# Hardware Configuration - Uncomment lines that match your hardware
|
||||
# Run `lshw -short` or `lspci` to identify your hardware
|
||||
@@ -99,6 +99,8 @@ in
|
||||
kime
|
||||
google-chrome
|
||||
nwg-displays
|
||||
tk
|
||||
scrot
|
||||
];
|
||||
|
||||
# System Version - Don't change unless you know what you're doing (helps with system upgrades and compatibility)
|
||||
|
||||
@@ -1,39 +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 =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/af6c4c4b-f5c7-4d5b-a62c-a967c6d6113c";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/F95B-2B72";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/9334dd40-c30f-4a69-b2c8-a5b746be8097"; }
|
||||
];
|
||||
|
||||
# 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.ens18.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
Reference in New Issue
Block a user