refactore directory structure

This commit is contained in:
Chris Cochrun 2023-06-09 06:06:37 -05:00
parent 3830eef1f4
commit e87bfb7c39
485 changed files with 66 additions and 1696 deletions

View file

@ -48,45 +48,10 @@
config = { allowUnfree = true; };
overlays = [
emacs.overlays.default
# anyrun.overlay
# (self: super: {
# ffmpeg_5-full = super.ffmpeg_5-full.overrideAttrs (old: {
# postFixup = ''
# addOpenGLRunpath ${placeholder "lib"}/lib/libavcodec.so
# addOpenGLRunpath ${placeholder "lib"}/lib/libavutil.so
# '';
# });
# })
# (self: super:
# {
# awesome = super.awesome.overrideAttrs (old: rec {
# pname = "awesome";
# version = "git-20220614-3a54221";
# src = super.fetchFromGitHub {
# owner = "awesomeWM";
# repo = "awesome";
# rev = "3a542219f3bf129546ae79eb20e384ea28fa9798";
# sha256 = "4z3w6iuv+Gw2xRvhv2AX4suO6dl82woJn0p1nkEx3uM=";
# };
# patches = [];
# });
# }
# )
# (self: super:
# {
# qt5ct = super.qt5ct.overrideAttrs (old: rec {
# patches = (old.patches or []) ++ [
# ../../qt5ct.patch
# ];
# });
# }
# )
];
};
lib = nixpkgs.lib;
# unstable = nixpkgs;
in {
nixosConfigurations = {
@ -94,7 +59,7 @@
inherit system;
pkgs = pkgsForSystem;
modules = [
./system/syl/configuration.nix
./systems/syl/configuration.nix
home-manager.nixosModules.home-manager
hyprland.nixosModules.default
nixos-hardware.nixosModules.framework
@ -102,7 +67,7 @@
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.chris = import ./user/home.nix;
home-manager.users.chris = import ./home/home.nix;
}
];
};
@ -110,21 +75,21 @@
inherit system;
pkgs = pkgsForSystem;
modules = [
./system/kaladin/configuration.nix
./systems/kaladin/configuration.nix
home-manager.nixosModules.home-manager
hyprland.nixosModules.default
nixos-hardware.nixosModules.common-gpu-amd
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.chris = import ./user/home.nix;
home-manager.users.chris = import ./home/home.nix;
}
];
};
dalinar = nixpkgs-stable.lib.nixosSystem {
inherit system;
modules = [
./system/dalinar/configuration.nix
./systems/dalinar/configuration.nix
nix-bitcoin.nixosModules.default
# simple-nixos-mailserver.nixosModules.default
];
@ -132,7 +97,7 @@
kohlin = nixpkgs-stable.lib.nixosSystem {
inherit system;
modules = [
./system/kohlin/configuration.nix
./systems/kohlin/configuration.nix
nix-bitcoin.nixosModules.default
];
};