aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-08 08:31:44 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-08 08:31:44 -0700
commite11fb4e89db0f465dfcc9b25a2e0bdf00ce758ce (patch)
treefe322ac74b52caa19ceb1c560c0beb396e0a155e /hosts
parentprofiles: create a few new profiles (diff)
downloadinfra-e11fb4e89db0f465dfcc9b25a2e0bdf00ce758ce.tar.gz
aptos: consume the new profiles
aptos is now using the new home-manager setup.
Diffstat (limited to 'hosts')
-rw-r--r--hosts/aptos/default.nix5
-rw-r--r--hosts/aptos/home.nix12
-rw-r--r--hosts/aptos/profile.nix7
3 files changed, 21 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;
+ };
+}