WHTEZBXRS7R3AM44LJZFR2YE6RP4IWE3AB5V3DYGO4YJU7PBTMQAC
# 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")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{
device = "/dev/disk/by-uuid/41cfe127-c4e2-46dc-bd9b-f7e834531a9a";
fsType = "ext4";
};
fileSystems."/boot" =
{
device = "/dev/disk/by-uuid/67EE-978B";
fsType = "vfat";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/930e37e4-9744-4366-a8a1-598e4ab0956f"; }];
}
{
description = "My Thelio desktop config";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.11";
};
outputs = { self, nixpkgs }: {
nixosConfigurations."thelio-nixos" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hardware-configuration.nix
../common.nix
../greetd.nix
../gtk.nix
../networking.nix
../podman.nix
../sound.nix
../users.nix
({ pkgs, ... }: {
boot.initrd.luks.devices.root.device = "/dev/sda2";
networking.hostName = "thelio-nixos";
networking.wireless.interfaces = [ "wlp6s0" ];
networking.interfaces.enp5s0.useDHCP = true;
networking.interfaces.enp7s0f3u4u3u4.useDHCP = true;
networking.interfaces.wlp6s0.useDHCP = true;
# system76 doesn't use fwupd / fwupdmgr, they have their own cli
environment.systemPackages = [ pkgs.system76-firmware ];
system.stateVersion = "21.05";
})
];
};
};
}
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1640443850,
"narHash": "sha256-s3EhD+iNjyIE/gZkV5vES6d0eI4dJ2WBlaXyUsEmaek=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6979c0e49bb491e18dd4870abb104cc7375aa7e8",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-21.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}