Create host-specific folder
This commit is contained in:
7
system/default.nix
Normal file
7
system/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
./podman.nix
|
||||
./fonts.nix
|
||||
./users.nix
|
||||
];
|
||||
}
|
7
system/fonts.nix
Normal file
7
system/fonts.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
fonts.packages = with pkgs; [
|
||||
fira-code
|
||||
fira-code-symbols
|
||||
];
|
||||
}
|
10
system/podman.nix
Normal file
10
system/podman.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ pkgs, ...}:
|
||||
|
||||
{
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
};
|
||||
};
|
||||
}
|
46
system/users.nix
Normal file
46
system/users.nix
Normal file
@@ -0,0 +1,46 @@
|
||||
{ pkgs, ...}:
|
||||
|
||||
{
|
||||
programs.zsh.enable = true;
|
||||
environment.shells = with pkgs; [ zsh ];
|
||||
|
||||
# Setup torjus user
|
||||
users.users.torjus = {
|
||||
isNormalUser = true;
|
||||
home = "/home/torjus";
|
||||
description = "Torjus";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
# Install some user packages
|
||||
packages = with pkgs; [
|
||||
# Browser
|
||||
firefox
|
||||
|
||||
# Editors
|
||||
vscode
|
||||
|
||||
# Python stuff
|
||||
python3
|
||||
ruff
|
||||
poetry
|
||||
|
||||
# Go stuff
|
||||
go
|
||||
delve
|
||||
gopls
|
||||
|
||||
# Generic stuff
|
||||
tokei
|
||||
ripgrep
|
||||
jq
|
||||
|
||||
# Hyprland stuff
|
||||
rofi-wayland
|
||||
swaylock
|
||||
waybar
|
||||
dunst
|
||||
slurp
|
||||
wpaperd
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user