various tweaks

This commit is contained in:
Greg Leyda 2022-07-10 15:30:58 -04:00
parent beaf5202ca
commit 0e56188133
5 changed files with 17 additions and 13 deletions

View file

@ -1,12 +1,13 @@
{
description = "testing";
inputs = {
nixpkgs.url = "nixpkgs/master";
nixpkgs.url = "nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixkpkgs.follows = "nixpkgs";
nur.url = "github:nix-community/NUR";
};
outputs = { nixpkgs, home-manager, ... }:
outputs = { nixpkgs, home-manager, nur, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
@ -14,6 +15,7 @@
config = {
allowUnfree = true;
packageOverrides = super: let self = super.pkgs; in {
#more overrides can go here
nerdfonts-overpass = self.nerdfonts.override {
fonts = [ "Overpass" ];
};
@ -24,20 +26,18 @@
in {
homeManagerConfiguration = {
gerg = home-manager.lib.homeManagerConfiguration {
inherit system pkgs;
username = "gerg";
homeDirectory = "/home/gerg";
configuration = {
imports = [
./home-manager.nix
];
};
inherit pkgs;
modules = [
nur.nixosModules.nur
./home-manager.nix
];
};
};
nixosConfigurations = {
gerg-laptop = lib.nixosSystem {
inherit system pkgs;
modules = [
nur.nixosModules.nur
./configuration.nix
];
};