move nixos and darwin back into modules dir

This commit is contained in:
Noah Masur committed 2023-02-20 20:37:37 -05:00
1 parent ded498f4c9
commit cc84f1d37a
163 files changed
+30 -30

No files matched your search

+4 -4
View File
@@ -8,10 +8,10 @@ configuration may be difficult to translate to a non-Nix system.
However, some of the configurations are easier to lift directly: However, some of the configurations are easier to lift directly:
- [Neovim](https://github.com/nmasur/dotfiles/tree/master/modules/neovim/config) - [Neovim](https://github.com/nmasur/dotfiles/tree/master/modules/common/neovim/config)
- [Fish functions](https://github.com/nmasur/dotfiles/tree/master/modules/shell/fish/functions) - [Fish functions](https://github.com/nmasur/dotfiles/tree/master/modules/common/shell/fish/functions)
- [More fish aliases](https://github.com/nmasur/dotfiles/blob/master/modules/shell/fish/default.nix) - [More fish aliases](https://github.com/nmasur/dotfiles/blob/master/modules/common/shell/fish/default.nix)
- [Git aliases](https://github.com/nmasur/dotfiles/blob/master/modules/shell/git.nix) - [Git aliases](https://github.com/nmasur/dotfiles/blob/master/modules/common/shell/git.nix)
- [Hammerspoon](https://github.com/nmasur/dotfiles/tree/master/modules/darwin/hammerspoon) - [Hammerspoon](https://github.com/nmasur/dotfiles/tree/master/modules/darwin/hammerspoon)
Try out my Neovim config (requires [nix](https://nixos.org/download.html)): Try out my Neovim config (requires [nix](https://nixos.org/download.html)):
+1 -1
View File
@@ -57,7 +57,7 @@
neovim = { neovim = {
type = "app"; type = "app";
program = "${ program = "${
(import ../modules/neovim/package { (import ../modules/common/neovim/package {
inherit pkgs; inherit pkgs;
colors = colors =
import ../colorscheme/gruvbox/neovim-gruvbox.nix { inherit pkgs; }; import ../colorscheme/gruvbox/neovim-gruvbox.nix { inherit pkgs; };
+1 -1
View File
@@ -161,7 +161,7 @@
}; };
neovim = let pkgs = import nixpkgs { inherit system overlays; }; neovim = let pkgs = import nixpkgs { inherit system overlays; };
in import ./modules/neovim/package { in import ./modules/common/neovim/package {
inherit pkgs; inherit pkgs;
colors = colors =
import ./colorscheme/gruvbox/neovim-gruvbox.nix { inherit pkgs; }; import ./colorscheme/gruvbox/neovim-gruvbox.nix { inherit pkgs; };
+3 -3
View File
@@ -15,16 +15,16 @@ nixos-generators.nixosGenerate {
gitEmail = globals.gitEmail; gitEmail = globals.gitEmail;
networking.hostName = "sheep"; networking.hostName = "sheep";
gui.enable = false; gui.enable = false;
colorscheme = (import ../modules/colorscheme/gruvbox); colorscheme = (import ../colorscheme/gruvbox);
passwordHash = null; passwordHash = null;
publicKey = publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s"; "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s";
# AWS settings require this # AWS settings require this
permitRootLogin = "prohibit-password"; permitRootLogin = "prohibit-password";
} }
../../hosts/common.nix ../../modules/common
../../modules/nixos ../../modules/nixos
../../modules/services/sshd.nix ../../modules/common/services/sshd.nix
] ++ [ ] ++ [
# Required to fix diskSize errors during build # Required to fix diskSize errors during build
({ ... }: { amazonImage.sizeMB = 16 * 1024; }) ({ ... }: { amazonImage.sizeMB = 16 * 1024; })
+2 -2
View File
@@ -13,8 +13,8 @@ nixpkgs.lib.nixosSystem {
specialArgs = { }; specialArgs = { };
modules = [ modules = [
./hardware-configuration.nix ./hardware-configuration.nix
../../modules ../../modules/common
../../nixos ../../modules/nixos
(removeAttrs globals [ "mail.server" ]) (removeAttrs globals [ "mail.server" ])
wsl.nixosModules.wsl wsl.nixosModules.wsl
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
+2 -2
View File
@@ -9,8 +9,8 @@ nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { }; specialArgs = { };
modules = [ modules = [
../../modules ../../modules/common
../../nixos ../../modules/nixos
globals globals
wsl.nixosModules.wsl wsl.nixosModules.wsl
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
+2 -2
View File
@@ -9,8 +9,8 @@ darwin.lib.darwinSystem {
system = "x86_64-darwin"; system = "x86_64-darwin";
specialArgs = { }; specialArgs = { };
modules = [ modules = [
../../modules ../../modules/common
../../darwin ../../modules/darwin
(globals // { (globals // {
user = "Noah.Masur"; user = "Noah.Masur";
gitName = "Noah-Masur_1701"; gitName = "Noah-Masur_1701";
+2 -2
View File
@@ -10,8 +10,8 @@ nixpkgs.lib.nixosSystem {
specialArgs = { }; specialArgs = { };
modules = [ modules = [
./hardware-configuration.nix ./hardware-configuration.nix
../../modules ../../modules/common
../../nixos ../../modules/nixos
(removeAttrs globals [ "mail.server" ]) (removeAttrs globals [ "mail.server" ])
wsl.nixosModules.wsl wsl.nixosModules.wsl
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
+2 -2
View File
@@ -10,8 +10,8 @@ nixpkgs.lib.nixosSystem {
specialArgs = { }; specialArgs = { };
modules = [ modules = [
./hardware-configuration.nix ./hardware-configuration.nix
../../modules ../../modules/common
../../nixos ../../modules/nixos
globals globals
wsl.nixosModules.wsl wsl.nixosModules.wsl
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -13,16 +13,16 @@
# in pkgs.neovimBuilder { # in pkgs.neovimBuilder {
# package = pkgs.neovim-unwrapped; # package = pkgs.neovim-unwrapped;
# imports = [ # imports = [
# ./modules/neovim/plugins/bufferline.nix # ./modules/common/neovim/plugins/bufferline.nix
# ./modules/neovim/plugins/completion.nix # ./modules/common/neovim/plugins/completion.nix
# ./modules/neovim/plugins/gitsigns.nix # ./modules/common/neovim/plugins/gitsigns.nix
# ./modules/neovim/plugins/lsp.nix # ./modules/common/neovim/plugins/lsp.nix
# ./modules/neovim/plugins/misc.nix # ./modules/common/neovim/plugins/misc.nix
# ./modules/neovim/plugins/statusline.nix # ./modules/common/neovim/plugins/statusline.nix
# ./modules/neovim/plugins/syntax.nix # ./modules/common/neovim/plugins/syntax.nix
# ./modules/neovim/plugins/telescope.nix # ./modules/common/neovim/plugins/telescope.nix
# ./modules/neovim/plugins/toggleterm.nix # ./modules/common/neovim/plugins/toggleterm.nix
# ./modules/neovim/plugins/tree.nix # ./modules/common/neovim/plugins/tree.nix
# ] ++ extraConfig; # ] ++ extraConfig;
# } # }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 163 files, more files were not shown because too many files have changed in this diff. Show more