Compare commits

...

2 Commits

Author SHA1 Message Date
Thomas Avé d5d95c2dfa Add .nix to gitignore 2026-04-11 23:08:11 +07:00
Thomas Avé fdc5db376f Fix all errors reported by nix 2026-04-11 23:08:03 +07:00
6 changed files with 5 additions and 32 deletions

View File

@ -38,8 +38,6 @@
} @ inputs: let
supportedSystems = ["x86_64-linux" "aarch64-linux"];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
system = builtins.currentSystem;
pkgs = nixpkgs.legacyPackages.${system};
commonModules = host: user: [
./hosts/${host}/hardware-configuration.nix
{
@ -48,7 +46,7 @@
(self: super: {utillinux = super.util-linux;})
];
}
{
({pkgs, ...}: {
networking.hostName = host;
time.timeZone = "Asia/Bangkok";
nix.settings = {
@ -70,7 +68,7 @@
};
users.users.${user} = {
isNormalUser = true;
extraGroups = ["wheel" "video"]; # Enable sudo for the user.
extraGroups = ["wheel" "video"]; # Enable 'sudo' for the user.
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKAa3tMzSCRuprEACrBsKI0F/o73o6J9L1qR3TaZn/N8 user@Kell"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIByLwLAdJbmoDV5sx4hg5NbzKbOh1GmWEhDOUJ1GQBhK user@Riva"
@ -85,7 +83,7 @@
shell = pkgs.zsh;
};
system.stateVersion = "23.11";
}
})
home-manager.nixosModules.home-manager
{
home-manager = {

View File

@ -32,15 +32,6 @@ in {
smile
];
services.hyprpaper = {
settings = {
wallpaper = [
"HDMI-A-1,${./hyprland/files/wallpaper.png}"
"eDP-1,${./hyprland/files/wallpaper.png}"
];
};
};
wayland.windowManager.hyprland.settings = {
monitor = [
"eDP-1,2560x1440@60.01,0x0,1"

View File

@ -38,15 +38,6 @@ in {
jetbrains.rider
];
services.hyprpaper = {
settings = {
wallpaper = [
"DP-1,${./hyprland/files/wallpaper.png}"
"DP-2,${./hyprland/files/wallpaper.png}"
"HDMI-A-1,${./hyprland/files/wallpaper.png}"
];
};
};
wayland.windowManager.hyprland.settings = {
monitor = [
"DP-2,preferred,0x550,1"

View File

@ -30,13 +30,6 @@ in {
jq
rclone
];
services.hyprpaper = {
settings = {
wallpaper = [
"Virtual-1,${./hyprland/files/wallpaper.png}"
];
};
};
wayland.windowManager.hyprland.settings = {
monitor = [
"Virtual-1,2560x1440,0x0,1"

View File

@ -26,6 +26,8 @@
};
ignores = [
"*.direnv/"
"*.nix/"
"uv.lock"
".dmypy.json"
];
};

View File

@ -12,7 +12,6 @@ in {
# (import ../Common/nvidia.nix { inherit inputs pkgs config; })
(import ../Common/desktop.nix {inherit inputs pkgs config;})
(import ../Common/nfs.nix {inherit pkgs serverIP;})
(import ../Common/android.nix {inherit pkgs;})
];
# Kernel
@ -40,7 +39,6 @@ in {
nixpkgs.config.rocmSupport = true;
services.ollama = {
enable = true;
acceleration = "rocm";
};
# nixpkgs.config.cudaSupport = true;
services.logind.settings.Login = {