Add in kde config

This commit is contained in:
Alex Davies 2024-04-25 12:28:13 -03:00
parent 892009fb9d
commit b7438f913f
3 changed files with 38 additions and 15 deletions

View File

@ -18,7 +18,7 @@
# Shameless plug: looking for a way to nixify your themes and make # Shameless plug: looking for a way to nixify your themes and make
# everything match nicely? Try nix-colors! # everything match nicely? Try nix-colors!
nix-colors.url = "github:misterio77/nix-colors"; # nix-colors.url = "github:misterio77/nix-colors";
}; };
outputs = { outputs = {

View File

@ -64,27 +64,27 @@
auto-optimise-store = true; auto-optimise-store = true;
}; };
# FIXME: Add the rest of your current configuration
# TODO: Set your hostname
networking.hostName = inputs.hostname;
# TODO: This is just an example, be sure to use whatever bootloader you prefer
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
virtualisation.docker.enable = true;
#Puts fonts in /run/current-system/sw/share/X11/fonts
fonts.fontDir.enable = true;
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
# TODO: Configure your system-wide user settings (groups, etc), add more users as needed.
users.users = { users.users = {
# FIXME: Replace with your username traverseda = {
your-username = { # You can set an initial password for your user.
# TODO: You can set an initial password for your user.
# If you do, you can skip setting a root password by passing '--no-root-passwd' to nixos-install. # If you do, you can skip setting a root password by passing '--no-root-passwd' to nixos-install.
# Be sure to change it (using passwd) after rebooting! # Be sure to change it (using passwd) after rebooting!
initialPassword = "correcthorsebatterystaple"; initialPassword = "changeme";
isNormalUser = true; isNormalUser = true;
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
# TODO: Add your SSH public key(s) here, if you plan on using SSH to connect
]; ];
# TODO: Be sure to add any other groups you need (such as networkmanager, audio, docker, etc)
extraGroups = ["wheel"]; extraGroups = ["wheel"];
}; };
}; };
@ -97,7 +97,7 @@
# Forbid root login through SSH. # Forbid root login through SSH.
PermitRootLogin = "no"; PermitRootLogin = "no";
# Use keys only. Remove if you want to SSH using password (not recommended) # Use keys only. Remove if you want to SSH using password (not recommended)
PasswordAuthentication = false; PasswordAuthentication = true;
}; };
}; };

View File

@ -5,7 +5,30 @@
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true; services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true; services.xserver.desktopManager.plasma5.enable = true;
services.fprintd.enable = true;
services.printing.enable = true;
environment.systemPackages = with pkgs; [
pkgs.firefox
pkgs.krfb
pkgs.krdc
];
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
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;
};
system.stateVersion = "23.05"; system.stateVersion = "23.05";
} }