add kdePlasma6
This commit is contained in:
@@ -4,8 +4,6 @@
|
|||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
|
|
||||||
inputs.sops-nix.nixosModules.sops
|
|
||||||
|
|
||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
|
|
||||||
];
|
];
|
||||||
@@ -17,7 +15,7 @@
|
|||||||
};
|
};
|
||||||
displayManager = {
|
displayManager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultSession = "hyprland";
|
#defaultSession = "hyprland";
|
||||||
autoLogin = {
|
autoLogin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "nathan";
|
user = "nathan";
|
||||||
@@ -59,7 +57,7 @@
|
|||||||
|
|
||||||
services.displayManager.sddm.settings.AutoLogin = {
|
services.displayManager.sddm.settings.AutoLogin = {
|
||||||
User = "nathan";
|
User = "nathan";
|
||||||
Session = "hyprland";
|
#Session = "hyprland";
|
||||||
Relogin = true;
|
Relogin = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -73,9 +71,9 @@
|
|||||||
users.users."nathan" = {
|
users.users."nathan" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
||||||
#initialPassword = "7567";
|
initialPassword = "7567";
|
||||||
|
|
||||||
hashedPasswordFile = config.sops.secrets."nathan/pass".path;
|
#hashedPasswordFile = config.sops.secrets."nathan/pass".path;
|
||||||
|
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel"
|
"wheel"
|
||||||
@@ -91,7 +89,7 @@
|
|||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
/*
|
||||||
sops = {
|
sops = {
|
||||||
age.keyFile = "/home/nathan/.config/sops/age/keys.txt";
|
age.keyFile = "/home/nathan/.config/sops/age/keys.txt";
|
||||||
defaultSopsFile = ./secrets.yaml;
|
defaultSopsFile = ./secrets.yaml;
|
||||||
@@ -103,7 +101,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
programs.fuse.userAllowOther = true;
|
programs.fuse.userAllowOther = true;
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
|||||||
@@ -8,5 +8,6 @@
|
|||||||
./minecraft
|
./minecraft
|
||||||
./sddm
|
./sddm
|
||||||
./novnc
|
./novnc
|
||||||
|
./kdePlasma6
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
31
system-config/services/kdePlasma6/default.nix
Normal file
31
system-config/services/kdePlasma6/default.nix
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
{ config, lib, pkgs, ... }: {
|
||||||
|
|
||||||
|
options.sysconfig.opts.kdePlasma6.enable = lib.options.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.sysconfig.opts.kdePlasma6.enable {
|
||||||
|
|
||||||
|
services.desktopManager.plasma6.enable = true;
|
||||||
|
|
||||||
|
sysconfig.opts.sddm.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
kdePackages.discover # Optional: Install if you use Flatpak or fwupd firmware update sevice
|
||||||
|
kdePackages.kcalc # Calculator
|
||||||
|
kdePackages.kcharselect # Tool to select and copy special characters from all installed fonts
|
||||||
|
kdePackages.kcolorchooser # A small utility to select a color
|
||||||
|
kdePackages.kolourpaint # Easy-to-use paint program
|
||||||
|
kdePackages.ksystemlog # KDE SystemLog Application
|
||||||
|
kdePackages.sddm-kcm # Configuration module for SDDM
|
||||||
|
kdiff3 # Compares and merges 2 or 3 files or directories
|
||||||
|
kdePackages.isoimagewriter # Optional: Program to write hybrid ISO files onto USB disks
|
||||||
|
kdePackages.partitionmanager # Optional Manage the disk devices, partitions and file systems on your computer
|
||||||
|
hardinfo2 # System information and benchmarks for Linux systems
|
||||||
|
haruna # Open source video player built with Qt/QML and libmpv
|
||||||
|
wayland-utils # Wayland utilities
|
||||||
|
wl-clipboard # Command-line copy/paste utilities for Wayland
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user