initial commit
This commit is contained in:
9
home/exampleSecondUser/common/core/brave.nix
Normal file
9
home/exampleSecondUser/common/core/brave.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
programs.brave = {
|
||||
enable = true;
|
||||
commandLineArgs = [
|
||||
"--no-default-browser-check"
|
||||
"--restore-last-session"
|
||||
];
|
||||
};
|
||||
}
|
||||
47
home/exampleSecondUser/common/core/default.nix
Normal file
47
home/exampleSecondUser/common/core/default.nix
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = lib.flatten [
|
||||
(lib.custom.scanPaths ./.)
|
||||
(map lib.custom.relativeToRoot [
|
||||
"modules/home"
|
||||
])
|
||||
];
|
||||
|
||||
home = {
|
||||
username = lib.mkDefault "exampleSecondUser";
|
||||
homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
||||
stateVersion = lib.mkDefault "24.11";
|
||||
sessionPath = [ "$HOME/.local/bin" ];
|
||||
};
|
||||
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
|
||||
# Packages that don't have custom configs go here
|
||||
nix-tree
|
||||
;
|
||||
};
|
||||
|
||||
nix = {
|
||||
package = lib.mkDefault pkgs.nix;
|
||||
settings = {
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
warn-dirty = false;
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
};
|
||||
|
||||
# Nicely reload system units when changing configs
|
||||
systemd.user.startServices = "sd-switch";
|
||||
}
|
||||
11
home/exampleSecondUser/common/core/gtk.nix
Normal file
11
home/exampleSecondUser/common/core/gtk.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
gtk = {
|
||||
enable = true;
|
||||
iconTheme = {
|
||||
name = "elementary-Xfce-dark";
|
||||
package = pkgs.elementary-xfce-icon-theme;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user