dotfiles/flake.nix

68 lines
2.1 KiB
Nix
Raw Permalink Normal View History

#commit
{
description = "Nixos config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
sops-nix = {
url = "github:Mic92/sops-nix";
};
230 current 2024-09-08 23:54:23 24.11.20240831.12228ff 6.11.0-rc5 * 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 *
2024-09-08 23:54:31 -04:00
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
2024-05-27 12:34:10 -04:00
nixos-wsl.url = "github:nix-community/nixos-wsl";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
2024-05-27 12:34:10 -04:00
outputs = { self, nixpkgs, nixos-wsl, ... }@inputs:
2024-05-03 18:49:17 -04:00
# let
# boxes = [
# "default"
# ];
# forAllSystems = nixpkgs.lib.genAttrs boxes;
# in
{
2024-05-03 18:49:17 -04:00
nixosConfigurations = {
2024-09-02 16:01:02 -04:00
desktopIso = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
2024-10-02 23:37:49 -04:00
({ pkgs, modulesPath,lib, ... }: {
imports = [ (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") ];
2024-10-02 23:37:49 -04:00
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" "ext4" ];
})
];
2024-09-02 16:01:02 -04:00
};
2024-10-02 17:37:35 -04:00
nix-desktop-evo4b5 = nixpkgs.lib.nixosSystem {
2024-05-03 18:49:17 -04:00
specialArgs = { inherit inputs; };
2024-10-28 19:57:27 -04:00
system = "x86_64-linux";
2024-05-03 18:49:17 -04:00
modules = [
./boxes/desktop/configuration.nix
inputs.home-manager.nixosModules.default
230 current 2024-09-08 23:54:23 24.11.20240831.12228ff 6.11.0-rc5 * 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 *
2024-09-08 23:54:31 -04:00
inputs.nix-index-database.nixosModules.nix-index
{ programs.nix-index-database.comma.enable = true; }
2024-05-03 18:49:17 -04:00
];
};
2024-05-27 12:34:10 -04:00
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
];
};
2024-05-03 18:49:17 -04:00
};
# nixosConfigurations.default = nixpkgs.lib.nixosSystem {
# specialArgs = {inherit inputs;};
# modules = [
# ./boxes/desktop/configuration.nix
# inputs.home-manager.nixosModules.default
# ];
# };
# cpkg = forAllSystems(system: import ./customPackages);
};
}