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.

64 lines
1.9 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. };
  12. outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, ... }: {
  13. nixosConfigurations = {
  14. nixos = nixpkgs.lib.nixosSystem {
  15. system = "x86_64-linux";
  16. specialArgs = { inherit inputs; };
  17. modules = [
  18. ./hosts/nixos
  19. ./modules/x11.nix
  20. ./modules/flakes.nix
  21. ./modules/cachix.nix
  22. inputs.home-manager.nixosModules.home-manager {
  23. home-manager.useGlobalPkgs = true;
  24. home-manager.useUserPackages = true;
  25. home-manager.users.chris = {
  26. imports = [
  27. ./modules/git.nix
  28. ./modules/gpg.nix
  29. ./modules/vim.nix
  30. ./modules/gtk.nix
  31. ./modules/emacs.nix
  32. ];
  33. };
  34. }
  35. ];
  36. };
  37. acernitro = nixpkgs.lib.nixosSystem {
  38. system = "x86_64-linux";
  39. specialArgs = { inherit inputs; };
  40. modules = [
  41. ./hosts/acernitro
  42. ./modules/x11.nix
  43. ./modules/flakes.nix
  44. ./modules/cachix.nix
  45. inputs.home-manager.nixosModules.home-manager {
  46. home-manager.useGlobalPkgs = true;
  47. home-manager.useUserPackages = true;
  48. home-manager.users.chris = {
  49. imports = [
  50. ./modules/git.nix
  51. ./modules/gpg.nix
  52. ./modules/vim.nix
  53. ./modules/gtk.nix
  54. ./modules/emacs.nix
  55. ];
  56. };
  57. }
  58. ];
  59. };
  60. };
  61. };
  62. }