Factorio + some refactoring
This commit is contained in:
parent
70e37a959e
commit
ae4a5f6886
6 changed files with 12 additions and 14 deletions
14
flake.nix
14
flake.nix
|
@ -4,12 +4,6 @@
|
|||
# https://grahamc.com/blog/erase-your-darlings/
|
||||
# https://github.com/Misterio77/nix-starter-configs
|
||||
|
||||
## Build System
|
||||
# sudo rm -rf /etc/nixos/ && sudo cp ./ /etc/nixos/ && sudo nixos-rebuild switch
|
||||
|
||||
## Build Iso
|
||||
# nix build -L .#packages.x86_64-linux.ll-nixos-full-iso
|
||||
|
||||
## Update Packages
|
||||
# nix flake update
|
||||
|
||||
|
@ -20,7 +14,6 @@
|
|||
# https://github.com/nix-community/home-manager/issues/3415
|
||||
|
||||
## Declarative Disk Partioning
|
||||
# https://github.com/nix-community/disko
|
||||
# https://github.com/nix-community/nixos-anywhere-examples/blob/main/configuration.nix
|
||||
|
||||
{
|
||||
|
@ -55,8 +48,11 @@
|
|||
locale = "en_US.UTF-8";
|
||||
stateVersion = "24.11";
|
||||
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
pkgs-unstable = import nixpkgs-unstable { inherit system; };
|
||||
pkgs = import nixpkgs {inherit system; };
|
||||
pkgs-unstable = import nixpkgs-unstable {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
iso_modules = [
|
||||
"${nixpkgs}/nixos/modules/installer/cd-dvd/iso-image.nix"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue