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.5 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/ssh.nix
  23. ./modules/hugo.nix
  24. ./modules/flakes.nix
  25. ./modules/cachix.nix
  26. inputs.home-manager.nixosModules.home-manager {
  27. home-manager.useGlobalPkgs = true;
  28. home-manager.useUserPackages = true;
  29. home-manager.users.chris = {
  30. imports = [
  31. ./modules/git.nix
  32. ./modules/gpg.nix
  33. ./modules/vim.nix
  34. ./modules/gtk.nix
  35. ./modules/emacs.nix
  36. ];
  37. };
  38. }
  39. ];
  40. };
  41. acernitro = nixpkgs.lib.nixosSystem {
  42. system = "x86_64-linux";
  43. specialArgs = { inherit inputs; };
  44. modules = [
  45. ./hosts/acernitro
  46. ./modules/x11.nix
  47. ./modules/ssh.nix
  48. ./modules/hugo.nix
  49. ./modules/docker.nix
  50. ./modules/flakes.nix
  51. ./modules/cachix.nix
  52. ./modules/nvidia.nix
  53. ./modules/firefox.nix
  54. ./modules/moonlight.nix
  55. ./modules/teamviewer.nix
  56. inputs.home-manager.nixosModules.home-manager {
  57. home-manager.useGlobalPkgs = true;
  58. home-manager.useUserPackages = true;
  59. home-manager.users.chris = {
  60. imports = [
  61. ./modules/git.nix
  62. ./modules/gpg.nix
  63. ./modules/vim.nix
  64. ./modules/gtk.nix
  65. ./modules/emacs.nix
  66. ];
  67. };
  68. }
  69. ];
  70. };
  71. raspberry = nixpkgs.lib.nixosSystem {
  72. system = "aarch64-linux";
  73. specialArgs = { inherit inputs; };
  74. modules = [
  75. ./hosts/raspberry
  76. ./modules/x11.nix
  77. ./modules/ssh.nix
  78. ./modules/flakes.nix
  79. ./modules/cachix.nix
  80. inputs.home-manager.nixosModules.home-manager {
  81. home-manager.useGlobalPkgs = true;
  82. home-manager.useUserPackages = true;
  83. home-manager.users.chris = {
  84. imports = [
  85. ./modules/git.nix
  86. ./modules/gpg.nix
  87. ./modules/vim.nix
  88. ./modules/gtk.nix
  89. ./modules/emacs.nix
  90. ];
  91. };
  92. }
  93. ];
  94. };
  95. homecloud = nixpkgs.lib.nixosSystem {
  96. system = "aarch64-linux";
  97. specialArgs = { inherit inputs; };
  98. modules = [
  99. ./hosts/homecloud
  100. ./modules/ssh.nix
  101. ./modules/flakes.nix
  102. ./modules/cachix.nix
  103. ./modules/jellyfin.nix
  104. ];
  105. };
  106. android = (inputs.nix-on-droid.lib.aarch64-linux.nix-on-droid {
  107. config = ./hosts/android/nix-on-droid.nix;
  108. }).activationPackage;
  109. };
  110. };
  111. }