mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
Add audio packages, enable home-manager stuff
This commit is contained in:
parent
0fe8811b69
commit
86c1af2c53
4 changed files with 46 additions and 13 deletions
|
|
@ -17,17 +17,22 @@
|
|||
|
||||
users = {
|
||||
enable = lib.mkEnableOption "enables users";
|
||||
crow.enable = lib.mkEnableOption "enable crow";
|
||||
crow = {
|
||||
enable = lib.mkEnableOption "enable crow";
|
||||
home.enable = lib.mkEnableOption "enable home configuration";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
system.stateVersion = "24.05";
|
||||
time.timeZone = "America/New_York";
|
||||
users = {
|
||||
enable = lib.mkDefault true;
|
||||
crow.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
users = {
|
||||
enable = lib.mkDefault true;
|
||||
crow.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
packages = {
|
||||
enable = lib.mkDefault true;
|
||||
core.enable = lib.mkDefault true;
|
||||
|
|
|
|||
17
modules/home/crow.nix
Normal file
17
modules/home/crow.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{pkgs, ...}: let
|
||||
username = "crow";
|
||||
homeDirectory = "/home/${username}";
|
||||
configHome = "${homeDirectory}/.config";
|
||||
in {
|
||||
home = {
|
||||
inherit username homeDirectory;
|
||||
stateVersion = system.stateVersion;
|
||||
};
|
||||
|
||||
xdg = {
|
||||
inherit configHome;
|
||||
enable = true;
|
||||
}
|
||||
|
||||
programs = {};
|
||||
}
|
||||
9
modules/home/default.nix
Normal file
9
modules/home/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, ... }: {
|
||||
imports = [
|
||||
(
|
||||
if config.users.crow.home.enable then
|
||||
./crow.nix
|
||||
);
|
||||
# ++ ( to add more, just move the ;
|
||||
];
|
||||
}
|
||||
|
|
@ -11,13 +11,22 @@
|
|||
curl
|
||||
foot
|
||||
tmux
|
||||
pulseaudio
|
||||
] else []
|
||||
)
|
||||
++ (
|
||||
if config.packages.gui.enable
|
||||
then [
|
||||
# Note taking
|
||||
# Writing
|
||||
logseq
|
||||
hunspellDicts.en-us
|
||||
libreoffice
|
||||
hunspell
|
||||
|
||||
# Audio
|
||||
pavucontrol
|
||||
pulsemixer
|
||||
noisetorch
|
||||
|
||||
# Communication
|
||||
mattermost-desktop
|
||||
|
|
@ -38,13 +47,6 @@
|
|||
# Utilities
|
||||
grim
|
||||
hyfetch
|
||||
wofi
|
||||
waybar
|
||||
swaynotificationcenter
|
||||
udiskie
|
||||
swayidle
|
||||
hyprlock
|
||||
pulseaudio
|
||||
gimp
|
||||
] else []
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue