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.

110 lines
3.3 KiB

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