Factorio + some refactoring
This commit is contained in:
parent
70e37a959e
commit
ae4a5f6886
|
@ -1,5 +1,6 @@
|
||||||
{ pkgs, unstable, ... }: {
|
{ pkgs, pkgs-unstable, ... }: {
|
||||||
environment.systemPackages = with unstable; [
|
|
||||||
|
environment.systemPackages = with pkgs-unstable; [
|
||||||
(factorio.override {
|
(factorio.override {
|
||||||
username = "";
|
username = "";
|
||||||
token = "";
|
token = "";
|
||||||
|
|
|
@ -139,11 +139,11 @@
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-tEq3iB8LaBpgig/fDrM9uvcMkoyKj8nghUAcqa1vxe8=",
|
"narHash": "sha256-tEq3iB8LaBpgig/fDrM9uvcMkoyKj8nghUAcqa1vxe8=",
|
||||||
"path": "/nix/store/yhhsnncsi6azid2vaa7zkh9s7l3hlw0l-source/users/lauren_lagarde/home-manager",
|
"path": "/nix/store/wxpfil70w1hsbhzk4wh4smwhbwbqlwlh-source/users/lauren_lagarde/home-manager",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "/nix/store/yhhsnncsi6azid2vaa7zkh9s7l3hlw0l-source/users/lauren_lagarde/home-manager",
|
"path": "/nix/store/wxpfil70w1hsbhzk4wh4smwhbwbqlwlh-source/users/lauren_lagarde/home-manager",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
14
flake.nix
14
flake.nix
|
@ -4,12 +4,6 @@
|
||||||
# https://grahamc.com/blog/erase-your-darlings/
|
# https://grahamc.com/blog/erase-your-darlings/
|
||||||
# https://github.com/Misterio77/nix-starter-configs
|
# 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
|
## Update Packages
|
||||||
# nix flake update
|
# nix flake update
|
||||||
|
|
||||||
|
@ -20,7 +14,6 @@
|
||||||
# https://github.com/nix-community/home-manager/issues/3415
|
# https://github.com/nix-community/home-manager/issues/3415
|
||||||
|
|
||||||
## Declarative Disk Partioning
|
## Declarative Disk Partioning
|
||||||
# https://github.com/nix-community/disko
|
|
||||||
# https://github.com/nix-community/nixos-anywhere-examples/blob/main/configuration.nix
|
# https://github.com/nix-community/nixos-anywhere-examples/blob/main/configuration.nix
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -55,8 +48,11 @@
|
||||||
locale = "en_US.UTF-8";
|
locale = "en_US.UTF-8";
|
||||||
stateVersion = "24.11";
|
stateVersion = "24.11";
|
||||||
|
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs {inherit system; };
|
||||||
pkgs-unstable = import nixpkgs-unstable { inherit system; };
|
pkgs-unstable = import nixpkgs-unstable {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
|
|
||||||
iso_modules = [
|
iso_modules = [
|
||||||
"${nixpkgs}/nixos/modules/installer/cd-dvd/iso-image.nix"
|
"${nixpkgs}/nixos/modules/installer/cd-dvd/iso-image.nix"
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
# ll-latitude-e5591
|
# ll-latitude-e5591
|
||||||
../features/gpu/intel.nix
|
../features/gpu/intel.nix
|
||||||
../features/systemd-boot.nix
|
../features/systemd-boot.nix
|
||||||
|
../features/factorio.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 110fa225d48f599a7459c207e8fdb8d0f6f36d28
|
Subproject commit 2d878c34486115db6573e2da995e1572e36cd8ee
|
Loading…
Reference in New Issue