Add shared minimal profile
This commit is contained in:
parent
6156bf3f47
commit
3822106665
3 changed files with 24 additions and 20 deletions
|
|
@ -1,19 +1,10 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = [
|
imports = [
|
||||||
pkgs.vim
|
../profiles/minimal.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nix = {
|
|
||||||
channel.enable = false;
|
|
||||||
package = pkgs.lixPackageSets.stable.lix;
|
|
||||||
settings.experimental-features = [
|
|
||||||
"nix-command"
|
|
||||||
"flakes"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.darwinConfig = "/Users/${config.system.primaryUser}/Development/systems";
|
environment.darwinConfig = "/Users/${config.system.primaryUser}/Development/systems";
|
||||||
|
|
||||||
system.primaryUser = "pml";
|
system.primaryUser = "pml";
|
||||||
|
|
|
||||||
|
|
@ -16,13 +16,9 @@ in
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
./persephone/hardware.nix
|
./persephone/hardware.nix
|
||||||
./persephone/networking.nix
|
./persephone/networking.nix
|
||||||
|
../profiles/minimal.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.package = pkgs.lixPackageSets.stable.lix;
|
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
|
||||||
(import ../overlays)
|
|
||||||
];
|
|
||||||
# FILE SYSTEM
|
# FILE SYSTEM
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
|
|
@ -216,10 +212,6 @@ in
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
experimental-features = [
|
|
||||||
"nix-command"
|
|
||||||
"flakes"
|
|
||||||
];
|
|
||||||
substituters = [ "https://cache.nixos-cuda.org" ];
|
substituters = [ "https://cache.nixos-cuda.org" ];
|
||||||
trusted-public-keys = [ "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ];
|
trusted-public-keys = [ "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
21
profiles/minimal.nix
Normal file
21
profiles/minimal.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
git
|
||||||
|
vim
|
||||||
|
];
|
||||||
|
|
||||||
|
nix.package = pkgs.lixPackageSets.stable.lix;
|
||||||
|
|
||||||
|
nix.settings = {
|
||||||
|
experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(import ../overlays)
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue