system/users/nas/default.nix

77 lines
2 KiB
Nix
Raw Normal View History

2024-04-16 02:51:46 +03:00
{ config, pkgs, lib, inputs, ... }:
{
nixpkgs.overlays = lib.mkAfter [
inputs.wired.overlays.default
];
local.nix.allowUnfreePackages = [ "skypeforlinux" ];
programs.zsh.enable = true;
age.secrets.users-nas-passfile.file = ./users-nas-passfile.age;
users.users.nas = {
isNormalUser = true;
shell = pkgs.zsh;
hashedPasswordFile = config.age.secrets.users-nas-passfile.path;
};
home-manager.users.nas = {
home.stateVersion = config.system.stateVersion;
################################################################################
# Configs
################################################################################
local.keyboard.enable = lib.mkDefault true;
2024-04-16 02:51:46 +03:00
local.window-manager = {
xmonad.enable = lib.mkDefault true;
polybar.enable = lib.mkDefault true;
2024-04-16 02:51:46 +03:00
};
xdg.enable = lib.mkDefault true;
2024-04-16 02:51:46 +03:00
local.shell.enable = lib.mkDefault true;
2024-04-16 02:51:46 +03:00
################################################################################
# Programs
################################################################################
local.programs.terminals.wezterm.enable = lib.mkDefault true;
local.programs.editors.gedit.enable = lib.mkDefault true;
local.programs.file-managers.nautilus.enable = lib.mkDefault true;
local.programs.communication = {
telegram.enable = lib.mkDefault true;
skype.enable = lib.mkDefault true;
};
local.programs.share-files.croc.enable = lib.mkDefault true;
local.programs.flameshot.enable = lib.mkDefault true;
2024-04-16 02:51:46 +03:00
local.programs.libreoffice = {
enable = lib.mkDefault true;
2024-04-16 02:51:46 +03:00
spellCheckDicts = with pkgs.hunspellDicts; [
ru_RU
];
};
################################################################################
# Packages
################################################################################
home.packages = with pkgs.unstable; [
image-roll
vlc
firefox
];
};
}