1755718461
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
|
||||
{
|
||||
environment.shellAliases = {
|
||||
# Help command - shows all available nix commands
|
||||
"nix:help" = "echo '\n🔧 NixOS Configuration Commands:\n\n📋 Basic Operations:\n nix:rebuild - Rebuild and switch to new configuration\n nix:conf:edit - Edit the main configuration file\n nix:conf:sync - Sync local config to /etc/nixos/ without rebuild\n\n📝 Module Editing:\n nix:edit:boot - Edit boot configuration\n nix:edit:net - Edit networking configuration\n nix:edit:desktop - Edit desktop configuration\n nix:edit:audio - Edit audio configuration\n nix:edit:users - Edit user configuration\n nix:edit:pkgs - Edit packages configuration\n nix:edit:programs - Edit programs configuration\n nix:edit:hardware - Edit hardware configuration\n nix:edit:services - Edit services configuration\n nix:edit:aliases - Edit aliases configuration\n\n🔄 Git Operations:\n nix:conf:push - Copy config to /etc/nixos/, commit changes, and push to remote\n nix:conf:pull - Pull latest changes from remote and sync to /etc/nixos/\n\n💡 Use nix:help to see this list anytime!\n'";
|
||||
|
||||
# Basic operations
|
||||
"nix:rebuild" = "sudo nixos-rebuild switch";
|
||||
"nix:conf:edit" = "sudo nano ~/Developer/lavitz/configuration.nix";
|
||||
|
||||
@@ -1,19 +1,17 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Enable sound with pipewire
|
||||
# Pulse Audio
|
||||
services.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
|
||||
# Pipewire
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#jack.enable = true;
|
||||
|
||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||
# no need to redefine it in your config for now)
|
||||
#media-session.enable = true;
|
||||
media-session.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -16,7 +16,4 @@
|
||||
|
||||
# Enable CUPS to print documents
|
||||
services.printing.enable = true;
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager)
|
||||
# services.xserver.libinput.enable = true;
|
||||
}
|
||||
@@ -1,13 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Networking configuration
|
||||
networking.hostName = "lavitz"; # Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
networking.hostName = "lavitz";
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
@@ -15,6 +9,4 @@
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
}
|
||||
@@ -16,7 +16,7 @@ in
|
||||
environment.systemPackages =
|
||||
# Packages from the stable channel (pkgs)
|
||||
with pkgs; [
|
||||
# Browsers and communication
|
||||
# Browsers and comms
|
||||
ungoogled-chromium
|
||||
discord
|
||||
signal-desktop-bin
|
||||
@@ -61,7 +61,7 @@ in
|
||||
# GNOME extensions
|
||||
gnomeExtensions.appindicator
|
||||
]
|
||||
# Packages from the unstable channel (unstablePkgs)
|
||||
# Unstable packages
|
||||
++ (with unstablePkgs; [
|
||||
onlyoffice-desktopeditors
|
||||
]);
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
# Steam
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
localNetworkGameTransfers.openFirewall = true;
|
||||
};
|
||||
|
||||
programs.noisetorch.enable = true;
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Define groups
|
||||
# Groups
|
||||
users.groups.plugdev = {
|
||||
gid = 69420;
|
||||
};
|
||||
|
||||
# Define a user account. Don't forget to set a password with 'passwd'.
|
||||
# User Accounts
|
||||
users.users.atridad = {
|
||||
isNormalUser = true;
|
||||
description = "Atridad";
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" "plugdev" ];
|
||||
packages = with pkgs; [
|
||||
# thunderbird
|
||||
thunderbird
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user