initial nixos-config
This commit is contained in:
1 parent
0a7012b316
commit
6cc6a1f32c
17 files changed
+366
No files matched your search
@@ -0,0 +1,14 @@
|
||||
{ config, inputs, ... }:
|
||||
let
|
||||
inherit (config.networking) hostName; # Inherit variable
|
||||
isClean = inputs.self ? rev; # Only enable if current config came from clean tree
|
||||
in
|
||||
{
|
||||
system.autoUpgrade = { # NixOS auto upgrade
|
||||
enable = isClean;
|
||||
dates = "hourly";
|
||||
flags = [
|
||||
"--refresh"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
};
|
||||
gnome.core-utilities.enable = false;
|
||||
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnomeExtensions.dash-to-dock
|
||||
gnomeExtensions.gsconnect
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user