This commit is contained in:
Julian 2022-12-18 22:32:40 -08:00
parent 23d6e56cea
commit 4218e90468
2 changed files with 19 additions and 2 deletions

View file

@ -6,8 +6,8 @@
{ {
imports = imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./flake.nix
]; ];
# Bootloader. # Bootloader.
@ -18,6 +18,11 @@
# Kernel # Kernel
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
# Flakes
{ pkgs, ... }: {
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}
# Power Stuff # Power Stuff
services.power-profiles-daemon.enable = false; services.power-profiles-daemon.enable = false;
services.tlp = { services.tlp = {
@ -97,7 +102,7 @@
kleopatra kleopatra
pinentry pinentry
arc-theme arc-theme
zoom zoom-us
slack slack
]; ];
}; };

12
flake.nix Normal file
View file

@ -0,0 +1,12 @@
{
description = "NixOS configuration with flakes";
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
outputs = { self, nixpkgs, nixos-hardware }: {
nixosConfigurations.<your-hostname> = nixpkgs.lib.nixosSystem {
modules = [
nixos-hardware.nixosModules.framework
];
};
};
}