added gnome

This commit is contained in:
Steven Carpenter 2023-02-08 23:44:04 -05:00
parent c36f2b43cd
commit bd3befc8ab
7 changed files with 180 additions and 62 deletions

70
hosts/creatorforge.nix Normal file
View file

@ -0,0 +1,70 @@
{ modulesPath, config, pkgs, lib, ... }:
{
imports = [
# Include the results of the hardware scan.
(modulesPath + "/profiles/qemu-guest.nix")
../.modules/services/docker.nix
../.modules/users/speccon18.nix
../.modules/services/openssh.nix
../.modules/features/desktop-environments/gnome.nix
];
#TODO: MOVE TO MODULE LATER
nixpkgs.config.allowUnfree = true;
nix = {
# nix flakes
package = pkgs.nixUnstable; # or versioned attributes like nix_2_4
extraOptions = ''
experimental-features = nix-command flakes
'';
#auto maintainence
settings.auto-optimise-store = lib.mkDefault true;
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
# prevent tampering
readOnlyStore = true;
};
# base packages
environment.systemPackages = with pkgs; [
htop
bat
exa
zsh
vim
micro
tailscale
firefox
codium
# Gnome Extensions
gnomeExtensions.dock-from-dash
gnomeExtensions.pop-shell
];
networking = {
firewall.checkReversePath = "loose";
hostName = "creatorforge"; # Define your hostname.
# networkmanager.enable = true;
};
services.tailscale.enable = true;
time.timeZone = "America/Detroit";
# Open ports in the firewall.
networking.firewall = {
enable = true;
allowedTCPPorts = [];
allowedUDPPorts = [];
};
## main services
system.stateVersion = "22.11";
### testing ###
boot.initrd.availableKernelModules =
[ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
}

View file

@ -1,39 +0,0 @@
{ config, pkgs, lib, ... }:
{
imports =
[ # Include the results of the hardware scan.
# ../.modules/base/hardware.nix
../.modules/services/docker.nix
../.modules/users/arouzing.nix
../.modules/services/openssh.nix
];
# base packages
environment.systemPackages = with pkgs; [
htop
vim
# sleep
# tailscale
];
networking = {
firewall.checkReversePath = "loose";
hostName = "example"; # Define your hostname.
# networkmanager.enable = true;
};
# services.tailscale.enable = true;
time.timeZone = "America/New_York";
# Open ports in the firewall.
networking.firewall = {
enable = true;
allowedTCPPorts = [];
allowedUDPPorts = [];
};
## main services
system.stateVersion = "22.11";
}