mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-02-07 09:52:50 +00:00
Initial commit
This commit is contained in:
commit
986322b7c4
1 changed files with 119 additions and 0 deletions
119
hosts/qemu/configuration.nix
Normal file
119
hosts/qemu/configuration.nix
Normal file
|
@ -0,0 +1,119 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
# efi.efiSysMountPoint = "/boot/efi";
|
||||
grub = {
|
||||
enable = true;
|
||||
device = "/dev/sda"; # or "nodev" for efi only
|
||||
# efiSupport = true;
|
||||
# efiInstallAsRemovable = true;
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "gayfurries";
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
time.timeZone = "America/New_York";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
console = {
|
||||
font = "gr928-8x16-thin"; # t || https://adeverteuil.github.io/linux-console-fonts-screenshots/
|
||||
keyMap = "us";
|
||||
# useXkbConfig = true; # use xkb.options in tty.
|
||||
};
|
||||
|
||||
programs = {
|
||||
firefox.enable = true;
|
||||
fish.enable = true;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
# X11
|
||||
xserver = {
|
||||
enable = true;
|
||||
xkb.layout = "us";
|
||||
windowManager = {
|
||||
i3.enable = true;
|
||||
};
|
||||
};
|
||||
displayManager = {
|
||||
sddm.enable = true;
|
||||
defaultSession = "plasmax11";
|
||||
};
|
||||
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;
|
||||
};
|
||||
|
||||
users.users.rae = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
hashedPassword = "$y$j9T$YPq.Kl8rss1JmJ5Vg6cHE/$2kdfzCkkhaO.I4u714EQnS/ZFert5byisiRVxtC.9G2";
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# system tools
|
||||
btop
|
||||
ffmpeg
|
||||
git
|
||||
gparted
|
||||
hyfetch
|
||||
imagemagick
|
||||
xclip
|
||||
yt-dlp
|
||||
# text editors
|
||||
helix
|
||||
vscodium
|
||||
# misc
|
||||
uxn
|
||||
];
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
system.copySystemConfiguration = true;
|
||||
|
||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
||||
#
|
||||
# Most users should NEVER change this value after the initial install, for any reason,
|
||||
# even if you've upgraded your system to a new NixOS release.
|
||||
#
|
||||
# This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
|
||||
# so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how
|
||||
# to actually do that.
|
||||
#
|
||||
# This value being lower than the current NixOS release does NOT mean your system is
|
||||
# out of date, out of support, or vulnerable.
|
||||
#
|
||||
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
|
||||
# and migrated your data accordingly.
|
||||
#
|
||||
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||
system.stateVersion = "24.11"; # Did you read the comment?
|
||||
}
|
Loading…
Reference in a new issue