diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-08 08:31:44 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-08 08:31:44 -0700 |
commit | e11fb4e89db0f465dfcc9b25a2e0bdf00ce758ce (patch) | |
tree | fe322ac74b52caa19ceb1c560c0beb396e0a155e | |
parent | profiles: create a few new profiles (diff) | |
download | world-e11fb4e89db0f465dfcc9b25a2e0bdf00ce758ce.tar.gz |
aptos: consume the new profiles
aptos is now using the new home-manager setup.
Diffstat (limited to '')
-rw-r--r-- | hosts/aptos/default.nix | 5 | ||||
-rw-r--r-- | hosts/aptos/home.nix | 12 | ||||
-rw-r--r-- | hosts/aptos/profile.nix | 7 | ||||
-rw-r--r-- | lib/default.nix | 4 |
4 files changed, 25 insertions, 3 deletions
diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix index 8efb050..0a2c772 100644 --- a/hosts/aptos/default.nix +++ b/hosts/aptos/default.nix @@ -5,7 +5,8 @@ ./hardware-configuration.nix ./sound.nix ./networking.nix - ../common/desktop + ./profile.nix + ./home.nix ]; virtualisation.docker = { enable = true; }; @@ -19,8 +20,6 @@ }; }; - my.profiles = { laptop = { enable = true; }; }; - # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/hosts/aptos/home.nix b/hosts/aptos/home.nix new file mode 100644 index 0000000..1215168 --- /dev/null +++ b/hosts/aptos/home.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: { + my.home = { + packages.enable = true; + fish.enable = true; + git.enable = true; + go.enable = true; + python.enable = true; + scanner.enable = true; + tmux.enable = true; + yt-dlp.enable = true; + }; +} diff --git a/hosts/aptos/profile.nix b/hosts/aptos/profile.nix new file mode 100644 index 0000000..d1272c3 --- /dev/null +++ b/hosts/aptos/profile.nix @@ -0,0 +1,7 @@ +{ ... }: { + my.profiles = { + # Laptop specific configuration + laptop.enable = true; + desktop.enable = true; + }; +} diff --git a/lib/default.nix b/lib/default.nix index e442357..d0a3d51 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -20,6 +20,10 @@ networking.hostName = hostname; nixpkgs = { config.allowUnfree = true; + overlays = [ + inputs.emacs-overlay.overlay + inputs.nur.overlay + ]; }; # Add each input as a registry nix.registry = inputs.nixpkgs.lib.mapAttrs' |