mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-06 21:09:22 +02:00
run nix fmt
This commit is contained in:
parent
eab8e4b1d8
commit
d5cbe31c02
61 changed files with 1299 additions and 830 deletions
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, config, nixos-hardware, ... }:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
nixos-hardware,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -10,7 +15,9 @@
|
|||
];
|
||||
|
||||
jopejoe1 = {
|
||||
audio = { enable = true; };
|
||||
audio = {
|
||||
enable = true;
|
||||
};
|
||||
bluetooth.enable = true;
|
||||
local.enable = true;
|
||||
nix.enable = true;
|
||||
|
@ -60,9 +67,7 @@
|
|||
settings = {
|
||||
server = {
|
||||
systemTrayEnabled = true;
|
||||
extensionRepos = [
|
||||
"https://raw.githubusercontent.com/keiyoushi/extensions/repo/index.min.json"
|
||||
];
|
||||
extensionRepos = [ "https://raw.githubusercontent.com/keiyoushi/extensions/repo/index.min.json" ];
|
||||
webUIEnabled = true;
|
||||
initialOpenInBrowserEnabled = true;
|
||||
webUIInterface = "browser";
|
||||
|
@ -103,6 +108,10 @@
|
|||
networking.hosts = {
|
||||
"192.168.88.251" = [ "wiki.it3" ];
|
||||
"192.168.88.252" = [ "pi400" ];
|
||||
"127.0.0.1" = [ "local" "rss.local" "manga.local" ];
|
||||
"127.0.0.1" = [
|
||||
"local"
|
||||
"rss.local"
|
||||
"manga.local"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ config, lib, modulesPath, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
@ -22,11 +27,9 @@
|
|||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[{ device = "/dev/disk/by-uuid/8569ee66-b939-4ce8-a94a-dca7df5e301b"; }];
|
||||
swapDevices = [ { device = "/dev/disk/by-uuid/8569ee66-b939-4ce8-a94a-dca7df5e301b"; } ];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
hardware.cpu.intel.updateMicrocode =
|
||||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue