From e11fb4e89db0f465dfcc9b25a2e0bdf00ce758ce Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 8 Apr 2022 08:31:44 -0700 Subject: aptos: consume the new profiles aptos is now using the new home-manager setup. --- hosts/aptos/default.nix | 5 ++--- hosts/aptos/home.nix | 12 ++++++++++++ hosts/aptos/profile.nix | 7 +++++++ 3 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 hosts/aptos/home.nix create mode 100644 hosts/aptos/profile.nix (limited to 'hosts/aptos') 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; + }; +} -- cgit 1.4.1