change flake-utils-plus to upstream
This commit is contained in:
parent
87b143f62d
commit
447ad74b1c
17
flake.nix
17
flake.nix
@ -2,7 +2,7 @@
|
|||||||
description = "System configuration";
|
description = "System configuration";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
flake-utils-plus.url = "github:AtaraxiaSjel/flake-utils-plus";
|
flake-utils-plus.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.4.0";
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nixpkgs-master.url = "github:nixos/nixpkgs/master";
|
nixpkgs-master.url = "github:nixos/nixpkgs/master";
|
||||||
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-23.05";
|
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-23.05";
|
||||||
@ -106,8 +106,8 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
customModules = builtins.listToAttrs (findModules ./modules);
|
customModules = builtins.listToAttrs (findModules ./modules);
|
||||||
nixosProfiles = builtins.listToAttrs (findModules ./profiles);
|
customProfiles = builtins.listToAttrs (findModules ./profiles);
|
||||||
nixosRoles = import ./roles;
|
customRoles = import ./roles;
|
||||||
|
|
||||||
sharedPatches = patchesPath [
|
sharedPatches = patchesPath [
|
||||||
"ivpn.patch"
|
"ivpn.patch"
|
||||||
@ -115,7 +115,8 @@
|
|||||||
"vaultwarden.patch"
|
"vaultwarden.patch"
|
||||||
"webhooks.patch"
|
"webhooks.patch"
|
||||||
];
|
];
|
||||||
channelsConfig = { allowUnfree = true; };
|
sharedOverlays = [ flake-utils-plus.overlay ];
|
||||||
|
channelsConfig = { allowUnfree = true; android_sdk.accept_license = true; };
|
||||||
channels.unstable.input = nixpkgs;
|
channels.unstable.input = nixpkgs;
|
||||||
channels.unstable.patches = patchesPath [ "zen-kernels.patch" "ydotoold.patch" ] ++ sharedPatches;
|
channels.unstable.patches = patchesPath [ "zen-kernels.patch" "ydotoold.patch" ] ++ sharedPatches;
|
||||||
channels.stable.input = inputs.nixpkgs-stable;
|
channels.stable.input = inputs.nixpkgs-stable;
|
||||||
@ -123,13 +124,12 @@
|
|||||||
|
|
||||||
hostDefaults.system = "x86_64-linux";
|
hostDefaults.system = "x86_64-linux";
|
||||||
hostDefaults.channelName = "unstable";
|
hostDefaults.channelName = "unstable";
|
||||||
|
hostDefaults.modules = with nixpkgs.lib; __attrValues self.customModules;
|
||||||
hosts = with nixpkgs.lib; let
|
hosts = with nixpkgs.lib; let
|
||||||
hostnames = builtins.attrNames (builtins.readDir ./machines);
|
hostnames = builtins.attrNames (builtins.readDir ./machines);
|
||||||
mkHost = name: let
|
mkHost = name: {
|
||||||
system = builtins.readFile (./machines + "/${name}/system");
|
system = builtins.readFile (./machines + "/${name}/system");
|
||||||
in {
|
modules = [
|
||||||
inherit system;
|
|
||||||
modules = __attrValues self.customModules ++ [
|
|
||||||
(import (./machines + "/${name}"))
|
(import (./machines + "/${name}"))
|
||||||
{ device = name; mainuser = "ataraxia"; }
|
{ device = name; mainuser = "ataraxia"; }
|
||||||
inputs.vscode-server.nixosModule
|
inputs.vscode-server.nixosModule
|
||||||
@ -179,6 +179,7 @@
|
|||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
rebuild update-vscode upgrade upgrade-hyprland
|
rebuild update-vscode upgrade upgrade-hyprland
|
||||||
nixfmt nixpkgs-fmt statix vulnix deadnix git deploy-rs
|
nixfmt nixpkgs-fmt statix vulnix deadnix git deploy-rs
|
||||||
|
fup-repl
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
ci = pkgs.mkShell {
|
ci = pkgs.mkShell {
|
||||||
|
@ -2,19 +2,19 @@
|
|||||||
imports = with inputs.self; [
|
imports = with inputs.self; [
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
nixosRoles.workstation
|
customRoles.workstation
|
||||||
|
|
||||||
# nixosProfiles.stable-diffusion
|
# customProfiles.stable-diffusion
|
||||||
nixosProfiles.a2ln-server
|
customProfiles.a2ln-server
|
||||||
nixosProfiles.act
|
customProfiles.act
|
||||||
nixosProfiles.attic
|
customProfiles.attic
|
||||||
nixosProfiles.bluetooth
|
customProfiles.bluetooth
|
||||||
nixosProfiles.cassowary
|
customProfiles.cassowary
|
||||||
nixosProfiles.emulators
|
customProfiles.emulators
|
||||||
nixosProfiles.hoyo
|
customProfiles.hoyo
|
||||||
nixosProfiles.minecraft
|
customProfiles.minecraft
|
||||||
nixosProfiles.sunshine
|
customProfiles.sunshine
|
||||||
nixosProfiles.wine-games
|
customProfiles.wine-games
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.libvirt.guests = {
|
virtualisation.libvirt.guests = {
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
imports = with inputs.self; [
|
imports = with inputs.self; [
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
nixosRoles.desktop
|
customRoles.desktop
|
||||||
|
|
||||||
nixosProfiles.bluetooth
|
customProfiles.bluetooth
|
||||||
];
|
];
|
||||||
|
|
||||||
deviceSpecific.devInfo = {
|
deviceSpecific.devInfo = {
|
||||||
|
@ -6,45 +6,45 @@ in {
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./virtualisation.nix
|
./virtualisation.nix
|
||||||
./disks.nix
|
./disks.nix
|
||||||
nixosProfiles.hardened
|
customProfiles.hardened
|
||||||
|
|
||||||
nixosRoles.hypervisor
|
customRoles.hypervisor
|
||||||
nixosProfiles.acme
|
customProfiles.acme
|
||||||
# nixosProfiles.authentik
|
customProfiles.authentik
|
||||||
nixosProfiles.battery-historian
|
customProfiles.battery-historian
|
||||||
nixosProfiles.duplicacy
|
customProfiles.duplicacy
|
||||||
nixosProfiles.fail2ban
|
customProfiles.fail2ban
|
||||||
# nixosProfiles.firefox-syncserver
|
# customProfiles.firefox-syncserver
|
||||||
nixosProfiles.gitea
|
customProfiles.gitea
|
||||||
nixosProfiles.joplin-server
|
customProfiles.joplin-server
|
||||||
nixosProfiles.mailserver
|
customProfiles.mailserver
|
||||||
nixosProfiles.nginx
|
customProfiles.nginx
|
||||||
nixosProfiles.roundcube
|
customProfiles.roundcube
|
||||||
nixosProfiles.tinyproxy
|
customProfiles.tinyproxy
|
||||||
nixosProfiles.vaultwarden
|
customProfiles.vaultwarden
|
||||||
nixosProfiles.vscode-server
|
customProfiles.vscode-server
|
||||||
|
|
||||||
nixosProfiles.media-stack
|
customProfiles.media-stack
|
||||||
# nixosProfiles.copyparty
|
# customProfiles.copyparty
|
||||||
nixosProfiles.seafile
|
customProfiles.seafile
|
||||||
# nixosProfiles.cocalc
|
# customProfiles.cocalc
|
||||||
# nixosProfiles.neko-browser
|
# customProfiles.neko-browser
|
||||||
nixosProfiles.openbooks
|
customProfiles.openbooks
|
||||||
nixosProfiles.webhooks
|
customProfiles.webhooks
|
||||||
|
|
||||||
nixosProfiles.yandex-db
|
customProfiles.yandex-db
|
||||||
nixosProfiles.hoyolab
|
customProfiles.hoyolab
|
||||||
nixosProfiles.it-tools
|
customProfiles.it-tools
|
||||||
nixosProfiles.homepage
|
customProfiles.homepage
|
||||||
nixosProfiles.matrix
|
customProfiles.matrix
|
||||||
nixosProfiles.atticd
|
customProfiles.atticd
|
||||||
nixosProfiles.attic
|
customProfiles.attic
|
||||||
nixosProfiles.restic-server
|
customProfiles.restic-server
|
||||||
nixosProfiles.outline
|
customProfiles.outline
|
||||||
nixosProfiles.radicale
|
customProfiles.radicale
|
||||||
nixosProfiles.wiki
|
customProfiles.wiki
|
||||||
|
|
||||||
(import nixosProfiles.blocky {
|
(import customProfiles.blocky {
|
||||||
inherit config;
|
inherit config;
|
||||||
inherit (import ./dns-mapping.nix) dns-mapping;
|
inherit (import ./dns-mapping.nix) dns-mapping;
|
||||||
})
|
})
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{ inputs, config, lib, pkgs, ... }: {
|
{ inputs, config, lib, pkgs, ... }: {
|
||||||
imports = with inputs.self; [
|
imports = with inputs.self; [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
# nixosRoles.base
|
# customRoles.base
|
||||||
|
|
||||||
customModules.devices
|
customModules.devices
|
||||||
nixosProfiles.attic
|
customProfiles.attic
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
@ -23,8 +23,8 @@
|
|||||||
customModules.devices
|
customModules.devices
|
||||||
customModules.users
|
customModules.users
|
||||||
|
|
||||||
nixosProfiles.hardened
|
customProfiles.hardened
|
||||||
nixosProfiles.overlay
|
customProfiles.overlay
|
||||||
];
|
];
|
||||||
|
|
||||||
# disko.devices = import ./disko.nix { inherit lib; };
|
# disko.devices = import ./disko.nix { inherit lib; };
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
imports = with inputs.self.nixosProfiles; [
|
imports = with inputs.self.customProfiles; [
|
||||||
inputs.home-manager.nixosModules.home-manager {
|
inputs.home-manager.nixosModules.home-manager {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ inputs, pkgs, ... }: {
|
{ inputs, pkgs, ... }: {
|
||||||
imports = with inputs.self.nixosProfiles; [
|
imports = with inputs.self.customProfiles; [
|
||||||
inputs.home-manager.nixosModules.home-manager {
|
inputs.home-manager.nixosModules.home-manager {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
imports = with inputs.self.nixosProfiles; [
|
imports = with inputs.self.customProfiles; [
|
||||||
./base.nix
|
./base.nix
|
||||||
inputs.base16.hmModule
|
inputs.base16.hmModule
|
||||||
inputs.self.nixosProfiles.seadrive
|
inputs.self.customProfiles.seadrive
|
||||||
|
|
||||||
applications-setup
|
applications-setup
|
||||||
hardware
|
hardware
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ inputs, pkgs, ... }: {
|
{ inputs, pkgs, ... }: {
|
||||||
imports = with inputs.self.nixosProfiles; [
|
imports = with inputs.self.customProfiles; [
|
||||||
inputs.home-manager.nixosModules.home-manager {
|
inputs.home-manager.nixosModules.home-manager {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
imports = with inputs.self; [
|
imports = with inputs.self; [
|
||||||
nixosRoles.desktop
|
customRoles.desktop
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user