Compare commits
No commits in common. "53cad0277104c1e88642396f927bf8c3a1f0603c" and "581025d19b245d6f67a2b1729391316a5ea26e56" have entirely different histories.
53cad02771
...
581025d19b
@ -4,13 +4,19 @@
|
|||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
../../modules/nix/default.nix
|
../../modules/nix/audio/pipewire.nix
|
||||||
];
|
../../modules/nix/locales.nix
|
||||||
|
../../modules/nix/hardware/grub.nix
|
||||||
|
../../modules/nix/base-cli/nvf.nix
|
||||||
|
../../modules/nix/base-cli/nh.nix
|
||||||
|
];
|
||||||
|
|
||||||
smayzy.virt.enable = true;
|
smayzy.virt.enable = true;
|
||||||
|
|
||||||
smayzy.nh.enable = true;
|
smayzy.nh.enable = true;
|
||||||
|
|
||||||
|
smayzy.locales.enable = true;
|
||||||
|
|
||||||
smayzy.nvf.enable = true;
|
smayzy.nvf.enable = true;
|
||||||
|
|
||||||
smayzy.audio.enable = true;
|
smayzy.audio.enable = true;
|
||||||
|
|||||||
@ -5,6 +5,8 @@
|
|||||||
[
|
[
|
||||||
../common/common.nix
|
../common/common.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
../../modules/nix/hardware/nvidia.nix
|
||||||
|
../../modules/nix/virt.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
smayzy.nvidia.enable = true;
|
smayzy.nvidia.enable = true;
|
||||||
|
|||||||
@ -1,6 +0,0 @@
|
|||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./pipewire.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./nh.nix
|
|
||||||
./nvf.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./audio
|
|
||||||
./base-cli
|
|
||||||
./hardware
|
|
||||||
./virt
|
|
||||||
];
|
|
||||||
|
|
||||||
# Timzone and locales (same for all machines so I put it here)
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
time.timeZone = "Europe/Paris";
|
|
||||||
}
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./nvidia.nix
|
|
||||||
./grub.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
25
modules/nix/locales.nix
Normal file
25
modules/nix/locales.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ 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";
|
||||||
|
LC_IDENTIFICATION = "fr_FR.UTF-8";
|
||||||
|
LC_MEASUREMENT = "fr_FR.UTF-8";
|
||||||
|
LC_MONETARY = "fr_FR.UTF-8";
|
||||||
|
LC_NAME = "fr_FR.UTF-8";
|
||||||
|
LC_NUMERIC = "fr_FR.UTF-8";
|
||||||
|
LC_PAPER = "fr_FR.UTF-8";
|
||||||
|
LC_TELEPHONE = "fr_FR.UTF-8";
|
||||||
|
};
|
||||||
|
time.timeZone = "Europe/Paris";
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -1,6 +0,0 @@
|
|||||||
{ lib, config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./qemu.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user