Browse Source

removing users folder

Zander Hawke 1 năm trước cách đây
mục cha
commit
187239beb3
3 tập tin đã thay đổi với 0 bổ sung63 xóa
  1. 0 29
      users/thomas/default.nix
  2. 0 7
      users/thomas/modgud/default.nix
  3. 0 27
      users/thomas/nix.nix

+ 0 - 29
users/thomas/default.nix

@@ -1,29 +0,0 @@
-{
-  pkgs,
-  lib,
-  config,
-  outputs,
-  ...
-}:
-let
-  homeLocation = with pkgs.stdenv.hostPlatform; if isDarwin then "/Users" else "/home";
-in
-{
-  imports = [
-    outputs.modules.global.nix-config
-
-    ./cli
-  ];
-
-  manual.manpages.enable = false;
-  xdg.enable = true;
-
-  home = {
-    username = lib.mkDefault "thomas";
-    homeDirectory = lib.mkDefault "${homeLocation}/${config.home.username}";
-    sessionVariables = {
-      SHELL = "${pkgs.nushell}/bin/nu";
-    };
-    stateVersion = lib.mkDefault "24.11";
-  };
-}

+ 0 - 7
users/thomas/modgud/default.nix

@@ -1,7 +0,0 @@
-{
-  home.sessionVariables = {
-    SSH_AUTH_SOCK = "/run/user/1000/gnupg/d.o6jzqfigwppq1eps4nhng6n5/S.gpg-agent.ssh";
-  };
-
-  services.gpg-agent.enable = false;
-}

+ 0 - 27
users/thomas/nix.nix

@@ -1,27 +0,0 @@
-{ pkgs, lib, ... }:
-{
-  nix = {
-    settings = {
-      substituters = [
-        "https://cache.nixos.org/"
-        "https://devenv.cachix.org"
-        "https://nix-community.cachix.org"
-      ];
-
-      trusted-public-keys = [
-        "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
-        "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
-        "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
-      ];
-
-      trusted-users = [ "thomas" ];
-    };
-
-    package = lib.mkDefault pkgs.nixVersions.stable;
-
-    extraOptions = ''
-      warn-dirty = false
-      experimental-features = nix-command flakes impure-derivations
-    '';
-  };
-}