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.

56 lines
1.7 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. flake-utils.url = "github:numtide/flake-utils";
  8. home-manager.url = "github:nix-community/home-manager";
  9. home-manager.inputs.nixpkgs.follows = "nixpkgs";
  10. emacs-overlay.url = "github:nix-community/emacs-overlay";
  11. nixos-hardware.url = "github:nixos/nixos-hardware";
  12. nix-on-droid.url = "github:t184256/nix-on-droid/master";
  13. nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
  14. };
  15. outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, ... }: {
  16. nixosConfigurations = {
  17. nixos = nixpkgs.lib.nixosSystem {
  18. system = "x86_64-linux";
  19. specialArgs = { inherit inputs; };
  20. modules = [
  21. ./hosts/nixos
  22. ./modules/x11.nix
  23. ./modules/ssh.nix
  24. ./modules/hugo.nix
  25. ./modules/flakes.nix
  26. ./modules/cachix.nix
  27. ./modules/firefox.nix
  28. inputs.home-manager.nixosModules.home-manager {
  29. home-manager.useGlobalPkgs = true;
  30. home-manager.useUserPackages = true;
  31. home-manager.users.chris = {
  32. imports = [
  33. ./modules/git.nix
  34. ./modules/gpg.nix
  35. ./modules/vim.nix
  36. ./modules/gtk.nix
  37. ./modules/emacs.nix
  38. ];
  39. };
  40. }
  41. ];
  42. };
  43. };
  44. nixOnDroidConfigurations = {
  45. android = {
  46. device = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
  47. config = ./hosts/android/nix-on-droid.nix;
  48. system = "aarch64-linux";
  49. specialArgs = { inherit inputs; };
  50. };
  51. };
  52. };
  53. };
  54. }