1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-31 15:03:37 +00:00
.dotfiles/nixos/base.nix

81 lines
1.8 KiB
Nix
Raw Normal View History

2024-12-18 21:38:29 +00:00
{ pkgs, ... }:
2024-12-17 20:50:18 +00:00
{
imports = [
./packages.nix
];
nix.settings.experimental-features = ["nix-command" "flakes"];
2024-12-18 06:14:25 +00:00
nixpkgs.config.allowUnfree = true;
2024-12-17 20:50:18 +00:00
networking.networkmanager.enable = true;
programs = {
dconf.enable = true;
firefox.enable = true;
fish.enable = true;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
services = {
# X11
xserver = {
enable = true;
xkb.layout = "us";
windowManager = {
openbox.enable = true;
twm.enable = true;
};
desktopManager = {
pantheon.enable = true;
};
};
displayManager = {
sddm = {
enable = true;
settings = {
Autologin = {
User = "rae";
Session = "none+openbox";
};
};
};
};
# desktopManager = {
# plasma6.enable = true;
# };
# Touchpad support
libinput.enable = true;
# OpenSSH
openssh.enable = true;
# Sound
pipewire = {
enable = true;
pulse.enable = true;
};
# CUPS printing
printing.enable = true;
};
fonts = {
enableDefaultPackages = true;
packages = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
fira-code
gohufont
];
};
users.users.rae = {
isNormalUser = true;
extraGroups = [ "wheel" ];
hashedPassword = "$y$j9T$YPq.Kl8rss1JmJ5Vg6cHE/$2kdfzCkkhaO.I4u714EQnS/ZFert5byisiRVxtC.9G2";
shell = pkgs.fish;
};
}