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.

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