Compare commits
5 Commits
main
...
8c721c7d30
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c721c7d30 | |||
| 5809269e0d | |||
| d2eb0e542f | |||
| eb4887b75c | |||
| 8cee898866 |
17
flake.lock
generated
17
flake.lock
generated
@@ -394,6 +394,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-hardware-stable-nixos": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1752666637,
|
||||||
|
"narHash": "sha256-P8J72psdc/rWliIvp8jUpoQ6qRDlVzgSDDlgkaXQ0Fw=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixos-hardware",
|
||||||
|
"rev": "d1bfa8f6ccfb5c383e1eba609c1eb67ca24ed153",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "master",
|
||||||
|
"repo": "nixos-hardware",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-vm-test": {
|
"nix-vm-test": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -603,6 +619,7 @@
|
|||||||
"impermanence-stable-nixos": "impermanence-stable-nixos",
|
"impermanence-stable-nixos": "impermanence-stable-nixos",
|
||||||
"nix-flatpak-stable-nixos": "nix-flatpak-stable-nixos",
|
"nix-flatpak-stable-nixos": "nix-flatpak-stable-nixos",
|
||||||
"nix-gaming-stable-nixos": "nix-gaming-stable-nixos",
|
"nix-gaming-stable-nixos": "nix-gaming-stable-nixos",
|
||||||
|
"nix-hardware-stable-nixos": "nix-hardware-stable-nixos",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-stable-nixos": "nixpkgs-stable-nixos",
|
"nixpkgs-stable-nixos": "nixpkgs-stable-nixos",
|
||||||
"nixverse": "nixverse",
|
"nixverse": "nixverse",
|
||||||
|
|||||||
@@ -38,6 +38,10 @@
|
|||||||
# url = "github:kaylorben/nixcord";
|
# url = "github:kaylorben/nixcord";
|
||||||
#};
|
#};
|
||||||
|
|
||||||
|
nixos-hardware-stable-nixos = {
|
||||||
|
url = "github:NixOS/nixos-hardware/master";
|
||||||
|
};
|
||||||
|
|
||||||
sops-nix-stable-nixos = {
|
sops-nix-stable-nixos = {
|
||||||
url = "github:Mic92/sops-nix";
|
url = "github:Mic92/sops-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs-stable-nixos";
|
inputs.nixpkgs.follows = "nixpkgs-stable-nixos";
|
||||||
|
|||||||
@@ -7,4 +7,5 @@
|
|||||||
nixy = {
|
nixy = {
|
||||||
deploy.local = true;
|
deploy.local = true;
|
||||||
};
|
};
|
||||||
|
nixwork = {};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,15 +2,16 @@
|
|||||||
# your system. Help is available in the configuration.nix(5) man page, on
|
# your system. Help is available in the configuration.nix(5) man page, on
|
||||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||||
|
|
||||||
{ ... }:
|
{ inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
inputs.nixos-hardware.nixosModules.framework-16-7040-amd
|
||||||
./programs/sof-firmware.nix
|
./programs/sof-firmware.nix
|
||||||
# Not working yet.
|
# Not working yet.
|
||||||
#./services/fprintd.nix
|
./services/fprintd.nix
|
||||||
./services/touchpad.nix
|
./services/touchpad.nix
|
||||||
./system/bootloader.nix
|
./system/bootloader.nix
|
||||||
./system/filesystems.nix
|
./system/filesystems.nix
|
||||||
|
|||||||
@@ -1,14 +1,26 @@
|
|||||||
# 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, modulesPath, ... }:
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
# 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.enp193s0f3u1.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
hardware.xpadneo.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
{ pkgs, ...}: {
|
{ pkgs, ...}: {
|
||||||
services.fprintd.enable = true;
|
services.fprintd.enable = true;
|
||||||
services.fprintd.tod.enable = true;
|
|
||||||
services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix-550a;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user