97 lines
1.6 KiB
Nix
97 lines
1.6 KiB
Nix
{ pkgs, inputs, ... }:
|
|
{
|
|
imports = [
|
|
./backup.nix
|
|
./hardware-configuration.nix
|
|
inputs.nixos-hardware.nixosModules.asus-rog-strix-g513im
|
|
];
|
|
|
|
networking = {
|
|
hostName = "marauder";
|
|
networkmanager.enable = true;
|
|
};
|
|
|
|
boot.loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
users.users = {
|
|
nettika = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" "networkmanager" ];
|
|
};
|
|
};
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
# Chat clients
|
|
discord
|
|
element-desktop
|
|
telegram-desktop
|
|
|
|
# Browsers
|
|
firefox
|
|
|
|
# Coding
|
|
vscode
|
|
|
|
# Art and 3D
|
|
inkscape
|
|
openscad-unstable
|
|
bambu-studio
|
|
|
|
# Multimedia
|
|
vlc
|
|
|
|
# Productivity
|
|
obsidian
|
|
];
|
|
|
|
programs = {
|
|
git = {
|
|
enable = true;
|
|
lfs.enable = true;
|
|
config = {
|
|
init.defaultBranch = "master";
|
|
user = {
|
|
email = "git@nettika.cat";
|
|
name = "Nettika";
|
|
};
|
|
credential.helper = "store";
|
|
};
|
|
};
|
|
nano = {
|
|
enable = true;
|
|
nanorc = ''
|
|
set autoindent
|
|
set linenumbers
|
|
'';
|
|
};
|
|
steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = true;
|
|
};
|
|
};
|
|
|
|
services = {
|
|
xserver = {
|
|
enable = true;
|
|
desktopManager = {
|
|
cinnamon.enable = true;
|
|
xterm.enable = false;
|
|
};
|
|
};
|
|
displayManager.defaultSession = "cinnamon";
|
|
};
|
|
|
|
time.timeZone = "America/Los_Angeles";
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|
|
|