ran nixpkgs-fmt

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-12-08 01:11:53 +05:30
parent aaf19ee844
commit e6cb5b2615
18 changed files with 87 additions and 75 deletions

View File

@@ -59,7 +59,8 @@ let
}; };
}; };
}); });
in { in
{
options.age = { options.age = {
secrets = mkOption { secrets = mkOption {

View File

@@ -24,11 +24,13 @@
target = "${xdg.configHome}/mpv/mpv.conf"; target = "${xdg.configHome}/mpv/mpv.conf";
}; };
packages = { packages = {
text = let text =
let
packages = builtins.map (p: "${p.name}") config.home.packages; packages = builtins.map (p: "${p.name}") config.home.packages;
sortedUnique = builtins.sort builtins.lessThan (lib.unique packages); sortedUnique = builtins.sort builtins.lessThan (lib.unique packages);
formatted = builtins.concatStringsSep "\n" sortedUnique; formatted = builtins.concatStringsSep "\n" sortedUnique;
in formatted; in
formatted;
target = "${xdg.configHome}/${config.home.username}-packages"; target = "${xdg.configHome}/${config.home.username}-packages";
}; };
}; };

View File

@@ -5,12 +5,14 @@
{ {
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-label/NIXOS_SD"; {
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/nix/store" = fileSystems."/nix/store" =
{ device = "/nix/store"; {
device = "/nix/store";
fsType = "none"; fsType = "none";
options = [ "bind" ]; options = [ "bind" ];
}; };

View File

@@ -6,9 +6,14 @@
allowedTCPPorts = [ allowedTCPPorts = [
22 # ssh 22 # ssh
80 # http 80 # http
6060 4444 5454 8080 #???? 6060
4444
5454
8080 #????
5001 #gitea 5001 #gitea
8800 4646 8500 #vault nomad consul 8800
4646
8500 #vault nomad consul
8888 #simpler-filehost1 8888 #simpler-filehost1
6666 #concourse 6666 #concourse
202 #gitea-ssh 202 #gitea-ssh

View File

@@ -2,11 +2,13 @@
{ {
imports = imports =
[ (modulesPath + "/profiles/qemu-guest.nix") [
(modulesPath + "/profiles/qemu-guest.nix")
]; ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/d91adce2-9059-4a8a-86e7-dee6ecc85b2b"; {
device = "/dev/disk/by-uuid/d91adce2-9059-4a8a-86e7-dee6ecc85b2b";
fsType = "ext4"; fsType = "ext4";
}; };

View File

@@ -1,4 +1,3 @@
{ config, lib, ... }: { config, lib, ... }:
#let #let

View File

@@ -1,6 +1,7 @@
final: prev: final: prev:
let let
call = prev.callPackage; in call = prev.callPackage;
in
{ {
customscripts = call ./customscripts { }; customscripts = call ./customscripts { };
tlauncher = call ./tlauncher { }; tlauncher = call ./tlauncher { };