mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-07 07:09:15 +00:00
ref: merged nixos and macOS configuration
This commit is contained in:
parent
76632a9d1c
commit
fcba199e19
21 changed files with 35 additions and 12 deletions
49
nix/hosts/nixie/default.nix
Normal file
49
nix/hosts/nixie/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ pkgs, ... }: {
|
||||
system.stateVersion = "23.11";
|
||||
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
./age.nix
|
||||
./battery.nix
|
||||
./gui.nix
|
||||
./locale.nix
|
||||
./audio.nix
|
||||
./networking.nix
|
||||
./bluetooth.nix
|
||||
./packages.nix
|
||||
./virt.nix
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
|
||||
programs.fish.enable = true;
|
||||
security.sudo.extraConfig = "Defaults lecture = always";
|
||||
users.users.leana = {
|
||||
uid = 1000;
|
||||
shell = pkgs.fish;
|
||||
isNormalUser = true;
|
||||
description = "leana";
|
||||
extraGroups = [ "wheel" "video" "audio" "docker" ];
|
||||
packages = [ ];
|
||||
};
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 45d";
|
||||
};
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
substituters = [ "https://nix-community.cachix.org" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue