Work laptop

This commit is contained in:
FredzyW 2024-11-01 11:28:21 +01:00
parent fd16d84fe3
commit 9e6dda7b75
5 changed files with 34 additions and 20 deletions

View file

@ -78,6 +78,7 @@
xcolor xcolor
# Dev # Dev
gh
yarn yarn
plantuml plantuml
go go
@ -89,6 +90,7 @@
templ templ
ranger ranger
tesseract4 tesseract4
k9s
#LSP #LSP
nil nil

View file

@ -6,7 +6,6 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
fw-pkgs.url = "github:fwastring/fwpkgs/main"; fw-pkgs.url = "github:fwastring/fwpkgs/main";
knock.url = "github:BentonEdmondson/knock";
# Home manager # Home manager
home-manager.url = "github:nix-community/home-manager/release-24.05"; home-manager.url = "github:nix-community/home-manager/release-24.05";
@ -19,7 +18,6 @@
home-manager, home-manager,
nixpkgs-unstable, nixpkgs-unstable,
fw-pkgs, fw-pkgs,
knock,
... ...
} @ inputs: let } @ inputs: let
inherit (self) outputs; inherit (self) outputs;
@ -58,7 +56,6 @@
modules = [ modules = [
({nixpkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) ({nixpkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
./maskiner/desktop/configuration.nix ./maskiner/desktop/configuration.nix
knock
]; ];
}; };
jobb = nixpkgs.lib.nixosSystem { jobb = nixpkgs.lib.nixosSystem {

View file

@ -15,6 +15,14 @@
../../config/users.nix ../../config/users.nix
]; ];
environment.systemPackages = with pkgs; [
kubectl
azure-cli
];
networking.hostName = myhostname; networking.hostName = myhostname;
# services.k3s = { # services.k3s = {

View file

@ -51,6 +51,7 @@
latest="git log | head -1 | awk '{print $2;}' | xsel -i"; latest="git log | head -1 | awk '{print $2;}' | xsel -i";
}; };
interactiveShellInit = '' interactiveShellInit = ''
fish_vi_key_bindings
set fish_greeting # Disable greeting set fish_greeting # Disable greeting
set FLAKE_DIR "/home/fw/nix" set FLAKE_DIR "/home/fw/nix"
set HM_DIR "$FLAKE_DIR#fw@jobb" set HM_DIR "$FLAKE_DIR#fw@jobb"

View file

@ -32,18 +32,30 @@
user = "fw"; user = "fw";
identityFile = "/home/fw/.ssh/fw-ssh-key"; identityFile = "/home/fw/.ssh/fw-ssh-key";
}; };
"ba6" = { "ha2" = {
hostname = "buildagent6"; hostname = "192.168.0.133";
port = 22; port = 22;
user = "fw"; user = "fw";
identityFile = "/home/fw/.ssh/fw-ssh-key"; identityFile = "/home/fw/.ssh/fw-ssh-key";
}; };
"ba2" = { "ha3" = {
hostname = "192.168.0.120"; hostname = "192.168.0.120";
port = 22; port = 22;
user = "fw"; user = "fw";
identityFile = "/home/fw/.ssh/fw-ssh-key"; identityFile = "/home/fw/.ssh/fw-ssh-key";
}; };
"ha4" = {
hostname = "192.168.0.52";
port = 22;
user = "fw";
identityFile = "/home/fw/.ssh/fw-ssh-key";
};
"mac" = {
hostname = "192.168.0.149";
port = 22;
user = "ifacts";
identityFile = "/home/fw/.ssh/ifacts-ssh-key";
};
"backups" = { "backups" = {
hostname = "192.168.0.120"; hostname = "192.168.0.120";
port = 22; port = 22;
@ -62,18 +74,6 @@
user = "fw"; user = "fw";
identityFile = "/home/fw/.ssh/fw-ssh-key"; identityFile = "/home/fw/.ssh/fw-ssh-key";
}; };
"kub1" = {
hostname = "192.168.0.52";
port = 22;
user = "fw";
identityFile = "/home/fw/.ssh/fw-ssh-key";
};
"mac" = {
hostname = "192.168.0.206";
port = 22;
user = "ifacts";
identityFile = "/home/fw/.ssh/ifacts-ssh-key";
};
"malmo" = { "malmo" = {
hostname = "192.168.0.138"; hostname = "192.168.0.138";
port = 22; port = 22;
@ -86,11 +86,17 @@
user = "root"; user = "root";
}; };
"disa" = { "disa" = {
hostname = "192.168.1.242"; hostname = "62.63.222.22";
port = 22; port = 55505;
user = "disah"; user = "disah";
identityFile = "/home/fw/.ssh/id_rsa"; identityFile = "/home/fw/.ssh/id_rsa";
}; };
"laptop" = {
hostname = "62.63.222.22";
port = 55504;
user = "fw";
identityFile = "/home/fw/.ssh/id_rsa";
};
}; };
}; };
} }