1
Fork 0

aaaaaaaaaa

This commit is contained in:
Matei Adriel 2021-11-21 22:41:32 +02:00
parent 9fb7693dd1
commit 0949413682
3 changed files with 12 additions and 21 deletions

View file

@ -8,12 +8,12 @@
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
easy-dhall-nix.url = "github:justinwoo/easy-dhall-nix"; # easy-dhall-nix.url = "github:justinwoo/easy-dhall-nix";
easy-dhall-nix.flake = false; # easy-dhall-nix.flake = false;
# easy-dhall-nix.inputs.nixpkgs.follows = "nixpkgs"; # # easy-dhall-nix.inputs.nixpkgs.follows = "nixpkgs";
easy-purescript-nix.url = "github:justinwoo/easy-purescript-nix"; # easy-purescript-nix.url = "github:justinwoo/easy-purescript-nix";
easy-purescript-nix.flake = false; # easy-purescript-nix.flake = false;
# easy-purescript-nix.inputs.nixpkgs.follows = "nixpkgs"; # easy-purescript-nix.inputs.nixpkgs.follows = "nixpkgs";
}; };
@ -21,16 +21,6 @@
, easy-dhall-nix, ... }: { , easy-dhall-nix, ... }: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
nixpkgs.overlays = [
(self: super: {
inputs = {
inherit nixpkgs;
inherit nixos-unstable;
inherit easy-dhall-nix;
inherit easy-purescript-nix;
};
})
];
modules = [ modules = [
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
./hardware/laptop.nix ./hardware/laptop.nix

View file

@ -1,4 +1,5 @@
{ ... }: { { ... }:
nixpkgs.overlays = [ import ./discord ]; {
# nixpkgs.overlays = [ import ./discord ];
# imports = [ ./legacy.nix ]; # imports = [ ./legacy.nix ];
} }

View file

@ -1,8 +1,8 @@
self: super: self: super:
let version = "0.0.15";
{ in {
discord = super.discord.overrideAttrs (old: rec { discord = super.discord.overrideAttrs (old: {
version = "0.0.15"; inherit version;
src = builtins.fetchurl { src = builtins.fetchurl {
url = url =
"https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"; "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";