to be continued

This commit is contained in:
christoph.hollizeck 2024-03-22 18:18:58 +01:00 committed by Christoph Hollizeck
parent 030f251ce9
commit fcaa48df90
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
8 changed files with 255 additions and 36 deletions

View file

@ -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";
};
}