Updated User Annette & Packages

This commit is contained in:
zonsopkomst 2023-09-27 19:56:40 -05:00
parent 691b9c559d
commit de677a8d3a
4 changed files with 82 additions and 1 deletions

View file

@ -0,0 +1,39 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "sintanne"; # Define your hostname.
users.users.annette = {
isNormalUser = true;
description = "annette";
extraGroups = ["docker" "networkmanager" "wheel" ];
packages = with pkgs; [
firefox
];
};
# Enable automatic login for the user.
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "annette";
# Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
# DO NOT EDIT
system.stateVersion = "23.05";
}

View file

@ -0,0 +1,40 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/f1c061a0-1f6e-45f7-bbf8-21d105ff323f";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/D9E9-7D2E";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/5aa55d95-ad01-4dd7-ae20-23d5f91fbc59"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp2s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -14,7 +14,7 @@
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "22.11";
home.stateVersion = "23.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;

View file

@ -4,11 +4,13 @@
home-manager.users.annette = { pkgs, ... }: {
home.packages = with pkgs; [
bleachbit # PC Cleaner
brave # Browser
easytag # Music Tag Editor
kitty # Terminal Emulator
mpv # Media Player
nomachine-client # NoMachine remote desktop client (nxplayer)
onlyoffice-bin # Office Suite
retroarchFull # Multi-Platform Emulator
rustdesk # Remote Desktop Software
smplayer # Media Player
speedcrunch # Calculator