mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add docker
This commit is contained in:
parent
dc40a9fddd
commit
38845bf03d
4 changed files with 87 additions and 81 deletions
|
|
@ -5012,7 +5012,7 @@ This ensures that all user-configuration happens here in the config file.
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Leon S";
|
description = "Leon S";
|
||||||
hashedPasswordFile = lib.mkIf (!config.swarselsystems.initialSetup) config.sops.secrets.swarseluser.path;
|
hashedPasswordFile = lib.mkIf (!config.swarselsystems.initialSetup) config.sops.secrets.swarseluser.path;
|
||||||
extraGroups = [ "networkmanager" "wheel" "lp" "audio" "video" "vboxusers" "scanner" ];
|
extraGroups = [ "networkmanager" "root" "docker""wheel" "lp" "audio" "video" "vboxusers" "scanner" ];
|
||||||
packages = with pkgs; [ ];
|
packages = with pkgs; [ ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -6424,8 +6424,10 @@ Integrates 1password mostly. There are more options at [[#h:f0b2ea93-94c8-48d8-8
|
||||||
enable = true;
|
enable = true;
|
||||||
polkitPolicyOwners = [ "swarsel" ];
|
polkitPolicyOwners = [ "swarsel" ];
|
||||||
};
|
};
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
python39
|
||||||
|
docker
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -8546,89 +8548,90 @@ The rest of the settings is at [[#h:fb3f3e01-7df4-4b06-9e91-aa9cac61a431][gaming
|
||||||
The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]]. Here, I am setting up the different firefox profiles that I need for the SSO sites that I need to access at work as well as a few ssh shorthands.
|
The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]]. Here, I am setting up the different firefox profiles that I need for the SSO sites that I need to access at work as well as a few ssh shorthands.
|
||||||
|
|
||||||
#+begin_src nix :tangle profiles/optional/home/work.nix :noweb yes
|
#+begin_src nix :tangle profiles/optional/home/work.nix :noweb yes
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
teams-for-linux
|
teams-for-linux
|
||||||
google-chrome
|
google-chrome
|
||||||
shellcheck
|
shellcheck
|
||||||
dig
|
dig
|
||||||
];
|
docker
|
||||||
|
];
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
"uc" = {
|
"uc" = {
|
||||||
hostname = "uc.clip.vbc.ac.at";
|
hostname = "uc.clip.vbc.ac.at";
|
||||||
user = "stack";
|
user = "stack";
|
||||||
};
|
};
|
||||||
"uc-stg" = {
|
"uc-stg" = {
|
||||||
hostname = "uc.staging.clip.vbc.ac.at";
|
hostname = "uc.staging.clip.vbc.ac.at";
|
||||||
user = "stack";
|
user = "stack";
|
||||||
};
|
};
|
||||||
"cbe" = {
|
"cbe" = {
|
||||||
hostname = "cbe.vbc.ac.at";
|
hostname = "cbe.vbc.ac.at";
|
||||||
user = "dc_adm_schwarzaeugl";
|
user = "dc_adm_schwarzaeugl";
|
||||||
};
|
};
|
||||||
"cbe-stg" = {
|
"cbe-stg" = {
|
||||||
hostname = "cbe.staging.vbc.ac.at";
|
hostname = "cbe.staging.vbc.ac.at";
|
||||||
user = "dc_adm_schwarzaeugl";
|
user = "dc_adm_schwarzaeugl";
|
||||||
};
|
};
|
||||||
"*.vbc.ac.at" = {
|
"*.vbc.ac.at" = {
|
||||||
user = "dc_adm_schwarzaeugl";
|
user = "dc_adm_schwarzaeugl";
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.firefox = {
|
|
||||||
profiles = {
|
|
||||||
dc_adm = {
|
|
||||||
id = 1;
|
|
||||||
<<firefoxprofile>>
|
|
||||||
};
|
|
||||||
cl_adm = {
|
|
||||||
id = 2;
|
|
||||||
<<firefoxprofile>>
|
|
||||||
};
|
|
||||||
ws_adm = {
|
|
||||||
id = 3;
|
|
||||||
<<firefoxprofile>>
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
xdg.desktopEntries =
|
|
||||||
let
|
|
||||||
terminal = false;
|
|
||||||
categories = [ "Application" ];
|
|
||||||
icon = "firefox";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
firefox_dc = {
|
|
||||||
name = "Firefox (dc_adm)";
|
|
||||||
genericName = "Firefox dc";
|
|
||||||
exec = "firefox -p dc_adm";
|
|
||||||
inherit terminal categories icon;
|
|
||||||
};
|
|
||||||
|
|
||||||
firefox_ws = {
|
|
||||||
name = "Firefox (ws_adm)";
|
|
||||||
genericName = "Firefox ws";
|
|
||||||
exec = "firefox -p ws_adm";
|
|
||||||
inherit terminal categories icon;
|
|
||||||
};
|
|
||||||
|
|
||||||
firefox_cl = {
|
|
||||||
name = "Firefox (cl_adm)";
|
|
||||||
genericName = "Firefox cl";
|
|
||||||
exec = "firefox -p cl_adm";
|
|
||||||
inherit terminal categories icon;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git.userEmail = "leon.schwarzaeugl@imba.oeaw.ac.at";
|
programs.firefox = {
|
||||||
|
profiles = {
|
||||||
|
dc_adm = {
|
||||||
|
id = 1;
|
||||||
|
<<firefoxprofile>>
|
||||||
|
};
|
||||||
|
cl_adm = {
|
||||||
|
id = 2;
|
||||||
|
<<firefoxprofile>>
|
||||||
|
};
|
||||||
|
ws_adm = {
|
||||||
|
id = 3;
|
||||||
|
<<firefoxprofile>>
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
}
|
xdg.desktopEntries =
|
||||||
|
let
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Application" ];
|
||||||
|
icon = "firefox";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
firefox_dc = {
|
||||||
|
name = "Firefox (dc_adm)";
|
||||||
|
genericName = "Firefox dc";
|
||||||
|
exec = "firefox -p dc_adm";
|
||||||
|
inherit terminal categories icon;
|
||||||
|
};
|
||||||
|
|
||||||
|
firefox_ws = {
|
||||||
|
name = "Firefox (ws_adm)";
|
||||||
|
genericName = "Firefox ws";
|
||||||
|
exec = "firefox -p ws_adm";
|
||||||
|
inherit terminal categories icon;
|
||||||
|
};
|
||||||
|
|
||||||
|
firefox_cl = {
|
||||||
|
name = "Firefox (cl_adm)";
|
||||||
|
genericName = "Firefox cl";
|
||||||
|
exec = "firefox -p cl_adm";
|
||||||
|
inherit terminal categories icon;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.git.userEmail = "leon.schwarzaeugl@imba.oeaw.ac.at";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Leon S";
|
description = "Leon S";
|
||||||
hashedPasswordFile = lib.mkIf (!config.swarselsystems.initialSetup) config.sops.secrets.swarseluser.path;
|
hashedPasswordFile = lib.mkIf (!config.swarselsystems.initialSetup) config.sops.secrets.swarseluser.path;
|
||||||
extraGroups = [ "networkmanager" "wheel" "lp" "audio" "video" "vboxusers" "scanner" ];
|
extraGroups = [ "networkmanager" "root" "docker" "wheel" "lp" "audio" "video" "vboxusers" "scanner" ];
|
||||||
packages = with pkgs; [ ];
|
packages = with pkgs; [ ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
google-chrome
|
google-chrome
|
||||||
shellcheck
|
shellcheck
|
||||||
dig
|
dig
|
||||||
|
docker
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
polkitPolicyOwners = [ "swarsel" ];
|
polkitPolicyOwners = [ "swarsel" ];
|
||||||
};
|
};
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
python39
|
||||||
|
docker
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue