Apply nixfmt to the whole tree

This commit is contained in:
Greg Hellings
2024-11-18 21:22:32 -06:00
parent 18b7cddaaa
commit e7d1b0f7bd
34 changed files with 822 additions and 714 deletions
+12 -9
View File
@@ -1,9 +1,12 @@
[ {
version = "8";
arch = "amd64";
eol = true;
} {
version = "9";
arch = "amd64";
eol = false;
} ]
[
{
version = "8";
arch = "amd64";
eol = true;
}
{
version = "9";
arch = "amd64";
eol = false;
}
]
+12 -9
View File
@@ -1,9 +1,12 @@
[ {
version = "3.19.0";
arch = "amd64";
eol = false;
} {
version = "3.20";
arch = "amd64";
eol = false;
} ]
[
{
version = "3.19.0";
arch = "amd64";
eol = false;
}
{
version = "3.20";
arch = "amd64";
eol = false;
}
]
+7 -5
View File
@@ -1,5 +1,7 @@
[ {
version = "rolling";
arch = "amd64";
eol = false;
} ]
[
{
version = "rolling";
arch = "amd64";
eol = false;
}
]
+12 -9
View File
@@ -1,9 +1,12 @@
[ {
version = "8";
arch = "amd64";
eol = true;
} {
version = "9";
arch = "amd64";
eol = false;
} ]
[
{
version = "8";
arch = "amd64";
eol = true;
}
{
version = "9";
arch = "amd64";
eol = false;
}
]
+7 -5
View File
@@ -1,5 +1,7 @@
[ {
version = "7";
arch = "amd64";
eol = true;
} ]
[
{
version = "7";
arch = "amd64";
eol = true;
}
]
+25 -20
View File
@@ -1,20 +1,25 @@
[ {
version = "9";
arch = "amd64";
eol = true;
} {
version = "10";
arch = "amd64";
eol = true;
} {
version = "11";
arch = "amd64";
eol = false;
} {
version = "12";
arch = "amd64";
eol = false;
exclude = [
"virtualbox-iso"
];
} ]
[
{
version = "9";
arch = "amd64";
eol = true;
}
{
version = "10";
arch = "amd64";
eol = true;
}
{
version = "11";
arch = "amd64";
eol = false;
}
{
version = "12";
arch = "amd64";
eol = false;
exclude = [
"virtualbox-iso"
];
}
]
+11 -11
View File
@@ -1,13 +1,13 @@
{
almalinux = import ./almalinux;
alpine = import ./alpine;
archlinux = import ./archlinux;
centos = import ./centos;
centos-stream = import ./centos-stream;
debian = import ./debian;
fedora = import ./fedora;
nixos = import ./nixos;
opensuse = import ./opensuse;
rockylinux = import ./rockylinux;
ubuntu = import ./ubuntu;
almalinux = import ./almalinux;
alpine = import ./alpine;
archlinux = import ./archlinux;
centos = import ./centos;
centos-stream = import ./centos-stream;
debian = import ./debian;
fedora = import ./fedora;
nixos = import ./nixos;
opensuse = import ./opensuse;
rockylinux = import ./rockylinux;
ubuntu = import ./ubuntu;
}
+32 -25
View File
@@ -1,25 +1,32 @@
[ {
version = "37";
arch = "amd64";
eol = true;
} {
version = "38";
arch = "amd64";
eol = true;
} {
version = "39";
arch = "amd64";
eol = false;
} {
version = "40";
arch = "amd64";
eol = false;
} {
version = "41";
arch = "amd64";
eol = false;
} {
version = "rawhide";
arch = "amd64";
eol = false;
} ]
[
{
version = "37";
arch = "amd64";
eol = true;
}
{
version = "38";
arch = "amd64";
eol = true;
}
{
version = "39";
arch = "amd64";
eol = false;
}
{
version = "40";
arch = "amd64";
eol = false;
}
{
version = "41";
arch = "amd64";
eol = false;
}
{
version = "rawhide";
arch = "amd64";
eol = false;
}
]
+68 -60
View File
@@ -1,67 +1,75 @@
{config, pkgs, lib, ...}:
{
config,
pkgs,
lib,
...
}:
{
imports = [
./hardware-configuration.nix
./guest-agent.nix
];
imports = [
./hardware-configuration.nix
./guest-agent.nix
];
system.stateVersion = "23.05";
system.stateVersion = "23.05";
# Packages installed on the whole system
environment.systemPackages = with pkgs; [
curl
nano
python3
];
# Services that are running
services = {
openssh.enable = true;
#xserver.enable = true;
};
# User setup
users.groups.vagrant = {};
users.users.vagrant = {
isNormalUser = true;
group = "vagrant";
extraGroups = [ "wheel" ];
password = "vagrant";
};
security.sudo.extraRules = [
{
users = [ "vagrant" ];
groups = [ "vagrant" ];
commands = [
{ command = "ALL"; options = [ "NOPASSWD" ]; }
];
}
];
# Packages installed on the whole system
environment.systemPackages = with pkgs; [
curl
nano
python3
];
# Services that are running
services = {
openssh.enable = true;
#xserver.enable = true;
};
# User setup
users.groups.vagrant = { };
users.users.vagrant = {
isNormalUser = true;
group = "vagrant";
extraGroups = [ "wheel" ];
password = "vagrant";
};
security.sudo.extraRules = [
{
users = [ "vagrant" ];
groups = [ "vagrant" ];
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ];
}
];
}
];
boot.loader = {
systemd-boot = {
enable = true;
};
efi.canTouchEfiVariables = true;
};
networking = {
hostName = "vagrant";
networkmanager.enable = true;
#proxy.default = "http://user:password@proxy:port/";
#proxy.noProxy = "127.0.0.1,localhost,internal.domain";
};
time.timeZone = "UTC";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminux16";
keyMap = lib.mkForce "us";
useXkbConfig = true;
};
boot.loader = {
systemd-boot = {
enable = true;
};
efi.canTouchEfiVariables = true;
};
networking = {
hostName = "vagrant";
networkmanager.enable = true;
#proxy.default = "http://user:password@proxy:port/";
#proxy.noProxy = "127.0.0.1,localhost,internal.domain";
};
time.timeZone = "UTC";
nix = {
package = pkgs.nixFlakes;
settings = {
experimental-features = "nix-command flakes";
};
};
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminux16";
keyMap = lib.mkForce "us";
useXkbConfig = true;
};
nix = {
package = pkgs.nixFlakes;
settings = {
experimental-features = "nix-command flakes";
};
};
}
+12 -11
View File
@@ -1,15 +1,16 @@
{
description = "A basic NixOS Vagrant install";
description = "A basic NixOS Vagrant install";
inputs = {
nixstable.url = "github:nixos/nixpkgs/nixos-23.05";
};
inputs = {
nixstable.url = "github:nixos/nixpkgs/nixos-23.05";
};
outputs = { nixstable, self, ... }@inputs:
{
nixosConfigurations.vagrant = nixstable.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./configuration.nix ];
};
};
outputs =
{ nixstable, self, ... }@inputs:
{
nixosConfigurations.vagrant = nixstable.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./configuration.nix ];
};
};
}
-1
View File
@@ -1 +0,0 @@
ga-qemu.nix
+4
View File
@@ -0,0 +1,4 @@
{ ... }:
{
services.qemuGuest.enable = true;
}
+3 -3
View File
@@ -1,4 +1,4 @@
{...}:
{ ... }:
{
virtualisation.hypervGuest.enable = true;
}
virtualisation.hypervGuest.enable = true;
}
+6 -6
View File
@@ -1,7 +1,7 @@
{...}:
{ ... }:
{
virtualisation.virtualbox.guest = {
enable = true;
x11 = false;
};
}
virtualisation.virtualbox.guest = {
enable = true;
x11 = false;
};
}
+3 -3
View File
@@ -1,4 +1,4 @@
{...}:
{ ... }:
{
services.qemuGuest.enable = true;
}
services.qemuGuest.enable = true;
}
+68 -60
View File
@@ -1,67 +1,75 @@
{config, pkgs, lib, ...}:
{
config,
pkgs,
lib,
...
}:
{
imports = [
./hardware-configuration.nix
./guest-agent.nix
];
imports = [
./hardware-configuration.nix
./guest-agent.nix
];
system.stateVersion = "23.11";
system.stateVersion = "23.11";
# Packages installed on the whole system
environment.systemPackages = with pkgs; [
curl
nano
python3
];
# Services that are running
services = {
openssh.enable = true;
#xserver.enable = true;
};
# User setup
users.groups.vagrant = {};
users.users.vagrant = {
isNormalUser = true;
group = "vagrant";
extraGroups = [ "wheel" ];
password = "vagrant";
};
security.sudo.extraRules = [
{
users = [ "vagrant" ];
groups = [ "vagrant" ];
commands = [
{ command = "ALL"; options = [ "NOPASSWD" ]; }
];
}
];
# Packages installed on the whole system
environment.systemPackages = with pkgs; [
curl
nano
python3
];
# Services that are running
services = {
openssh.enable = true;
#xserver.enable = true;
};
# User setup
users.groups.vagrant = { };
users.users.vagrant = {
isNormalUser = true;
group = "vagrant";
extraGroups = [ "wheel" ];
password = "vagrant";
};
security.sudo.extraRules = [
{
users = [ "vagrant" ];
groups = [ "vagrant" ];
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ];
}
];
}
];
boot.loader = {
systemd-boot = {
enable = true;
};
efi.canTouchEfiVariables = true;
};
networking = {
hostName = "vagrant";
networkmanager.enable = true;
#proxy.default = "http://user:password@proxy:port/";
#proxy.noProxy = "127.0.0.1,localhost,internal.domain";
};
time.timeZone = "UTC";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminux16";
keyMap = lib.mkForce "us";
useXkbConfig = true;
};
boot.loader = {
systemd-boot = {
enable = true;
};
efi.canTouchEfiVariables = true;
};
networking = {
hostName = "vagrant";
networkmanager.enable = true;
#proxy.default = "http://user:password@proxy:port/";
#proxy.noProxy = "127.0.0.1,localhost,internal.domain";
};
time.timeZone = "UTC";
nix = {
package = pkgs.nixFlakes;
settings = {
experimental-features = "nix-command flakes";
};
};
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminux16";
keyMap = lib.mkForce "us";
useXkbConfig = true;
};
nix = {
package = pkgs.nixFlakes;
settings = {
experimental-features = "nix-command flakes";
};
};
}
+12 -11
View File
@@ -1,15 +1,16 @@
{
description = "A basic NixOS Vagrant install";
description = "A basic NixOS Vagrant install";
inputs = {
nixstable.url = "github:nixos/nixpkgs/nixos-23.11";
};
inputs = {
nixstable.url = "github:nixos/nixpkgs/nixos-23.11";
};
outputs = { nixstable, self, ... }@inputs:
{
nixosConfigurations.vagrant = nixstable.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./configuration.nix ];
};
};
outputs =
{ nixstable, self, ... }@inputs:
{
nixosConfigurations.vagrant = nixstable.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./configuration.nix ];
};
};
}
-1
View File
@@ -1 +0,0 @@
ga-qemu.nix
+4
View File
@@ -0,0 +1,4 @@
{ ... }:
{
services.qemuGuest.enable = true;
}
+3 -3
View File
@@ -1,4 +1,4 @@
{...}:
{ ... }:
{
virtualisation.hypervGuest.enable = true;
}
virtualisation.hypervGuest.enable = true;
}
+6 -6
View File
@@ -1,7 +1,7 @@
{...}:
{ ... }:
{
virtualisation.virtualbox.guest = {
enable = true;
x11 = false;
};
}
virtualisation.virtualbox.guest = {
enable = true;
x11 = false;
};
}
+3 -3
View File
@@ -1,4 +1,4 @@
{...}:
{ ... }:
{
services.qemuGuest.enable = true;
}
services.qemuGuest.enable = true;
}
+68 -60
View File
@@ -1,67 +1,75 @@
{config, pkgs, lib, ...}:
{
config,
pkgs,
lib,
...
}:
{
imports = [
./hardware-configuration.nix
./guest-agent.nix
];
imports = [
./hardware-configuration.nix
./guest-agent.nix
];
system.stateVersion = "24.05";
system.stateVersion = "24.05";
# Packages installed on the whole system
environment.systemPackages = with pkgs; [
curl
nano
python3
];
# Services that are running
services = {
openssh.enable = true;
#xserver.enable = true;
};
# User setup
users.groups.vagrant = {};
users.users.vagrant = {
isNormalUser = true;
group = "vagrant";
extraGroups = [ "wheel" ];
password = "vagrant";
};
security.sudo.extraRules = [
{
users = [ "vagrant" ];
groups = [ "vagrant" ];
commands = [
{ command = "ALL"; options = [ "NOPASSWD" ]; }
];
}
];
# Packages installed on the whole system
environment.systemPackages = with pkgs; [
curl
nano
python3
];
# Services that are running
services = {
openssh.enable = true;
#xserver.enable = true;
};
# User setup
users.groups.vagrant = { };
users.users.vagrant = {
isNormalUser = true;
group = "vagrant";
extraGroups = [ "wheel" ];
password = "vagrant";
};
security.sudo.extraRules = [
{
users = [ "vagrant" ];
groups = [ "vagrant" ];
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ];
}
];
}
];
boot.loader = {
systemd-boot = {
enable = true;
};
efi.canTouchEfiVariables = true;
};
networking = {
hostName = "vagrant";
networkmanager.enable = true;
#proxy.default = "http://user:password@proxy:port/";
#proxy.noProxy = "127.0.0.1,localhost,internal.domain";
};
time.timeZone = "UTC";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminux16";
keyMap = lib.mkForce "us";
useXkbConfig = true;
};
boot.loader = {
systemd-boot = {
enable = true;
};
efi.canTouchEfiVariables = true;
};
networking = {
hostName = "vagrant";
networkmanager.enable = true;
#proxy.default = "http://user:password@proxy:port/";
#proxy.noProxy = "127.0.0.1,localhost,internal.domain";
};
time.timeZone = "UTC";
nix = {
package = pkgs.nixFlakes;
settings = {
experimental-features = "nix-command flakes";
};
};
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminux16";
keyMap = lib.mkForce "us";
useXkbConfig = true;
};
nix = {
package = pkgs.nixFlakes;
settings = {
experimental-features = "nix-command flakes";
};
};
}
+12 -11
View File
@@ -1,15 +1,16 @@
{
description = "A basic NixOS Vagrant install";
description = "A basic NixOS Vagrant install";
inputs = {
nixstable.url = "github:nixos/nixpkgs/nixos-24.05";
};
inputs = {
nixstable.url = "github:nixos/nixpkgs/nixos-24.05";
};
outputs = { nixstable, self, ... }@inputs:
{
nixosConfigurations.vagrant = nixstable.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./configuration.nix ];
};
};
outputs =
{ nixstable, self, ... }@inputs:
{
nixosConfigurations.vagrant = nixstable.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./configuration.nix ];
};
};
}
-1
View File
@@ -1 +0,0 @@
ga-qemu.nix
+4
View File
@@ -0,0 +1,4 @@
{ ... }:
{
services.qemuGuest.enable = true;
}
+3 -3
View File
@@ -1,4 +1,4 @@
{...}:
{ ... }:
{
virtualisation.hypervGuest.enable = true;
}
virtualisation.hypervGuest.enable = true;
}
+4 -4
View File
@@ -1,6 +1,6 @@
{...}:
{ ... }:
{
virtualisation.virtualbox.guest = {
enable = true;
};
virtualisation.virtualbox.guest = {
enable = true;
};
}
+3 -3
View File
@@ -1,4 +1,4 @@
{...}:
{ ... }:
{
services.qemuGuest.enable = true;
}
services.qemuGuest.enable = true;
}
+17 -13
View File
@@ -1,13 +1,17 @@
[ {
version = "23.05";
arch = "amd64";
eol = true;
} {
version = "23.11";
arch = "amd64";
eol = true;
} {
version = "24.05";
arch = "amd64";
eol = false;
} ]
[
{
version = "23.05";
arch = "amd64";
eol = true;
}
{
version = "23.11";
arch = "amd64";
eol = true;
}
{
version = "24.05";
arch = "amd64";
eol = false;
}
]
+22 -17
View File
@@ -1,17 +1,22 @@
[ {
version = "15.5";
arch = "amd64";
eol = false;
} {
version = "15.6";
arch = "amd64";
eol = false;
} {
version = "16.0";
arch = "amd64";
eol = true; # Not yet released, and bugged at the moment
} {
version = "tumbleweed";
arch = "amd64";
eol = false;
} ]
[
{
version = "15.5";
arch = "amd64";
eol = false;
}
{
version = "15.6";
arch = "amd64";
eol = false;
}
{
version = "16.0";
arch = "amd64";
eol = true; # Not yet released, and bugged at the moment
}
{
version = "tumbleweed";
arch = "amd64";
eol = false;
}
]
+12 -9
View File
@@ -1,9 +1,12 @@
[ {
version = "8";
arch = "amd64";
eol = true;
} {
version = "9";
arch = "amd64";
eol = false;
} ]
[
{
version = "8";
arch = "amd64";
eol = true;
}
{
version = "9";
arch = "amd64";
eol = false;
}
]
+32 -25
View File
@@ -1,25 +1,32 @@
[ {
version = "18.04";
arch = "amd64";
eol = true;
} {
version = "20.04";
arch = "amd64";
eol = false;
} {
version = "22.04";
arch = "amd64";
eol = false;
} {
version = "23.10";
arch = "amd64";
eol = true;
} {
version = "24.04";
arch = "amd64";
eol = false;
} {
version = "24.10";
arch = "amd64";
eol = false;
} ]
[
{
version = "18.04";
arch = "amd64";
eol = true;
}
{
version = "20.04";
arch = "amd64";
eol = false;
}
{
version = "22.04";
arch = "amd64";
eol = false;
}
{
version = "23.10";
arch = "amd64";
eol = true;
}
{
version = "24.04";
arch = "amd64";
eol = false;
}
{
version = "24.10";
arch = "amd64";
eol = false;
}
]