Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
kmein committed Feb 27, 2024
1 parent 61b78cf commit f263d5d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
17 changes: 9 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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
Expand Down
16 changes: 10 additions & 6 deletions systems/maakaron/home.nix
Original file line number Diff line number Diff line change
@@ -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" ''
Expand All @@ -18,12 +22,12 @@ 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";
home.homeDirectory = "/Users/${config.home.username}";
nixpkgs.config.allowUnfree = true;
nix.package = pkgs.nixFlakes;
nix.extraOptions = "experimental-features = nix-command flakes";
}
}

0 comments on commit f263d5d

Please sign in to comment.