Implemented custom system for creating and distributing color schemes based on wallpapers, and also cycling through wallpapers.
nixfmt'd the codebase
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ pkgs, username, ... }: {
|
||||
{ pkgs, username, ... }:
|
||||
{
|
||||
imports = [ ./hardware.nix ];
|
||||
movOpts = {
|
||||
sysEnv = {
|
||||
@@ -22,7 +23,12 @@
|
||||
caddyConfig.enable = true;
|
||||
};
|
||||
};
|
||||
networking.firewall = { allowedTCPPorts = [ 443 8920 ]; };
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [
|
||||
443
|
||||
8920
|
||||
];
|
||||
};
|
||||
environment = {
|
||||
etc."tmpfiles.d/home-permissions.conf".text = ''
|
||||
d /home/pagedmov 0750 pagedmov users -
|
||||
@@ -31,7 +37,10 @@
|
||||
PATH = "${pkgs.clang-tools}/bin:$PATH";
|
||||
TERM = "kitty";
|
||||
};
|
||||
shells = with pkgs; [ zsh bash ];
|
||||
shells = with pkgs; [
|
||||
zsh
|
||||
bash
|
||||
];
|
||||
};
|
||||
|
||||
users = {
|
||||
@@ -42,7 +51,11 @@
|
||||
isNormalUser = true;
|
||||
initialPassword = "1234";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "wheel" "persist" "libvirtd" ];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"persist"
|
||||
"libvirtd"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,13 +1,25 @@
|
||||
# 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, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot.initrd.availableKernelModules =
|
||||
[ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.availableKernelModules = [
|
||||
"nvme"
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
@@ -25,7 +37,10 @@
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/357E-BCCD";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
options = [
|
||||
"fmask=0077"
|
||||
"dmask=0077"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/home" = {
|
||||
@@ -44,6 +59,5 @@
|
||||
# networking.interfaces.wlp11s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode =
|
||||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
{ host, pkgs, self, inputs, lib, username, config, ... }: {
|
||||
{
|
||||
host,
|
||||
pkgs,
|
||||
self,
|
||||
inputs,
|
||||
lib,
|
||||
username,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
home.username = "${username}";
|
||||
home.homeDirectory =
|
||||
"/home/${username}";
|
||||
home.stateVersion =
|
||||
"24.05";
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user