mirror of
https://github.com/sadan4/dotfiles.git
synced 2024-11-16 23:04:39 -05:00
8c8c4214ad
231 current 2024-09-08 23:55:54 24.11.20240831.12228ff 6.11.0-rc5 * 232 current 2024-09-08 23:57:58 24.11.20240831.12228ff 6.11.0-rc5 * 233 current 2024-09-09 00:00:25 24.11.20240831.12228ff 6.11.0-rc5 * 234 current 2024-09-09 00:01:40 24.11.20240831.12228ff 6.11.0-rc5 * 235 current 2024-09-09 00:08:17 24.11.20240831.12228ff 6.11.0-rc5 * 236 current 2024-09-09 00:09:22 24.11.20240831.12228ff 6.11.0-rc5 * 237 current 2024-09-09 00:20:19 24.11.20240831.12228ff 6.11.0-rc5 * 238 current 2024-09-09 00:40:29 24.11.20240831.12228ff 6.11.0-rc5 * 239 current 2024-09-09 00:42:12 24.11.20240831.12228ff 6.11.0-rc5 * 240 current 2024-09-09 00:44:00 24.11.20240831.12228ff 6.11.0-rc5 * 241 current 2024-09-09 00:45:41 24.11.20240831.12228ff 6.11.0-rc5 * 242 current 2024-09-09 00:46:52 24.11.20240831.12228ff 6.11.0-rc5 * 243 current 2024-09-09 00:48:27 24.11.20240831.12228ff 6.11.0-rc5 * 244 current 2024-09-09 00:49:49 24.11.20240831.12228ff 6.11.0-rc5 * 245 current 2024-09-09 00:51:13 24.11.20240831.12228ff 6.11.0-rc5 * 246 current 2024-09-09 00:58:46 24.11.20240831.12228ff 6.11.0-rc5 * 247 current 2024-09-09 01:00:34 24.11.20240831.12228ff 6.11.0-rc5 * 248 current 2024-09-09 01:01:38 24.11.20240831.12228ff 6.11.0-rc5 * 249 current 2024-09-09 01:02:25 24.11.20240831.12228ff 6.11.0-rc5 * 250 current 2024-09-09 01:03:52 24.11.20240831.12228ff 6.11.0-rc5 * 251 current 2024-09-09 01:04:51 24.11.20240831.12228ff 6.11.0-rc5 * 252 current 2024-09-09 01:05:55 24.11.20240831.12228ff 6.11.0-rc5 * 253 current 2024-09-09 01:07:07 24.11.20240831.12228ff 6.11.0-rc5 * 254 current 2024-09-09 01:08:16 24.11.20240831.12228ff 6.11.0-rc5 * 255 current 2024-09-09 01:12:42 24.11.20240831.12228ff 6.11.0-rc5 *
68 lines
2.1 KiB
Nix
68 lines
2.1 KiB
Nix
#commit
|
|
{
|
|
description = "Nixos config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
};
|
|
nix-index-database.url = "github:nix-community/nix-index-database";
|
|
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
|
nixos-wsl.url = "github:nix-community/nixos-wsl";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
outputs = { self, nixpkgs, nixos-wsl, ... }@inputs:
|
|
# let
|
|
# boxes = [
|
|
# "default"
|
|
# ];
|
|
# forAllSystems = nixpkgs.lib.genAttrs boxes;
|
|
# in
|
|
{
|
|
nixosConfigurations = {
|
|
desktopIso = nixpkgs.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
modules = [
|
|
# ./boxes/desktop/configuration.nix
|
|
# inputs.home-manager.nixosModules.default
|
|
({ pkgs, modulesPath, ... }: {
|
|
imports = [ (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") ];
|
|
boot.kernelPackages = pkgs.linuxPackages_testing;
|
|
})
|
|
];
|
|
};
|
|
desktop = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./boxes/desktop/configuration.nix
|
|
inputs.home-manager.nixosModules.default
|
|
inputs.nix-index-database.nixosModules.nix-index
|
|
{ programs.nix-index-database.comma.enable = true; }
|
|
];
|
|
};
|
|
wsl = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./boxes/wsl/configuration.nix
|
|
inputs.home-manager.nixosModules.default
|
|
nixos-wsl.nixosModules.wsl
|
|
];
|
|
};
|
|
};
|
|
# nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
|
# specialArgs = {inherit inputs;};
|
|
# modules = [
|
|
# ./boxes/desktop/configuration.nix
|
|
# inputs.home-manager.nixosModules.default
|
|
# ];
|
|
# };
|
|
# cpkg = forAllSystems(system: import ./customPackages);
|
|
};
|
|
|
|
}
|