First emacs configuration

Also includes colorscheme changes
This commit is contained in:
Charlotte Van Petegem 2021-03-09 00:47:31 +01:00
parent 3ac380fd61
commit 912d84d889
No known key found for this signature in database
GPG key ID: 019E764B7184435A
9 changed files with 218 additions and 74 deletions

View file

@ -7,11 +7,12 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nur.url = "github:nix-community/NUR";
nixpkgs.url = "github:chvp/nixpkgs/master";
nixpkgsFor0AD.url = "github:chvp/nixpkgs/0ad0.24";
};
outputs = { self, nixpkgs, nixpkgsFor0AD, home-manager, flake-utils }:
outputs = { self, nixpkgs, nixpkgsFor0AD, nur, home-manager, flake-utils }:
let
version-suffix = nixpkgs.rev or (builtins.toString nixpkgs.lastModified);
pkgsFor = system: import nixpkgs {
@ -31,6 +32,10 @@
'');
nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ];
})
({ pkgs, ... }: {
nixpkgs.overlays = [ nur.overlay ];
home-manager.sharedModules = [ pkgs.nur.repos.rycee.hmModules.emacs-init ];
})
(./. + "/machines/${hostname}")
];
};