Compare commits
No commits in common. "d444b47af8b9132963fd7feaff173333c212a903" and "29c40709fe3915d3edb43c8926cb77d10e68658c" have entirely different histories.
d444b47af8
...
29c40709fe
@ -13,14 +13,6 @@
|
||||
|
||||
smayzy.virt.enable = true;
|
||||
|
||||
smayzy.nh.enable = true;
|
||||
|
||||
smayzy.locales.enable = true;
|
||||
|
||||
smayzy.nvf.enable = true;
|
||||
|
||||
smayzy.audio.enable = true;
|
||||
|
||||
users.users.smayzy = {
|
||||
isNormalUser = true;
|
||||
description = "smayzy";
|
||||
|
||||
@ -1,14 +1,5 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.locales.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "set my locales & TZ";
|
||||
};
|
||||
config = mkIf config.smayzy.locales.enable {
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "fr_FR.UTF-8";
|
||||
@ -21,5 +12,4 @@ in
|
||||
LC_TELEPHONE = "fr_FR.UTF-8";
|
||||
};
|
||||
time.timeZone = "Europe/Paris";
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,20 +1,9 @@
|
||||
{ config, lib, pkgs, ...}:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.nh.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "use nh";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.nh.enable {
|
||||
programs.nh = {
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep 10";
|
||||
flake = "/home/smayzy/nix-config";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,16 +1,6 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.nvf.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "nvf config";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.nvf.enable {
|
||||
programs.nvf = {
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
vim = {
|
||||
@ -39,5 +29,4 @@ in
|
||||
environment.systemPackages = [
|
||||
pkgs.nil
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,15 +1,5 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.audio.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "audio settings";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.audio.enable {
|
||||
services.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
@ -18,5 +8,4 @@ in
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user