mirror of
https://github.com/nmasur/dotfiles
synced 2026-10-29 11:55:02 +00:00
split nixos from darwin
required because they don't share all attributes
This commit is contained in:
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.
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 ];
|
||||
})
|
||||
];
|
||||
@@ -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
|
||||
];
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
@@ -13,6 +13,7 @@ nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
../../nixos
|
||||
(removeAttrs globals [ "mail.server" ])
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
imports = [
|
||||
./1password.nix
|
||||
./alacritty.nix
|
||||
./calibre.nix
|
||||
./discord.nix
|
||||
./firefox.nix
|
||||
./kitty.nix
|
||||
|
||||
+2
-15
@@ -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.
@@ -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.
Reference in new issue
Block a user