feat: added easy-purescript-nix/dhall
This commit is contained in:
parent
4f601f395d
commit
45f91d184a
19
flake.nix
19
flake.nix
|
@ -7,11 +7,28 @@
|
|||
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
easy-dhall-nix.url = "github:justinwoo/easy-dhall-nix";
|
||||
easy-dhall-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
easy-purescript-nix.url = "github:justinwoo/easy-purescript-nix";
|
||||
easy-purescript-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... }: {
|
||||
outputs = { self, nixpkgs, home-manager, nixos-unstable, easy-purescript-nix
|
||||
, easy-dhall-nix, ... }: {
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
inputs = {
|
||||
inherit nixpkgs;
|
||||
inherit nixos-unstable;
|
||||
inherit easy-dhall-nix;
|
||||
inherit easy-purescript-nix;
|
||||
};
|
||||
})
|
||||
];
|
||||
modules = [
|
||||
home-manager.nixosModules.home-manager
|
||||
./hardware/laptop.nix
|
||||
|
|
|
@ -4,22 +4,26 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||||
];
|
||||
# imports =
|
||||
# [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||||
# ];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||
# Basically the content of the import above
|
||||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||
|
||||
boot.initrd.availableKernelModules =
|
||||
[ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/57846041-f177-45eb-aff3-503006bac638";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/57846041-f177-45eb-aff3-503006bac638";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/01E6-A013";
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/01E6-A013";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
file.".ghci".source = ./ghci;
|
||||
|
||||
packages = with pkgs;
|
||||
[ ghc ghcid hlint cabal-install snack stack ]
|
||||
[ ghc ghcid hlint cabal-install stack ]
|
||||
|
||||
++ (with haskellPackages; [ brittany hoogle hpack ]);
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{ pkgs, ... }: {
|
||||
home-manager.users.adrielus.home.packages = with pkgs; [
|
||||
home-manager.users.adrielus.home.packages = with pkgs;
|
||||
[
|
||||
nixfmt
|
||||
niv
|
||||
cached-nix-shell
|
||||
# niv
|
||||
# cached-nix-shell
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
# nixpkgs.overlays = [ import ./discord ];
|
||||
imports = [ ./legacy.nix ];
|
||||
nixpkgs.overlays = [ import ./discord ];
|
||||
# imports = [ ./legacy.nix ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue