to be continued
This commit is contained in:
parent
5490596247
commit
db30ab1fa9
8 changed files with 255 additions and 36 deletions
|
@ -1,43 +1,21 @@
|
|||
{
|
||||
# Snowfall Lib provides a customized `lib` instance with access to your flake's library
|
||||
# as well as the libraries available from your flake's inputs.
|
||||
lib
|
||||
, # An instance of `pkgs` with your overlays and packages applied is also available.
|
||||
pkgs
|
||||
, # You also have access to your flake's inputs.
|
||||
inputs
|
||||
, # Additional metadata is provided by Snowfall Lib.
|
||||
home
|
||||
, # The home architecture for this host (eg. `x86_64-linux`).
|
||||
target
|
||||
, # The Snowfall Lib target for this home (eg. `x86_64-home`).
|
||||
format
|
||||
, # A normalized name for the home target (eg. `home`).
|
||||
virtual
|
||||
, # A boolean to determine whether this home is a virtual target using nixos-generators.
|
||||
host
|
||||
, # The host name for this home.
|
||||
# All other arguments come from the home home.
|
||||
config
|
||||
{ lib
|
||||
, pkgs
|
||||
, config
|
||||
, ...
|
||||
}:
|
||||
with lib.wyrdgard; {
|
||||
wyrdgard = {
|
||||
user = {
|
||||
enable = true;
|
||||
name = config.snowfallorg.user.name;
|
||||
};
|
||||
# User information gathered by Snowfall Lib is available.
|
||||
let
|
||||
name = config.snowfallorg.user.name;
|
||||
home = config.snowfallorg.user.home.directory;
|
||||
in
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [ neovim firefox ];
|
||||
|
||||
submodule = {
|
||||
basics.enable = true;
|
||||
graphical-interface.enable = true;
|
||||
};
|
||||
sessionVariables = { EDITOR = "nvim"; };
|
||||
|
||||
system.hardware = {
|
||||
audio.enable = true;
|
||||
bluetooth.enable = true;
|
||||
networking.enable = true;
|
||||
};
|
||||
shellAliases = { vimdiff = "nvim -d"; };
|
||||
|
||||
stateVersion = "23.11";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue