Compare commits

..

No commits in common. "1a42ae58b8d454f1f2ad1b000bc96de03a3d6d35" and "9cfccf44e1b7f461f65c7d05fda1c8c0d4a12428" have entirely different histories.

4 changed files with 12 additions and 8 deletions

View File

@ -29,7 +29,7 @@
"nixpkgs=${nixpkgs}" "nixpkgs=${nixpkgs}"
]; ];
}) })
nixpkgs-unstable.nixosModules.notDetected nixpkgs.nixosModules.notDetected
./systems/PC-Fixe/configuration.nix ./systems/PC-Fixe/configuration.nix
]; ];
}; };

View File

@ -23,6 +23,13 @@
tmpOnTmpfs = true; tmpOnTmpfs = true;
}; };
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
documentation.nixos.enable = false; documentation.nixos.enable = false;
nixpkgs.config.allowUnfree = false; nixpkgs.config.allowUnfree = false;

View File

@ -4,6 +4,10 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
imports =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" "coretemp" "it87" ]; boot.kernelModules = [ "kvm-amd" "coretemp" "it87" ];

View File

@ -4,13 +4,6 @@
time.timeZone = "Europe/Paris"; time.timeZone = "Europe/Paris";
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Editeurs # Editeurs
(neovim.override { (neovim.override {