Compare commits

..

No commits in common. "565dfc28d7f17819d687b9e75108cbac587123c8" and "94e0c053b6f1947cbfbfd83f03ee057e9c0067a9" have entirely different histories.

7 changed files with 8 additions and 9 deletions

View file

@ -136,8 +136,8 @@
How to use config in an install: How to use config in an install:
Mount partitions. Mount partitions.
$ sudo nixos-install -v --root /mnt --flake "github:Whovian9369/whovian_nixos_config#CONFIG_NAME" $ sudo nixos-install -v --root /mnt --flake "github:Whovian9369/whovian_nixos_config#CONFIG_NAME"
Example for nixosConfigurations.piplup: Example for nixosConfigurations.my_nixos_vm:
$ sudo nixos-install -v --root /mnt --flake "github:Whovian9369/whovian_nixos_config#piplup" $ sudo nixos-install -v --root /mnt --flake "github:Whovian9369/whovian_nixos_config#my_nixos_vm"
*/ */
nixosConfigurations = { nixosConfigurations = {
@ -309,11 +309,11 @@
]; ];
}; };
piplup = nixpkgs.lib.nixosSystem { my_nixos_vm = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit rom-properties; }; specialArgs = { inherit rom-properties; };
modules = [ modules = [
./system/piplup/configuration.nix ./system/my_nixos_vm/configuration.nix
# ./system/dotnet_os_codename-workaround.nix # ./system/dotnet_os_codename-workaround.nix
# Source of this fix file is # Source of this fix file is
# https://github.com/nazarewk-iac/nix-configs # https://github.com/nazarewk-iac/nix-configs

View file

@ -122,7 +122,9 @@ in
pkgs.megatools pkgs.megatools
pkgs.ncdu pkgs.ncdu
pkgs.ndstool pkgs.ndstool
pkgs.nixfmt-rfc-style pkgs.nixfmt-classic
# nixfmt was renamed to nixfmt-classic.
# The nixfmt attribute may be used for the new RFC 166-style formatter in the future, which is currently available as nixfmt-rfc-style
pkgs.progress pkgs.progress
pkgs.pyrosimple pkgs.pyrosimple
pkgs.python3 pkgs.python3
@ -159,9 +161,6 @@ in
# Just use "nix shell nixpkgs#binutils -c strings -- INPUT" # Just use "nix shell nixpkgs#binutils -c strings -- INPUT"
pkgs.mpv pkgs.mpv
# Not needed on WSL # Not needed on WSL
pkgs.nixfmt-classic
# nixfmt was renamed to nixfmt-classic.
# The nixfmt attribute may be used for the new RFC 166-style formatter in the future, which is currently available as nixfmt-rfc-style
pkgs.p7zip pkgs.p7zip
# Replaced in favour of nixpkgs#_7zz # Replaced in favour of nixpkgs#_7zz
pkgs.rclone pkgs.rclone

View file

@ -14,7 +14,7 @@
./vmware.nix # VMWAre Guest Stuff ./vmware.nix # VMWAre Guest Stuff
]; ];
networking.hostName = "piplup"; networking.hostName = "my_nixos_vm";
# Enable nix flakes # Enable nix flakes
nix.settings.experimental-features = [ nix.settings.experimental-features = [