home sweat home
This commit is contained in:
parent
a970493019
commit
eb77f57af7
|
@ -7,6 +7,8 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
|
||||||
./components/bootloader.nix
|
./components/bootloader.nix
|
||||||
./components/networking.nix
|
./components/networking.nix
|
||||||
./components/packages-base.nix
|
./components/packages-base.nix
|
||||||
|
@ -55,7 +57,7 @@
|
||||||
outputs.overlays.unstable-packages
|
outputs.overlays.unstable-packages
|
||||||
];
|
];
|
||||||
|
|
||||||
# Unfree packages that can be installes regardless of the mchine's fre software policy
|
# Unfree packages that can be installes regardless of the machine's free software policy
|
||||||
config.allowUnfreePredicate = pkg:
|
config.allowUnfreePredicate = pkg:
|
||||||
builtins.elem (lib.getName pkg) [
|
builtins.elem (lib.getName pkg) [
|
||||||
# Steam
|
# Steam
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ll = "ls -al";
|
ll = "ls -al";
|
||||||
done = "curl -d 'Done' ntfy.sh/tasiaiso_done";
|
done = "curl -d 'Done' ntfy.sh/tasiaiso_done";
|
||||||
rebuild = "sudo nixos-rebuild switch -flake -I nixos-config=/home/tasia/nixos-config"; # .#hostname
|
rebuild = "sudo nixos-rebuild switch -flake -I nixos-config=/home/tasia/Desktop/nixos-config"; # .#hostname
|
||||||
};
|
};
|
||||||
|
|
||||||
ohMyZsh = {
|
ohMyZsh = {
|
||||||
|
|
|
@ -1,37 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
bitwarden
|
|
||||||
# android-tools
|
|
||||||
gocryptfs
|
|
||||||
#endless-sky
|
|
||||||
#gnucash
|
|
||||||
# obs-studio
|
|
||||||
# kdenlive
|
|
||||||
rustc
|
|
||||||
cargo
|
|
||||||
nodejs
|
|
||||||
rpi-imager
|
|
||||||
# wireshark
|
|
||||||
# appimage-run
|
|
||||||
#ssb-patchwork
|
|
||||||
simplex-chat-desktop
|
|
||||||
#android-studio
|
|
||||||
#swig
|
|
||||||
picard
|
|
||||||
kleopatra
|
|
||||||
qbittorrent
|
|
||||||
tor-browser
|
|
||||||
protonvpn-gui
|
|
||||||
# radicle-cli
|
|
||||||
# opensnitch-ui
|
|
||||||
yarn
|
|
||||||
nodePackages.node-gyp
|
|
||||||
nodePackages.node-pre-gyp
|
|
||||||
# superTuxKart
|
|
||||||
openssl
|
|
||||||
|
|
||||||
# qgis
|
|
||||||
|
|
||||||
tildefriends
|
|
||||||
];
|
|
||||||
}
|
|
11
dotfiles/.bashrc
Normal file
11
dotfiles/.bashrc
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
|
||||||
|
if [[ -n $SSH_CONNECTION ]] ; then
|
||||||
|
curl \
|
||||||
|
-H "Title: Test" \
|
||||||
|
-H "Priority: high" \
|
||||||
|
-H "Tags: warning" \
|
||||||
|
-d "$(cat /etc/hostname ): ssh session ($SSH_CONNECTION)" \
|
||||||
|
ntfy.sh/tasiaiso_alerts &> /dev/null
|
||||||
|
fi
|
||||||
|
|
11
dotfiles/.zshrc
Normal file
11
dotfiles/.zshrc
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
|
||||||
|
if [[ -n $SSH_CONNECTION ]] ; then
|
||||||
|
curl \
|
||||||
|
-H "Title: Test" \
|
||||||
|
-H "Priority: high" \
|
||||||
|
-H "Tags: warning" \
|
||||||
|
-d "$(cat /etc/hostname ): ssh session" \
|
||||||
|
ntfy.sh/tasiaiso_alerts &> /dev/null
|
||||||
|
fi
|
||||||
|
|
1
dotfiles/librewolf.overrides.cfg
Normal file
1
dotfiles/librewolf.overrides.cfg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
defaultPref("identity.fxaccounts.enabled", true);
|
21
flake.lock
21
flake.lock
|
@ -1,5 +1,25 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"home-manager": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1713818326,
|
||||||
|
"narHash": "sha256-aw3xbVPJauLk/bbrlakIYxKpeuMWzA2feGrkIpIuXd8=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "67de98ae6eed5ad6f91b1142356d71a87ba97f21",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713714899,
|
"lastModified": 1713714899,
|
||||||
|
@ -18,6 +38,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"stable": "stable",
|
"stable": "stable",
|
||||||
"unstable": "unstable"
|
"unstable": "unstable"
|
||||||
|
|
|
@ -6,6 +6,11 @@
|
||||||
|
|
||||||
stable.url = "github:nixos/nixpkgs/nixos-23.11";
|
stable.url = "github:nixos/nixpkgs/nixos-23.11";
|
||||||
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
url = "github:nix-community/home-manager";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
@ -13,6 +18,7 @@
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
stable,
|
stable,
|
||||||
unstable,
|
unstable,
|
||||||
|
home-manager,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
|
|
25
home/46d1/home.nix
Normal file
25
home/46d1/home.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
users.users.user = {
|
||||||
|
isNormalUser = true;
|
||||||
|
description = "User";
|
||||||
|
extraGroups = ["networkmanager" "wheel" "syncthing" "tss"];
|
||||||
|
initialPassword = "password123";
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager.users.user = {pkgs, ...}: {
|
||||||
|
home.file = {
|
||||||
|
".zshrc".source = ../../dotfiles/.zshrc;
|
||||||
|
".bashrc".source = ../../dotfiles/.bashrc;
|
||||||
|
|
||||||
|
# ".librewolf/librewolf.overrides.cfg".source = ../../dotfiles/librewolf.overrides.cfg;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
#
|
||||||
|
];
|
||||||
|
|
||||||
|
# The state version is required and should stay at the version you
|
||||||
|
# originally installed.
|
||||||
|
home.stateVersion = "24.05";
|
||||||
|
};
|
||||||
|
}
|
60
home/tasia-but-old-username/home.nix
Normal file
60
home/tasia-but-old-username/home.nix
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
users.users.user = {
|
||||||
|
isNormalUser = true;
|
||||||
|
description = "User";
|
||||||
|
extraGroups = ["networkmanager" "wheel" "syncthing" "tss"];
|
||||||
|
initialPassword = "password123";
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager.users.user = {pkgs, ...}: {
|
||||||
|
home.file = {
|
||||||
|
".zshrc".source = ../../dotfiles/.zshrc;
|
||||||
|
".bashrc".source = ../../dotfiles/.bashrc;
|
||||||
|
|
||||||
|
".librewolf/librewolf.overrides.cfg".source = ../../dotfiles/librewolf.overrides.cfg;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
bitwarden
|
||||||
|
# android-tools
|
||||||
|
gocryptfs
|
||||||
|
#endless-sky
|
||||||
|
#gnucash
|
||||||
|
# obs-studio
|
||||||
|
# kdenlive
|
||||||
|
rustc
|
||||||
|
cargo
|
||||||
|
nodejs
|
||||||
|
rpi-imager
|
||||||
|
# wireshark
|
||||||
|
# appimage-run
|
||||||
|
#ssb-patchwork
|
||||||
|
simplex-chat-desktop
|
||||||
|
#android-studio
|
||||||
|
#swig
|
||||||
|
picard
|
||||||
|
kleopatra
|
||||||
|
qbittorrent
|
||||||
|
tor-browser
|
||||||
|
protonvpn-gui
|
||||||
|
# radicle-cli
|
||||||
|
# opensnitch-ui
|
||||||
|
yarn
|
||||||
|
nodePackages.node-gyp
|
||||||
|
nodePackages.node-pre-gyp
|
||||||
|
# superTuxKart
|
||||||
|
openssl
|
||||||
|
home-manager
|
||||||
|
|
||||||
|
# qgis
|
||||||
|
|
||||||
|
atool
|
||||||
|
httpie
|
||||||
|
cowsay
|
||||||
|
];
|
||||||
|
|
||||||
|
# The state version is required and should stay at the version you
|
||||||
|
# originally installed.
|
||||||
|
home.stateVersion = "24.05";
|
||||||
|
};
|
||||||
|
}
|
60
home/tasia/home.nix
Normal file
60
home/tasia/home.nix
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
users.users.tasia = {
|
||||||
|
isNormalUser = true;
|
||||||
|
description = "User";
|
||||||
|
extraGroups = ["networkmanager" "wheel" "syncthing" "tss"];
|
||||||
|
initialPassword = "password123";
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager.users.tasia = {pkgs, ...}: {
|
||||||
|
home.file = {
|
||||||
|
".zshrc".source = ../../dotfiles/.zshrc;
|
||||||
|
".bashrc".source = ../../dotfiles/.bashrc;
|
||||||
|
|
||||||
|
".librewolf/librewolf.overrides.cfg".source = ../../dotfiles/librewolf.overrides.cfg;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
bitwarden
|
||||||
|
# android-tools
|
||||||
|
gocryptfs
|
||||||
|
#endless-sky
|
||||||
|
#gnucash
|
||||||
|
# obs-studio
|
||||||
|
# kdenlive
|
||||||
|
rustc
|
||||||
|
cargo
|
||||||
|
nodejs
|
||||||
|
rpi-imager
|
||||||
|
# wireshark
|
||||||
|
# appimage-run
|
||||||
|
#ssb-patchwork
|
||||||
|
simplex-chat-desktop
|
||||||
|
#android-studio
|
||||||
|
#swig
|
||||||
|
picard
|
||||||
|
kleopatra
|
||||||
|
qbittorrent
|
||||||
|
tor-browser
|
||||||
|
protonvpn-gui
|
||||||
|
# radicle-cli
|
||||||
|
# opensnitch-ui
|
||||||
|
yarn
|
||||||
|
nodePackages.node-gyp
|
||||||
|
nodePackages.node-pre-gyp
|
||||||
|
# superTuxKart
|
||||||
|
openssl
|
||||||
|
home-manager
|
||||||
|
|
||||||
|
# qgis
|
||||||
|
|
||||||
|
atool
|
||||||
|
httpie
|
||||||
|
cowsay
|
||||||
|
];
|
||||||
|
|
||||||
|
# The state version is required and should stay at the version you
|
||||||
|
# originally installed.
|
||||||
|
home.stateVersion = "24.05";
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
sshKeys = import ../../crypto/ssh-keys.nix;
|
sshKeys = import ../../crypto/ssh-keys.nix;
|
||||||
|
@ -9,7 +10,6 @@ in {
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../common/base.nix
|
../../common/base.nix
|
||||||
../../common/full-install.nix
|
../../common/full-install.nix
|
||||||
../../common/tasia-packages.nix
|
|
||||||
|
|
||||||
../../common/locales/en.nix
|
../../common/locales/en.nix
|
||||||
../../common/locales/fr-keymap.nix
|
../../common/locales/fr-keymap.nix
|
||||||
|
@ -24,7 +24,6 @@ in {
|
||||||
../../common/hardware/latest-kernel.nix
|
../../common/hardware/latest-kernel.nix
|
||||||
|
|
||||||
../../common/components/de/sddm.nix
|
../../common/components/de/sddm.nix
|
||||||
# ../../common/components/de/greetd.nix
|
|
||||||
../../common/components/de/plasma6.nix
|
../../common/components/de/plasma6.nix
|
||||||
../../common/components/de/hyprland.nix
|
../../common/components/de/hyprland.nix
|
||||||
|
|
||||||
|
@ -34,6 +33,8 @@ in {
|
||||||
../../common/services/usbguard.nix
|
../../common/services/usbguard.nix
|
||||||
|
|
||||||
../../modules/nixos/vedirect-reader.nix
|
../../modules/nixos/vedirect-reader.nix
|
||||||
|
|
||||||
|
../../home/tasia/home.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
|
@ -61,15 +62,9 @@ in {
|
||||||
nvidiaBusId = "PCI:0:2:0";
|
nvidiaBusId = "PCI:0:2:0";
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.tasia = {
|
users.users.tasia.openssh.authorizedKeys.keys = [
|
||||||
isNormalUser = true;
|
|
||||||
description = "User";
|
|
||||||
extraGroups = ["networkmanager" "wheel" "syncthing" "tss"];
|
|
||||||
initialPassword = "correcthorsebatterystaple";
|
|
||||||
openssh.authorizedKeys.keys = [
|
|
||||||
sshKeys.new-new-phoenix.tasia
|
sshKeys.new-new-phoenix.tasia
|
||||||
];
|
];
|
||||||
};
|
|
||||||
|
|
||||||
services.btrfs.autoScrub.fileSystems = ["/"];
|
services.btrfs.autoScrub.fileSystems = ["/"];
|
||||||
|
|
||||||
|
@ -88,7 +83,7 @@ in {
|
||||||
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
#
|
tildefriends
|
||||||
];
|
];
|
||||||
|
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
|
|
@ -18,6 +18,8 @@ in {
|
||||||
|
|
||||||
../../common/services/adguardhome.nix
|
../../common/services/adguardhome.nix
|
||||||
../../common/services/syncthing.nix
|
../../common/services/syncthing.nix
|
||||||
|
|
||||||
|
../../home/tasia-but-old-username/home.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
@ -32,15 +34,9 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.user = {
|
users.users.user.openssh.authorizedKeys.keys = [
|
||||||
isNormalUser = true;
|
|
||||||
description = "User";
|
|
||||||
extraGroups = ["networkmanager" "wheel" "syncthing"];
|
|
||||||
initialPassword = "correcthorsebatterystaple";
|
|
||||||
openssh.authorizedKeys.keys = [
|
|
||||||
sshKeys.new-new-phoenix.tasia
|
sshKeys.new-new-phoenix.tasia
|
||||||
];
|
];
|
||||||
};
|
|
||||||
|
|
||||||
services.btrfs.autoScrub.fileSystems = lib.mkForce ["/" "/data"];
|
services.btrfs.autoScrub.fileSystems = lib.mkForce ["/" "/data"];
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ in {
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../common/base.nix
|
../../common/base.nix
|
||||||
../../common/full-install.nix
|
../../common/full-install.nix
|
||||||
../../common/tasia-packages.nix
|
|
||||||
|
|
||||||
../../common/locales/en.nix
|
../../common/locales/en.nix
|
||||||
../../common/locales/fr-keymap.nix
|
../../common/locales/fr-keymap.nix
|
||||||
|
@ -27,6 +26,8 @@ in {
|
||||||
../../common/services/syncthing.nix
|
../../common/services/syncthing.nix
|
||||||
|
|
||||||
../../modules/nixos/vedirect-reader.nix
|
../../modules/nixos/vedirect-reader.nix
|
||||||
|
|
||||||
|
../../home/tasia-but-old-username/home.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
@ -45,15 +46,9 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.user = {
|
users.users.user.openssh.authorizedKeys.keys = [
|
||||||
isNormalUser = true;
|
|
||||||
description = "User";
|
|
||||||
extraGroups = ["networkmanager" "wheel" "syncthing"];
|
|
||||||
initialPassword = "correcthorsebatterystaple";
|
|
||||||
openssh.authorizedKeys.keys = [
|
|
||||||
sshKeys.new-new-phoenix.tasia
|
sshKeys.new-new-phoenix.tasia
|
||||||
];
|
];
|
||||||
};
|
|
||||||
|
|
||||||
services.btrfs.autoScrub.fileSystems = lb.mkForce ["/" "/data"];
|
services.btrfs.autoScrub.fileSystems = lb.mkForce ["/" "/data"];
|
||||||
|
|
||||||
|
|
|
@ -15,19 +15,15 @@ in {
|
||||||
../../common/de/plasma5.nix
|
../../common/de/plasma5.nix
|
||||||
|
|
||||||
../../common/services/syncthing.nix
|
../../common/services/syncthing.nix
|
||||||
|
|
||||||
|
../../home/46d1/home.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "stuff";
|
networking.hostName = "stuff";
|
||||||
|
|
||||||
users.users.user = {
|
users.users.user.openssh.authorizedKeys.keys = [
|
||||||
isNormalUser = true;
|
|
||||||
description = "User";
|
|
||||||
extraGroups = ["networkmanager" "wheel" "syncthing"];
|
|
||||||
initialPassword = "correcthorsebatterystaple";
|
|
||||||
openssh.authorizedKeys.keys = [
|
|
||||||
sshKeys.new-new-phoenix.tasia
|
sshKeys.new-new-phoenix.tasia
|
||||||
];
|
];
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Additional system packages here
|
# Additional system packages here
|
||||||
|
|
|
@ -26,21 +26,17 @@ in {
|
||||||
../../common/services/syncthing.nix
|
../../common/services/syncthing.nix
|
||||||
../../common/services/adguardhome.nix
|
../../common/services/adguardhome.nix
|
||||||
../../common/programs/steam.nix
|
../../common/programs/steam.nix
|
||||||
|
|
||||||
|
../../home/tasia-but-old-username/home.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "theseus";
|
hostName = "theseus";
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.user = {
|
users.users.user.openssh.authorizedKeys.keys = [
|
||||||
isNormalUser = true;
|
|
||||||
description = "User";
|
|
||||||
extraGroups = ["networkmanager" "wheel" "syncthing"];
|
|
||||||
initialPassword = "correcthorsebatterystaple";
|
|
||||||
openssh.authorizedKeys.keys = [
|
|
||||||
sshKeys.new-new-phoenix.tasia
|
sshKeys.new-new-phoenix.tasia
|
||||||
];
|
];
|
||||||
};
|
|
||||||
|
|
||||||
services.btrfs.autoScrub.fileSystems = lb.mkForce ["/" "/data"];
|
services.btrfs.autoScrub.fileSystems = lb.mkForce ["/" "/data"];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue