alpha
Login
or
Join now
dariood.tngl.sh
/
nix-config
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
My nix config
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
t470p hardware
author
Dario Oddenino
date
1 day ago
(Jun 25, 2026, 8:45 PM +0200)
commit
1fb02747
1fb027478822c640a4ec268e9fac1c91b49163aa
parent
01eb01bf
01eb01bfb96ed99f078a05080fd810fea559db88
+48
1 changed file
Expand all
Collapse all
Unified
Split
nixos
hosts
hardware-configuration-t470p.nix
+48
nixos/hosts/hardware-configuration-t470p.nix
Reviewed
···
1
1
+
# Do not modify this file! It was generated by ‘nixos-generate-config’
2
2
+
# and may be overwritten by future invocations. Please make changes
3
3
+
# to /etc/nixos/configuration.nix instead.
4
4
+
{ config, lib, pkgs, modulesPath, ... }:
5
5
+
6
6
+
{
7
7
+
imports =
8
8
+
[ (modulesPath + "/installer/scan/not-detected.nix")
9
9
+
];
10
10
+
11
11
+
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
12
12
+
boot.initrd.kernelModules = [ ];
13
13
+
boot.kernelModules = [ ];
14
14
+
boot.extraModulePackages = [ ];
15
15
+
16
16
+
fileSystems."/" =
17
17
+
{ device = "/dev/disk/by-uuid/45eea969-0847-4275-a554-5cb26d024f2f";
18
18
+
fsType = "ext4";
19
19
+
};
20
20
+
21
21
+
fileSystems."/boot" =
22
22
+
{ device = "/dev/disk/by-uuid/5E09-3277";
23
23
+
fsType = "vfat";
24
24
+
options = [ "fmask=0077" "dmask=0077" ];
25
25
+
};
26
26
+
27
27
+
swapDevices =
28
28
+
[ { device = "/dev/disk/by-uuid/18cf1182-f862-4eca-a09f-01e8e4702f82"; }
29
29
+
];
30
30
+
31
31
+
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
32
32
+
# (the default) this is the recommended approach. When using systemd-networkd it's
33
33
+
# still possible to use this option, but it's recommended to use it in conjunction
34
34
+
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
35
35
+
networking.useDHCP = lib.mkDefault true;
36
36
+
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
37
37
+
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
38
38
+
39
39
+
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
40
40
+
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
41
41
+
42
42
+
hardware.nvidia = {
43
43
+
modesetting.enable = true;
44
44
+
open = true;
45
45
+
};
46
46
+
47
47
+
hardware.graphics.enable = true;
48
48
+
}