init
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ config, lib, pkgs, user, allowed, secrets, rice, nvidia, ... }:
|
{ config, lib, pkgs, user, host, allowed, secrets, rice, nvidia, ... }:
|
||||||
let
|
let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -67,6 +67,7 @@ in
|
|||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ntfs3g
|
ntfs3g
|
||||||
|
btrfs-progs
|
||||||
git
|
git
|
||||||
git-crypt
|
git-crypt
|
||||||
wget
|
wget
|
||||||
|
|||||||
@@ -79,7 +79,14 @@
|
|||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
];
|
];
|
||||||
specialArgs = { inherit user pkgs-unstable allowed secrets rice nvidia; };
|
specialArgs = let host = "NxXPS"; in { inherit user host pkgs-unstable allowed secrets rice nvidia; };
|
||||||
|
};
|
||||||
|
NxNORTH = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
modules = [
|
||||||
|
./configuration.nix
|
||||||
|
];
|
||||||
|
specialArgs = let host = "NxNORTH"; in { inherit user host pkgs-unstable allowed secrets rice nvidia; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, lib, user, pkgs, modulesPath, ... }:
|
{ config, lib, user, host, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -19,10 +19,10 @@
|
|||||||
device = "/dev/disk/by-label/EFI";
|
device = "/dev/disk/by-label/EFI";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
fileSystems."/home/${user}/shared" = {
|
#fileSystems."/home/${user}/shared" = if {
|
||||||
device = "/dev/disk/by-label/shared";
|
# device = "/dev/disk/by-label/shared";
|
||||||
fsType = "ntfs";
|
# fsType = if host == "NxXPS" then "ntfs" else "btrfs";
|
||||||
};
|
#};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{ device = "/dev/disk/by-label/swap"; }
|
{ device = "/dev/disk/by-label/swap"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user