diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-03-02 12:29:11 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-03-02 13:05:15 +0100 |
commit | ddd0dfab87c7296c1fe9233562f91730d3c8c674 (patch) | |
tree | dfe0c342136ac7e116007210e19455e76f9bd18e | |
parent | Home: Install emacs packages (diff) | |
download | nixos-config-ddd0dfab87c7296c1fe9233562f91730d3c8c674.tar.gz nixos-config-ddd0dfab87c7296c1fe9233562f91730d3c8c674.tar.bz2 nixos-config-ddd0dfab87c7296c1fe9233562f91730d3c8c674.zip |
fmt
-rw-r--r-- | hosts/darwin.nix | 10 | ||||
-rw-r--r-- | hosts/default.nix | 36 | ||||
-rw-r--r-- | hosts/home-darwin.nix | 5 | ||||
-rw-r--r-- | hosts/home.nix | 10 | ||||
-rw-r--r-- | tests/flake_test.nix | 3 |
5 files changed, 32 insertions, 32 deletions
diff --git a/hosts/darwin.nix b/hosts/darwin.nix index ada5ee3..002d2d0 100644 --- a/hosts/darwin.nix +++ b/hosts/darwin.nix @@ -1,10 +1,10 @@ -{ pkgs, user, ...}: +{ pkgs, user, ... }: { - users.users."${user}".home = "/Users/${user}"; + users.users."${user}".home = "/Users/${user}"; - environment.systemPackages = + environment.systemPackages = [ ]; - services.nix-daemon.enable = true; -} \ No newline at end of file + services.nix-daemon.enable = true; +} diff --git a/hosts/default.nix b/hosts/default.nix index 6808208..05a59d2 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -46,24 +46,24 @@ let else if isMacOS then nix-darwin.lib.darwinSystem - { - inherit system; - specialArgs = extraArgs; - modules = [ - ./darwin.nix - home-manager.darwinModules.home-manager - { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - home-manager.extraSpecialArgs = extraArgs; - home-manager.users."manuel.palenzuela" = { - imports = [ - ./home-darwin.nix - ]; - }; - } - ]; - } + { + inherit system; + specialArgs = extraArgs; + modules = [ + ./darwin.nix + home-manager.darwinModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.extraSpecialArgs = extraArgs; + home-manager.users."manuel.palenzuela" = { + imports = [ + ./home-darwin.nix + ]; + }; + } + ]; + } else home-manager.lib.homeManagerConfiguration { diff --git a/hosts/home-darwin.nix b/hosts/home-darwin.nix index 1cd5288..ce924d5 100644 --- a/hosts/home-darwin.nix +++ b/hosts/home-darwin.nix @@ -1,4 +1,4 @@ -{ pkgs, stateVersion, lib, dotfiles, user, ... }: +{ pkgs, stateVersion, lib, dotfiles, user, ... }: { imports = [ ]; @@ -12,8 +12,7 @@ ]; }; - services = { - }; + services = { }; programs = { emacs = { diff --git a/hosts/home.nix b/hosts/home.nix index 576cce5..b64cf1d 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -167,16 +167,16 @@ dashboard projectile - + corfu kind-icon - eldoc-box - + eldoc-box + vertico consult orderless marginalia - + treesit-auto go-mode @@ -376,7 +376,7 @@ }; home.sessionPath = [ - "/home/${user}/.cargo/bin" + "/home/${user}/.cargo/bin" ]; # For disabling the automatic creation of $HOME/Desktop diff --git a/tests/flake_test.nix b/tests/flake_test.nix index 65f57eb..6579c22 100644 --- a/tests/flake_test.nix +++ b/tests/flake_test.nix @@ -1,6 +1,7 @@ let flake = import ../flake.nix; -in [ +in +[ { name = "home-manger should follow nixpkgs"; actual = flake.inputs.home-manager.inputs.nixpkgs.follows; |