mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
chore: format
This commit is contained in:
17
flake.nix
17
flake.nix
@@ -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
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user