Compare commits
3 commits
94e0c053b6
...
565dfc28d7
Author | SHA1 | Date | |
---|---|---|---|
565dfc28d7 | |||
5ea1b528d4 | |||
edf0e2bb3c |
7 changed files with 9 additions and 8 deletions
|
@ -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.my_nixos_vm:
|
Example for nixosConfigurations.piplup:
|
||||||
$ sudo nixos-install -v --root /mnt --flake "github:Whovian9369/whovian_nixos_config#my_nixos_vm"
|
$ sudo nixos-install -v --root /mnt --flake "github:Whovian9369/whovian_nixos_config#piplup"
|
||||||
*/
|
*/
|
||||||
|
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
@ -309,11 +309,11 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
my_nixos_vm = nixpkgs.lib.nixosSystem {
|
piplup = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = { inherit rom-properties; };
|
specialArgs = { inherit rom-properties; };
|
||||||
modules = [
|
modules = [
|
||||||
./system/my_nixos_vm/configuration.nix
|
./system/piplup/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
|
||||||
|
|
|
@ -122,9 +122,7 @@ in
|
||||||
pkgs.megatools
|
pkgs.megatools
|
||||||
pkgs.ncdu
|
pkgs.ncdu
|
||||||
pkgs.ndstool
|
pkgs.ndstool
|
||||||
pkgs.nixfmt-classic
|
pkgs.nixfmt-rfc-style
|
||||||
# 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
|
||||||
|
@ -161,6 +159,9 @@ 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
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
./vmware.nix # VMWAre Guest Stuff
|
./vmware.nix # VMWAre Guest Stuff
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "my_nixos_vm";
|
networking.hostName = "piplup";
|
||||||
|
|
||||||
# Enable nix flakes
|
# Enable nix flakes
|
||||||
nix.settings.experimental-features = [
|
nix.settings.experimental-features = [
|
Loading…
Reference in a new issue