split nixos from darwin

required because they don't share all attributes
This commit is contained in:
Noah Masur committed 2022-12-21 17:07:58 -07:00
1 parent 7063bd5f7a
commit d021baa1bb
78 files changed
+22 -21

No files matched your search

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.
@@ -34,7 +34,7 @@ in {
ipcalc # Make IP network calculations
(mkScript {
name = "ocr";
file = ../shell/bash/scripts/ocr.sh;
file = ../modules/shell/bash/scripts/ocr.sh;
env = [ tesseract ];
})
];
+3 -3
View File
@@ -7,6 +7,9 @@ nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { };
modules = [
./hardware-configuration.nix
../../modules
../../nixos
globals
home-manager.nixosModules.home-manager
{
@@ -42,8 +45,5 @@ nixpkgs.lib.nixosSystem {
nixlang.enable = true;
dotfiles.enable = true;
}
./hardware-configuration.nix
../../modules
];
}
+1 -1
View File
@@ -8,6 +8,7 @@ darwin.lib.darwinSystem {
specialArgs = { };
modules = [
../../modules
../../darwin
(globals // {
user = "Noah.Masur";
gitName = "Noah-Masur_1701";
@@ -26,7 +27,6 @@ darwin.lib.darwinSystem {
nixpkgs.overlays = [ firefox-darwin.overlay ] ++ overlays;
# Set registry to flake packages, used for nix X commands
nix.registry.nixpkgs.flake = nixpkgs;
mail.aerc.enable = true;
mail.himalaya.enable = true;
kitty.enable = true;
+1
View File
@@ -13,6 +13,7 @@ nixpkgs.lib.nixosSystem {
modules = [
./hardware-configuration.nix
../../modules
../../nixos
(removeAttrs globals [ "mail.server" ])
home-manager.nixosModules.home-manager
{
+1
View File
@@ -11,6 +11,7 @@ nixpkgs.lib.nixosSystem {
wsl.nixosModules.wsl
home-manager.nixosModules.home-manager
../../modules
../../nixos
{
networking.hostName = "wsl";
# Set registry to flake packages, used for nix X commands
-1
View File
@@ -3,7 +3,6 @@
imports = [
./1password.nix
./alacritty.nix
./calibre.nix
./discord.nix
./firefox.nix
./kitty.nix
+2 -15
View File
@@ -1,20 +1,7 @@
{ config, lib, pkgs, ... }: {
imports = [
./applications
./darwin
./gaming
./graphical
./hardware
./mail
./neovim
./nixos
./programming
./repositories
./services
./shell
./wsl
];
imports =
[ ./applications ./mail ./neovim ./programming ./repositories ./shell ];
options = {
user = lib.mkOption {
File renamed without changes.
+13
View File
@@ -0,0 +1,13 @@
{ ... }: {
imports = [
./applications
./gaming
./graphical
./hardware
./services
./system
./wsl
];
}
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.
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.