Compare commits

..

No commits in common. "d7d81564e3192055c16fb4620022ba4ee8710ea8" and "71352b788f58fed7a48f9bf7f542c14d8c3aa460" have entirely different histories.

1 changed files with 6 additions and 57 deletions

View File

@ -8,7 +8,6 @@
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
<home-manager/nixos>
]; ];
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
@ -26,46 +25,8 @@
wget wget
]; ];
home-manager.useGlobalPkgs = true; #hardware.pulseaudio.enable = true;
home-manager.users.eliribble = { config, pkgs, ... }: {
imports = [
<plasma-manager/modules>
];
home.homeDirectory = "/home/eliribble";
home.stateVersion = "24.11";
home.username = "eliribble";
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting # Disable greeting
'';
};
programs.plasma = {
enable = true;
kscreenlocker = {
autoLock = false;
lockOnResume = false;
passwordRequired = false;
timeout = 0;
};
powerdevil = {
AC = {
autoSuspend = {
action = "nothing";
idleTimeout = null;
};
dimDisplay = {
enable = true;
idleTimeout = 600;
};
inhibitLidActionWhenExternalMonitorConnected = true;
turnOffDisplay = {
idleTimeout = "never";
};
};
};
};
};
# Select internationalisation properties. # Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";
@ -83,20 +44,20 @@
programs.neovim.enable = true; programs.neovim.enable = true;
programs.neovim.defaultEditor = true; programs.neovim.defaultEditor = true;
programs.steam = { programs.steam = {
dedicatedServer.openFirewall = true;
enable = true; enable = true;
remotePlay.openFirewall = true; remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
}; };
# Enable the KDE Plasma Desktop Environment # Enable the KDE Plasma Desktop Environment
services.desktopManager.plasma6.enable = true; services.desktopManager.plasma6.enable = true;
services.displayManager.sddm.enable = true; services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
services.displayManager.autoLogin = { services.displayManager.autoLogin = {
enable = true; enable = true;
user = "eliribble"; user = "eliribble";
}; };
services.displayManager.sddm.wayland.enable = true;
services.openssh.enable = true; services.openssh.enable = true;
services.sunshine = { services.sunshine = {
@ -107,18 +68,7 @@
}; };
systemd.network.enable = true; systemd.network.enable = true;
systemd.network.wait-online.enable = false; systemd.network.wait-online.enable = true;
systemd.user.services.steam = {
enable = true;
description = "Open Steam in the background at boot";
serviceConfig = {
ExecStart = "${pkgs.steam}/bin/steam -nochatui -nofriendsui -silent %U";
wantedBy = [ "graphical-session.target" ];
Restart = "on-failure";
RestartSec = "5s";
};
};
# Set your time zone. # Set your time zone.
time.timeZone = "America/Phoenix"; time.timeZone = "America/Phoenix";
@ -126,11 +76,10 @@
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.eliribble = { users.users.eliribble = {
isNormalUser = true; isNormalUser = true;
initialPassword = "let_eliribble_in";
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "wheel" ]; # Enable sudo for the user.
}; };
xdg.autostart.enable = true;
# This option defines the first version of NixOS you have installed on this particular machine, # 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. # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
# #