stash
This commit is contained in:
16
modules/nixos/common.nix
Normal file
16
modules/nixos/common.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{config, ...}: {
|
||||
# flakes usage
|
||||
nix.settings.experimental-features = [
|
||||
"flakes"
|
||||
"nix-command"
|
||||
];
|
||||
|
||||
# allows users to customize shell in `$XDG_CONFIG_HOME/shell` rather than
|
||||
# needing /etc/shells. Useful for home-manager. Falls back.
|
||||
programs.noshell.enable = true;
|
||||
|
||||
# cleans /tmp to maintain a tidy system
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
|
||||
networking.domain = config.networking.hostname;
|
||||
}
|
||||
Reference in New Issue
Block a user