moving to new config

This commit is contained in:
christoph.hollizeck 2024-03-22 17:52:40 +01:00
parent 6014906fd2
commit 5490596247
8 changed files with 224 additions and 30 deletions

View file

@ -1,21 +1,43 @@
{ lib
, pkgs
, config
{
# 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
, ...
}:
# 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 steam discord ];
with lib.wyrdgard; {
wyrdgard = {
user = {
enable = true;
name = config.snowfallorg.user.name;
};
sessionVariables = { EDITOR = "nvim"; };
submodule = {
basics.enable = true;
graphical-interface.enable = true;
};
shellAliases = { vimdiff = "nvim -d"; };
system.hardware = {
audio.enable = true;
bluetooth.enable = true;
networking.enable = true;
};
stateVersion = "23.11";
};
}