Compare commits

...

2 Commits

Author SHA1 Message Date
nyanloutre 1a42ae58b8
paul-fixe: fix flake config 2021-10-14 14:16:53 +02:00
nyanloutre 0eda838249
put nix unstable in global config 2021-10-14 14:05:57 +02:00
4 changed files with 8 additions and 12 deletions

View File

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

View File

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

View File

@ -4,10 +4,6 @@
{ 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.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" "coretemp" "it87" ];

View File

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