updates
This commit is contained in:
parent
4816145c14
commit
dadd3ef367
9 changed files with 121 additions and 70 deletions
74
flake.lock
74
flake.lock
|
@ -47,11 +47,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1687968164,
|
"lastModified": 1688506538,
|
||||||
"narHash": "sha256-L9jr2zCB6NIaBE3towusjGBigsnE2pMID8wBGkYbTS4=",
|
"narHash": "sha256-h61+DDCkd4g28u6kXL6JAlUV4UQMViQ34kIYtFH9tVg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "8002e7cb899bc2a02a2ebfb7f999fcd7c18b92a1",
|
"rev": "3200614b9f51c10689212ceb797f252762e62576",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -179,11 +179,11 @@
|
||||||
"emacs-overlay_2": {
|
"emacs-overlay_2": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1688033745,
|
"lastModified": 1688494665,
|
||||||
"narHash": "sha256-5u9ysFHuBahdKFcBBz26VxZYw9GKLiDvQLJHDzjIQX8=",
|
"narHash": "sha256-wXIBz6NVB1/d+H/nz+6XOrtn5s2jdFEJWuFP1qoHIjY=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "5fb607b2ee0c37a9aa0570a53c11405b21883313",
|
"rev": "54567ac566cd6bfa2607fbe155f9e009ce72306a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -614,11 +614,11 @@
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1671116920,
|
"lastModified": 1688141737,
|
||||||
"narHash": "sha256-QmDGsUUmAGn77UTR7eQJmebl8f3IIUCtmbbAdJqKA3s=",
|
"narHash": "sha256-qHrNMYWukOKmKVf6wXOGKj1xxUnOGjvTRbt/PLLXuBE=",
|
||||||
"owner": "matthewcroughan",
|
"owner": "matthewcroughan",
|
||||||
"repo": "nixinate",
|
"repo": "nixinate",
|
||||||
"rev": "b4d17b8e2a4abc47e93e1a1c466e0286a63640d8",
|
"rev": "7902ae845e6cc5bd450e510cdf5e009a6e4a44d9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -713,11 +713,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-legacy_2211": {
|
"nixpkgs-legacy_2211": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1687666471,
|
"lastModified": 1688392541,
|
||||||
"narHash": "sha256-88VoE8jLzjRhH38mUUrom+zJ7GVMjuW4M321Iri5C/w=",
|
"narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6610eb320efb234025e477e51ae7625ccd65a2e8",
|
"rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -729,11 +729,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1687031877,
|
"lastModified": 1688256355,
|
||||||
"narHash": "sha256-yMFcVeI+kZ6KD2QBrFPNsvBrLq2Gt//D0baHByMrjFY=",
|
"narHash": "sha256-/E+OSabu4ii5+ccWff2k4vxDsXYhpc4hwnm0s6JOz7Y=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e2e2059d19668dab1744301b8b0e821e3aae9c99",
|
"rev": "f553c016a31277246f8d3724d3b1eee5e8c0842c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -745,11 +745,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1687898314,
|
"lastModified": 1688322751,
|
||||||
"narHash": "sha256-B4BHon3uMXQw8ZdbwxRK1BmxVOGBV4viipKpGaIlGwk=",
|
"narHash": "sha256-eW62dC5f33oKZL7VWlomttbUnOTHrAbte9yNUNW8rbk=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e18dc963075ed115afb3e312b64643bf8fd4b474",
|
"rev": "0fbe93c5a7cac99f90b60bdf5f149383daaa615f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -792,11 +792,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1687829761,
|
"lastModified": 1688389917,
|
||||||
"narHash": "sha256-QRe1Y8SS3M4GeC58F/6ajz6V0ZLUVWX3ZAMgov2N3/g=",
|
"narHash": "sha256-RKiK1QeommEsjQ8fLgxt4831x9O6n2gD7wAhVZTrr8M=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9790f3242da2152d5aa1976e3e4b8b414f4dd206",
|
"rev": "aed4b19d312525ae7ca9bceb4e1efe3357d0e2eb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -822,11 +822,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_6": {
|
"nixpkgs_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1686979235,
|
"lastModified": 1688188316,
|
||||||
"narHash": "sha256-gBlBtk+KrezFkfMrZw6uwTuA7YWtbFciiS14mEoTCo0=",
|
"narHash": "sha256-CXuQllDKCxtZaB/umnZOvoJ/d4kJguYgffeTA9l1B3o=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "7cc30fd5372ddafb3373c318507d9932bd74aafe",
|
"rev": "8277b539d371bf4308fc5097911aa58bfac1794f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1005,11 +1005,11 @@
|
||||||
},
|
},
|
||||||
"retiolum": {
|
"retiolum": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1686076643,
|
"lastModified": 1688281987,
|
||||||
"narHash": "sha256-midjyNXeGAqXzwXKnHNsTnRwPIbturlq2FcHOh9fivg=",
|
"narHash": "sha256-P0UmNCmiz9iqQmQhS2R3Ihedhtl7qSLYxDsNJ2cLp5o=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "retiolum",
|
"repo": "retiolum",
|
||||||
"rev": "f79b533caf30820d93a79878d871c08faa35b3f4",
|
"rev": "b74b9594c8b7d9eee0dc535b9262b5e9b9d0eb2c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1098,11 +1098,11 @@
|
||||||
"secrets": {
|
"secrets": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1685300533,
|
"lastModified": 1688508041,
|
||||||
"narHash": "sha256-4c8uc5a1K8YcgOD/URVKomTHbVmwLVGKyDiTM1vCVAc=",
|
"narHash": "sha256-A4o4KjFY+PhJXbSHppGLqs63nSAIqWvpyghYlrLbBjo=",
|
||||||
"ref": "main",
|
"ref": "main",
|
||||||
"rev": "6b2dce79889e21dd469de56e8c1cb8ffdb45cf4e",
|
"rev": "b6f84d68d11029e1442b31a599f25b2a6aab4c6b",
|
||||||
"revCount": 52,
|
"revCount": 53,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://gitea@git.ingolf-wagner.de/palo/nixos-secrets.git"
|
"url": "ssh://gitea@git.ingolf-wagner.de/palo/nixos-secrets.git"
|
||||||
},
|
},
|
||||||
|
@ -1134,11 +1134,11 @@
|
||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1687398569,
|
"lastModified": 1688268466,
|
||||||
"narHash": "sha256-e/umuIKFcFtZtWeX369Hbdt9r+GQ48moDmlTcyHWL28=",
|
"narHash": "sha256-fArazqgYyEFiNcqa136zVYXihuqzRHNOOeVICayU2Yg=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "2ff6973350682f8d16371f8c071a304b8067f192",
|
"rev": "5ed3c22c1fa0515e037e36956a67fe7e32c92957",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1155,11 +1155,11 @@
|
||||||
"nixpkgs": "nixpkgs_7"
|
"nixpkgs": "nixpkgs_7"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1687876430,
|
"lastModified": 1688308288,
|
||||||
"narHash": "sha256-c1fXtnyQNm9HQ74NSsrvTi1ZrbRpIyIRrR2+4Ozg2j0=",
|
"narHash": "sha256-dahwZIc0zGgGMKR/j1SJjYhaoGJTHJUse8CzC8DUyV0=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "7dfce721b923549a773bf32c16515ebf1a509dae",
|
"rev": "35cab8eb76c1d3672b2b290a64f357847c30d090",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -298,6 +298,7 @@
|
||||||
name = "chungus";
|
name = "chungus";
|
||||||
modules = [
|
modules = [
|
||||||
homeManagerModules
|
homeManagerModules
|
||||||
|
retiolum.nixosModules.retiolum
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
robi = nixosConfigurationSetup {
|
robi = nixosConfigurationSetup {
|
||||||
|
|
|
@ -4,25 +4,6 @@ let
|
||||||
|
|
||||||
name = "lock";
|
name = "lock";
|
||||||
|
|
||||||
# desktop file
|
|
||||||
# ------------
|
|
||||||
# makes it possible to be used by other programs
|
|
||||||
desktopFile = pkgs.writeTextFile {
|
|
||||||
name = "${name}.desktop";
|
|
||||||
destination = "/share/applications/${name}.desktop";
|
|
||||||
text = ''
|
|
||||||
[Desktop Entry]
|
|
||||||
Categories=Application;Utility;
|
|
||||||
Comment=Screen Saver
|
|
||||||
Encoding=UTF-8
|
|
||||||
Exec=${lockProgram}/bin/${name}
|
|
||||||
Icon=gnome-lockscreen
|
|
||||||
Name=${name}
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
# the lock program
|
# the lock program
|
||||||
lockProgram = pkgs.writeShellScriptBin "${name}" ''
|
lockProgram = pkgs.writeShellScriptBin "${name}" ''
|
||||||
${pkgs.xlockmore}/bin/xlock -mode life1d -size 1
|
${pkgs.xlockmore}/bin/xlock -mode life1d -size 1
|
||||||
|
@ -31,6 +12,14 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = mkIf config.components.gui.enable {
|
config = mkIf config.components.gui.enable {
|
||||||
environment.systemPackages = [ lockProgram desktopFile ];
|
environment.systemPackages = [
|
||||||
|
lockProgram
|
||||||
|
(pkgs.makeDesktopItem {
|
||||||
|
name = "lock";
|
||||||
|
desktopName = "lock";
|
||||||
|
exec = "${lockProgram}/bin/lock";
|
||||||
|
terminal = false;
|
||||||
|
})
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
./network-wireguard.nix
|
./network-wireguard.nix
|
||||||
./network-tinc.nix
|
./network-tinc.nix
|
||||||
|
# ./network-tinc-retiolum.nix # make sure no service is open for this vpn!
|
||||||
|
|
||||||
./hass.nix
|
./hass.nix
|
||||||
./hass-zigbee2mqtt.nix
|
./hass-zigbee2mqtt.nix
|
||||||
|
|
13
nixos/machines/chungus/network-tinc-retiolum.nix
Normal file
13
nixos/machines/chungus/network-tinc-retiolum.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
sops.secrets.tinc_retiolum_ed25519_key = { };
|
||||||
|
sops.secrets.tinc_retiolum_rsa_key = { };
|
||||||
|
|
||||||
|
networking.retiolum.port = 720;
|
||||||
|
networking.retiolum.nodename = "centari";
|
||||||
|
|
||||||
|
services.tinc.networks.retiolum = {
|
||||||
|
ed25519PrivateKeyFile = config.sops.secrets.tinc_retiolum_ed25519_key.path;
|
||||||
|
rsaPrivateKeyFile = config.sops.secrets.tinc_retiolum_rsa_key.path;
|
||||||
|
};
|
||||||
|
}
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
|
./packages-development.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./cups.nix
|
./cups.nix
|
||||||
./tinc.nix
|
./tinc.nix
|
||||||
|
|
57
nixos/machines/cream/packages-development.nix
Normal file
57
nixos/machines/cream/packages-development.nix
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
{ pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; let
|
||||||
|
|
||||||
|
# to make copilot work
|
||||||
|
# jetbrains.pycharm-professional
|
||||||
|
fhsPyCharm = pkgs.buildFHSUserEnv {
|
||||||
|
name = "pycharm";
|
||||||
|
targetPkgs = pkgs: (with pkgs; [
|
||||||
|
black
|
||||||
|
isort
|
||||||
|
jetbrains.pycharm-professional
|
||||||
|
python311
|
||||||
|
pipenv
|
||||||
|
zlib # needed for NumPy
|
||||||
|
nodejs
|
||||||
|
]);
|
||||||
|
runScript = "pycharm-professional";
|
||||||
|
};
|
||||||
|
|
||||||
|
# jetbrains.datagrip
|
||||||
|
fhsDataGrip = pkgs.buildFHSUserEnv {
|
||||||
|
name = "datagrip";
|
||||||
|
targetPkgs = pkgs: (with pkgs; [
|
||||||
|
jetbrains.datagrip
|
||||||
|
]);
|
||||||
|
runScript = "datagrip";
|
||||||
|
};
|
||||||
|
|
||||||
|
in
|
||||||
|
[
|
||||||
|
|
||||||
|
# rust development environment
|
||||||
|
rustup
|
||||||
|
jetbrains.clion
|
||||||
|
|
||||||
|
# general
|
||||||
|
jetbrains.idea-ultimate
|
||||||
|
#vscode
|
||||||
|
|
||||||
|
fhsDataGrip
|
||||||
|
|
||||||
|
fhsPyCharm
|
||||||
|
(pkgs.makeDesktopItem {
|
||||||
|
name = "pycharm";
|
||||||
|
desktopName = "Python IDE";
|
||||||
|
exec = "${fhsPyCharm}/bin/pycharm";
|
||||||
|
terminal = false;
|
||||||
|
})
|
||||||
|
|
||||||
|
# python
|
||||||
|
python3Full
|
||||||
|
pipenv
|
||||||
|
|
||||||
|
];
|
||||||
|
}
|
|
@ -73,19 +73,6 @@ in
|
||||||
-t "#"
|
-t "#"
|
||||||
'')
|
'')
|
||||||
|
|
||||||
# rust development environment
|
|
||||||
rustup
|
|
||||||
jetbrains.clion
|
|
||||||
|
|
||||||
# general
|
|
||||||
jetbrains.idea-ultimate
|
|
||||||
#vscode
|
|
||||||
|
|
||||||
# python
|
|
||||||
python3Full
|
|
||||||
jetbrains.pycharm-professional
|
|
||||||
jetbrains.datagrip
|
|
||||||
|
|
||||||
# matrix clients
|
# matrix clients
|
||||||
# --------------
|
# --------------
|
||||||
#element-desktop
|
#element-desktop
|
||||||
|
@ -106,6 +93,7 @@ in
|
||||||
# };
|
# };
|
||||||
#}))
|
#}))
|
||||||
|
|
||||||
|
|
||||||
sops
|
sops
|
||||||
|
|
||||||
steam-run
|
steam-run
|
||||||
|
|
|
@ -35,6 +35,7 @@ in
|
||||||
createHome = true;
|
createHome = true;
|
||||||
extraGroups = [ "audio" "input" "video" "pipewire" ];
|
extraGroups = [ "audio" "input" "video" "pipewire" ];
|
||||||
group = "steam";
|
group = "steam";
|
||||||
|
shell = pkgs.bashInteractive;
|
||||||
};
|
};
|
||||||
users.groups.steam = { };
|
users.groups.steam = { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue