HAHAHA I DID IT
This commit is contained in:
parent
1c5bed3431
commit
6e7d020610
|
@ -2,3 +2,10 @@
|
||||||
|
|
||||||
[![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)
|
[![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)
|
||||||
![Static Badge](https://img.shields.io/badge/time_wasted-alot-red)
|
![Static Badge](https://img.shields.io/badge/time_wasted-alot-red)
|
||||||
|
|
||||||
|
## Templates/Resources used
|
||||||
|
|
||||||
|
[Misterio77/nix-starter-configs2](https://github.com/Misterio77/nix-starter-configs)
|
||||||
|
[pull request for a bug](https://github.com/Misterio77/nix-starter-configs/pull/34/commits/2a5f3ca3dde606b83ea30b5507347bf989819301)
|
||||||
|
[doom emacs guy -> hlissner/dotfiles](https://github.com/hlissner/dotfiles)
|
||||||
|
[nixos.wiki (unofficial)](https://nixos.wiki/)
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, ...}@attrs:
|
outputs = { self, nixpkgs, home-manager, ...}@inputs:
|
||||||
let
|
let
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
forAllSystems = nixpkgs.lib.genAttrs [
|
forAllSystems = nixpkgs.lib.genAttrs [
|
||||||
|
@ -17,11 +17,10 @@
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
|
|
||||||
# custom packages
|
# custom packages
|
||||||
packages = forAllSystems (system:
|
packages = forAllSystems (system:
|
||||||
let pkgs = nixpkgs.legacyPackages.${system};
|
let pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in import ./packages {inherit pkgs; }
|
in import ./packages { inherit pkgs; }
|
||||||
);
|
);
|
||||||
# dev shell for bootstrap
|
# dev shell for bootstrap
|
||||||
devShells = forAllSystems (system:
|
devShells = forAllSystems (system:
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Edit this configuration file to define what should be installed on
|
# Edit this configuration file to define what should be installed on
|
||||||
# your system. Help is available in the configuration.nix(5) man page and in the NixOS manual (accessible by running `nixos-help`).
|
# your system. Help is available in the configuration.nix(5) man page and in the NixOS manual (accessible by running `nixos-help`).
|
||||||
|
|
||||||
{ config, pkgs, lib, home-manager, ... }:
|
{ config, pkgs, lib, inputs, outputs, ... }:
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.home-manager
|
||||||
# TODO(sako):: make this better
|
# TODO(sako):: make this better
|
||||||
../../modules
|
../../modules
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue