From b6c3978d49c2b6d66aad538447d74897fec5882a Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 26 Dec 2020 22:44:34 +0100 Subject: Drop darwin setup bye apple --- home.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'home.nix') diff --git a/home.nix b/home.nix index 08bf15d..8eafac1 100644 --- a/home.nix +++ b/home.nix @@ -12,20 +12,12 @@ let # }; common_packages = import ./platforms/common-packages.nix pkgs; - isDarwin = builtins.currentSystem == "x86_64-darwin"; - platformSetup = - if isDarwin then [ - ./platforms/darwin - ] else [ + platformSetup = [ # ./platforms/linux # ./programs/rclone.nix ]; in { - # Errors on linux - manual.manpages.enable = if isDarwin then true else false; - dconf.enable = if isDarwin then true else false; - programs.obs-studio = { enable = true; plugins = with pkgs; [ obs-wlrobs obs-v4l2sink ]; @@ -34,8 +26,7 @@ in # Home Manager needs a bit of information about you and the # paths it should manage. home.username = "pn"; - home.homeDirectory = - if isDarwin then "/Users/pn" else "/home/pn"; + home.homeDirectory = "/home/pn"; imports = [ # Platform specific config -- cgit 1.4.1