1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

chore: format

This commit is contained in:
2024-02-27 20:59:54 +01:00
parent 61b78cfc73
commit f263d5d175
2 changed files with 19 additions and 14 deletions

View File

@@ -71,7 +71,7 @@
{
apps = {
x86_64-darwin = let
pkgs = nixpkgs.legacyPackages.x86_64-darwin;
pkgs = nixpkgs.legacyPackages.x86_64-darwin;
in {
deploy-maakaron = {
type = "app";
@@ -155,14 +155,15 @@
maakaron = let
system = "x86_64-darwin";
pkgs = nixpkgs.legacyPackages.${system};
in home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./systems/maakaron/home.nix ];
extraSpecialArgs = {
inherit inputs;
niveumPackages = inputs.self.packages.${system};
in
home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [./systems/maakaron/home.nix];
extraSpecialArgs = {
inherit inputs;
niveumPackages = inputs.self.packages.${system};
};
};
};
};
nixosConfigurations = let

View File

@@ -1,9 +1,13 @@
{ config, pkgs, inputs, niveumPackages, ... }:
let
{
config,
pkgs,
inputs,
niveumPackages,
...
}: let
nextcloud = "${config.home.homeDirectory}/Nextcloud/ZODIAC";
timeLedger = "${nextcloud}/hora.timeclock";
in
{
in {
home.packages = [
pkgs.git
(pkgs.writers.writeDashBin "hora" ''
@@ -18,7 +22,7 @@ in
home.sessionVariables.EDITOR = "${niveumPackages.vim}/bin/nvim";
home.file."Local Applications".source = pkgs.symlinkJoin {
name = "local-applications";
paths = [ pkgs.anki-bin pkgs.dbeaver pkgs.vscode pkgs.mpv ];
paths = [pkgs.anki-bin pkgs.dbeaver pkgs.vscode pkgs.mpv];
};
home.stateVersion = "23.11";
home.username = "xm7234fu";
@@ -26,4 +30,4 @@ in
nixpkgs.config.allowUnfree = true;
nix.package = pkgs.nixFlakes;
nix.extraOptions = "experimental-features = nix-command flakes";
}
}