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.

65 lines
2.0 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. # NOTE: Work In Progress!
  38. # acernitro = nixpkgs.lib.nixosSystem {
  39. # system = "x86_64-linux";
  40. # specialArgs = { inherit inputs; };
  41. # modules = [
  42. # ./hosts/acernitro
  43. # ./modules/x11.nix
  44. # ./modules/flakes.nix
  45. # ./modules/cachix.nix
  46. # inputs.home-manager.nixosModules.home-manager {
  47. # home-manager.useGlobalPkgs = true;
  48. # home-manager.useUserPackages = true;
  49. # home-manager.users.chris = {
  50. # imports = [
  51. # ./modules/git.nix
  52. # ./modules/gpg.nix
  53. # ./modules/vim.nix
  54. # ./modules/gtk.nix
  55. # ./modules/emacs.nix
  56. # ];
  57. # };
  58. # }
  59. # ];
  60. # };
  61. };
  62. };
  63. }