Richie Cahill e5daa66460
added configuration.nix hardware.nix and programs.nix (#120)
* added configuration.nix hardware.nix and programs.nix

* updated boot setings

* added docker

* added default.nix

* updated .sops.yaml

* nix format

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* fix breaking issues

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* WIP

* rhapsody_in_green

---------

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
Co-authored-by: ahuston-0 <aliceghuston@gmail.com>
Co-authored-by: Your Name <you@example.com>
2024-04-03 19:08:36 -04:00

94 lines
1.7 KiB
Nix

{ config, pkgs, ... }:
{
imports = [
../programs.nix
./hardware.nix
];
nixpkgs.config.allowUnfree = true;
boot = {
useSystemdBoot = true;
default = true;
};
networking = {
networkmanager.enable = true;
};
time.timeZone = "America/New_York";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
sound.enable = true;
services = {
xserver.enable = true;
xserver.displayManager.sddm.enable = true;
xserver.desktopManager.plasma5.enable = true;
xserver.xkb = {
layout = "us";
variant = "";
};
openssh.enable = true;
printing.enable = true;
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
};
users.users.richie = {
isNormalUser = true;
description = "richie";
extraGroups = [
"networkmanager"
"wheel"
];
packages = with pkgs; [
firefox
kate
];
};
virtualisation = {
docker = {
enable = true;
recommendedDefaults = true;
logDriver = "local";
storageDriver = "overlay2";
daemon."settings" = {
experimental = true;
exec-opts = [ "native.cgroupdriver=systemd" ];
log-opts = {
max-size = "10m";
max-file = "5";
};
};
};
};
system.stateVersion = "23.11";
}