mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
various tweaks
This commit is contained in:
parent
beaf5202ca
commit
0e56188133
5 changed files with 17 additions and 13 deletions
20
flake.nix
20
flake.nix
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue