I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
3.4 KiB

3 years ago
  1. # This file is controlled by /etc/dotfiles/README.org
  2. {
  3. description = "Immutable NixOS dotfiles.";
  4. inputs = {
  5. nixpkgs.url = "nixpkgs/nixos-unstable";
  6. nixpkgs-unstable.url = "nixpkgs/master";
  7. home-manager.url = "github:nix-community/home-manager";
  8. home-manager.inputs.nixpkgs.follows = "nixpkgs";
  9. emacs-overlay.url = "github:nix-community/emacs-overlay";
  10. nixos-hardware.url = "github:nixos/nixos-hardware";
  11. nix-on-droid.url = "github:t184256/nix-on-droid/master";
  12. nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
  13. };
  14. outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, ... }: {
  15. nixosConfigurations = {
  16. nixos = nixpkgs.lib.nixosSystem {
  17. system = "x86_64-linux";
  18. specialArgs = { inherit inputs; };
  19. modules = [
  20. ./hosts/nixos
  21. ./modules/x11.nix
  22. ./modules/xdg.nix
  23. ./modules/flakes.nix
  24. ./modules/cachix.nix
  25. inputs.home-manager.nixosModules.home-manager {
  26. home-manager.useGlobalPkgs = true;
  27. home-manager.useUserPackages = true;
  28. home-manager.users.chris = {
  29. imports = [
  30. ./modules/git.nix
  31. ./modules/gpg.nix
  32. ./modules/vim.nix
  33. ./modules/gtk.nix
  34. ./modules/emacs.nix
  35. ];
  36. };
  37. }
  38. ];
  39. };
  40. acernitro = nixpkgs.lib.nixosSystem {
  41. system = "x86_64-linux";
  42. specialArgs = { inherit inputs; };
  43. modules = [
  44. ./hosts/acernitro
  45. ./modules/x11.nix
  46. ./modules/xdg.nix
  47. ./modules/flakes.nix
  48. ./modules/cachix.nix
  49. ./modules/nvidia.nix
  50. ./modules/firefox.nix
  51. ./modules/moonlight.nix
  52. ./modules/teamviewer.nix
  53. inputs.home-manager.nixosModules.home-manager {
  54. home-manager.useGlobalPkgs = true;
  55. home-manager.useUserPackages = true;
  56. home-manager.users.chris = {
  57. imports = [
  58. ./modules/git.nix
  59. ./modules/gpg.nix
  60. ./modules/vim.nix
  61. ./modules/gtk.nix
  62. ./modules/emacs.nix
  63. ];
  64. };
  65. }
  66. ];
  67. };
  68. android = (inputs.nix-on-droid.lib.aarch64-linux.nix-on-droid {
  69. config = ./hosts/android/nix-on-droid.nix;
  70. }).activationPackage;
  71. homecloud = nixpkgs.lib.nixosSystem {
  72. system = "aarch64-linux";
  73. specialArgs = { inherit inputs; };
  74. modules = [
  75. ./hosts/homecloud
  76. ./modules/flakes.nix
  77. ./modules/cachix.nix
  78. ./modules/docker.nix
  79. ./modules/jellyfin.nix
  80. ];
  81. };
  82. raspberry = nixpkgs.lib.nixosSystem {
  83. system = "aarch64-linux";
  84. specialArgs = { inherit inputs; };
  85. modules = [
  86. ./hosts/raspberry
  87. ./modules/flakes.nix
  88. ./modules/cachix.nix
  89. ];
  90. };
  91. zero-one = nixpkgs.lib.nixosSystem {
  92. system = "armv7l-linux";
  93. specialArgs = { inherit inputs; };
  94. modules = [
  95. ./hosts/zero-one
  96. ./modules/flakes.nix
  97. ./modules/cachix.nix
  98. ];
  99. };
  100. zero-two = nixpkgs.lib.nixosSystem {
  101. system = "armv7l-linux";
  102. specialArgs = { inherit inputs; };
  103. modules = [
  104. ./hosts/zero-one
  105. ./modules/flakes.nix
  106. ./modules/cachix.nix
  107. ];
  108. };
  109. };
  110. };
  111. }