Browse Source

Cleanup nixos

main
parent
commit
c6a647406b
  1. 2
      config/cachix.nix
  2. 22
      flake.nix
  3. 18
      hosts/nixos/configuration.nix

2
config/cachix.nix

@ -1,2 +0,0 @@
{
}

22
flake.nix

@ -1,22 +0,0 @@
{
description = "Immutable NixOS dotfiles.";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs-unstable.url = "nixpgs/master";
emacs-overlay.url = "github:nix-comunity/emacs-overlay";
nixos-hardwre.url = "github:nixos/nixos-hardware";
};
outputs = inputs @ { self, nixpkgs, ... }: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/nixos/configuration.nix
./hosts/nixos/hardware.nix
./config/cachix.nix
];
};
};
}

18
hosts/nixos/configuration.nix

@ -1,18 +0,0 @@
{ pkgs, ... }:
{
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
nixpkgs = {
config = { allowUnfree = true; };
overlays = [ ];
};
# ...
}
Loading…
Cancel
Save