mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: central nixpkgs and nix
This commit is contained in:
parent
b4b0b44729
commit
db61149b70
12 changed files with 187 additions and 98 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ self, inputs, outputs, config, pkgs, lib, ... }:
|
||||
{ self, inputs, outputs, pkgs, lib, ... }:
|
||||
let
|
||||
profilesPath = "${self}/profiles";
|
||||
sharedOptions = {
|
||||
|
|
@ -39,13 +39,6 @@ in
|
|||
] ++ (builtins.attrValues outputs.nixosModules);
|
||||
|
||||
|
||||
nixpkgs = {
|
||||
overlays = [ outputs.overlays.default ];
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
curl
|
||||
git
|
||||
|
|
@ -78,6 +71,7 @@ in
|
|||
isCrypted = true;
|
||||
isSecureBoot = false;
|
||||
isSwap = true;
|
||||
isLinux = true;
|
||||
swapSize = "8G";
|
||||
# rootDisk = "/dev/nvme0n1";
|
||||
rootDisk = "/dev/vda";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue