about summary refs log tree commit diff
path: root/users/grfn/system
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/system')
-rw-r--r--users/grfn/system/home/machines/dobharchu.nix5
-rw-r--r--users/grfn/system/home/modules/common.nix6
-rw-r--r--users/grfn/system/home/modules/development.nix6
-rw-r--r--users/grfn/system/home/modules/development/rust.nix6
-rw-r--r--users/grfn/system/home/modules/twitter.nix4
-rw-r--r--users/grfn/system/home/platforms/linux.nix4
6 files changed, 21 insertions, 10 deletions
diff --git a/users/grfn/system/home/machines/dobharchu.nix b/users/grfn/system/home/machines/dobharchu.nix
index 0b8503a00e98..c26f3baef12e 100644
--- a/users/grfn/system/home/machines/dobharchu.nix
+++ b/users/grfn/system/home/machines/dobharchu.nix
@@ -4,7 +4,7 @@
   imports = [
     ../platforms/darwin.nix
     ../modules/common.nix
-    ../modules/games.nix
+    # ../modules/games.nix
   ];
 
   home.packages = with pkgs; [
@@ -14,4 +14,7 @@
     pass
     pinentry_mac
   ];
+
+  programs.home-manager.enable = true;
+  home.stateVersion = "21.11";
 }
diff --git a/users/grfn/system/home/modules/common.nix b/users/grfn/system/home/modules/common.nix
index 7714644841ba..17d58a36c5bf 100644
--- a/users/grfn/system/home/modules/common.nix
+++ b/users/grfn/system/home/modules/common.nix
@@ -6,7 +6,7 @@
 {
   imports = [
     ../modules/shell.nix
-    ../modules/development.nix
+    # ../modules/development.nix
     ../modules/emacs.nix
     ../modules/vim.nix
     ../modules/tarsnap.nix
@@ -118,8 +118,4 @@
     enableBashIntegration = true;
     enableZshIntegration = true;
   };
-
-  services.dropbox = {
-    enable = true;
-  };
 }
diff --git a/users/grfn/system/home/modules/development.nix b/users/grfn/system/home/modules/development.nix
index d67c83e530bb..f08e9d9492ed 100644
--- a/users/grfn/system/home/modules/development.nix
+++ b/users/grfn/system/home/modules/development.nix
@@ -58,7 +58,6 @@ with lib;
     lldb
     hyperfine
     clang-tools_11
-    rr
 
     clj2nix
     clojure
@@ -68,13 +67,14 @@ with lib;
     pg-dump-upsert
 
     nodePackages.prettier
-
-    linuxPackages.perf
   ] ++ optionals (stdenv.isLinux) [
     # TODO(grfn): replace with stable again once the current julia debacle
     # is resolved upstream, see https://github.com/NixOS/nixpkgs/pull/121114
     julia_16-bin
     valgrind
+
+    linuxPackages.perf
+    rr
   ];
 
   programs.git = {
diff --git a/users/grfn/system/home/modules/development/rust.nix b/users/grfn/system/home/modules/development/rust.nix
index 9ed42f5d2ddf..105a23bc8376 100644
--- a/users/grfn/system/home/modules/development/rust.nix
+++ b/users/grfn/system/home/modules/development/rust.nix
@@ -3,13 +3,15 @@
 let
   inherit (config.lib) depot;
 in
+
+with lib;
+
 {
 
   home.packages = with pkgs; [
     rustup
     cargo-edit
     cargo-expand
-    cargo-rr
     cargo-udeps
     cargo-bloat
     sccache
@@ -24,6 +26,8 @@ in
     coz
     inferno
     hotspot
+  ] ++ optionals (stdenv.isLinux) [
+    cargo-rr
   ];
 
   programs.zsh.shellAliases = {
diff --git a/users/grfn/system/home/modules/twitter.nix b/users/grfn/system/home/modules/twitter.nix
index 3cb2e90adc34..ab5647e418aa 100644
--- a/users/grfn/system/home/modules/twitter.nix
+++ b/users/grfn/system/home/modules/twitter.nix
@@ -1,6 +1,10 @@
 { pkgs, lib, ... }:
 
 {
+  imports = [
+    ./lib/zshFunctions.nix
+  ];
+
   home.packages = with pkgs; [
     t
   ];
diff --git a/users/grfn/system/home/platforms/linux.nix b/users/grfn/system/home/platforms/linux.nix
index 5429f3e094b3..f1a9e179bd12 100644
--- a/users/grfn/system/home/platforms/linux.nix
+++ b/users/grfn/system/home/platforms/linux.nix
@@ -81,4 +81,8 @@ in
   '';
 
   services.lorri.enable = true;
+
+  services.dropbox = {
+    enable = true;
+  };
 }