1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

chore: follow linter

This commit is contained in:
oddlama 2022-12-14 21:01:15 +01:00
parent 4db499a5d3
commit 63abd85eb0
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
7 changed files with 35 additions and 8 deletions

View file

@ -1,4 +1,4 @@
{config, ...}: {
{
fileSystems = {
"/" = {
device = "rpool/root/nixos";

View file

@ -1,4 +1,8 @@
{pkgs, ...}: {
{
pkgs,
config,
...
}: {
boot.supportedFilesystems = ["zfs"];
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;

View file

@ -20,7 +20,6 @@
packages = with pkgs; [
bandwhich
btop
colorcheck
fd
kalker
neofetch

View file

@ -22,6 +22,7 @@ with lib; {
#impermanence.home-manager.impermanence
./core
./dev
./modules
#]
#++ optionals config.programs.sway.enable [
# ./graphical

View file

@ -1,8 +1,4 @@
{
lib,
pkgs,
...
}: {
{pkgs, ...}: {
home = {
extraOutputsToInstall = ["doc" "devdoc"];
file.gdbinit = {

View file

@ -0,0 +1,5 @@
{
imports = [
./uid.nix
];
}

View file

@ -0,0 +1,22 @@
{
config,
lib,
...
}:
with lib; {
options = {
home.uid = mkOption {
type = types.int;
example = 1000;
description = "The user's uid.";
};
};
config = {
assertions = [
{
assertion = config.home.uid != "";
message = "UID could not be determined";
}
];
};
}