Merge branch 'master' of https://giugl.io/gitea/peperunas/nixos
This commit is contained in:
commit
83aa91b7e5
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
albert_autostart = (pkgs.makeAutostartItem {
|
albert_autostart = (pkgs.makeAutostartItem {
|
||||||
|
<<<<<<< HEAD
|
||||||
name = "albert";
|
name = "albert";
|
||||||
package = pkgs.albert;
|
package = pkgs.albert;
|
||||||
});
|
});
|
||||||
@ -33,10 +34,32 @@ in {
|
|||||||
# browsers
|
# browsers
|
||||||
firefox
|
firefox
|
||||||
brave
|
brave
|
||||||
|
=======
|
||||||
|
name = "albert";
|
||||||
|
package = pkgs.albert;
|
||||||
|
});
|
||||||
|
guake_autostart = (pkgs.makeAutostartItem {
|
||||||
|
name = "guake";
|
||||||
|
package = pkgs.guake;
|
||||||
|
});
|
||||||
|
in {
|
||||||
|
nixpkgs.config = { allowUnfree = true; };
|
||||||
|
|
||||||
|
imports = [ ./git.nix ./zsh.nix ./gnome.nix ./code.nix ];
|
||||||
|
|
||||||
|
home.stateVersion = "21.05";
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
albert
|
||||||
|
guake
|
||||||
|
|
||||||
|
firefox
|
||||||
|
>>>>>>> 010141fe0b7b6d866f46dd9721653d8ee0521a6b
|
||||||
chromium
|
chromium
|
||||||
|
|
||||||
# reversing
|
# reversing
|
||||||
rizin
|
rizin
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
# networking
|
# networking
|
||||||
nmap
|
nmap
|
||||||
@ -45,12 +68,18 @@ in {
|
|||||||
clang
|
clang
|
||||||
|
|
||||||
# social
|
# social
|
||||||
|
=======
|
||||||
|
|
||||||
|
nmap
|
||||||
|
|
||||||
|
>>>>>>> 010141fe0b7b6d866f46dd9721653d8ee0521a6b
|
||||||
slack
|
slack
|
||||||
signal-desktop
|
signal-desktop
|
||||||
teams
|
teams
|
||||||
discord
|
discord
|
||||||
element-desktop
|
element-desktop
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
# music
|
# music
|
||||||
spotify
|
spotify
|
||||||
|
|
||||||
@ -59,10 +88,25 @@ in {
|
|||||||
|
|
||||||
# system
|
# system
|
||||||
gparted
|
gparted
|
||||||
|
=======
|
||||||
|
spotify
|
||||||
|
|
||||||
|
bind
|
||||||
|
gparted
|
||||||
|
sshfs
|
||||||
|
>>>>>>> 010141fe0b7b6d866f46dd9721653d8ee0521a6b
|
||||||
|
|
||||||
# autostart
|
# autostart
|
||||||
albert_autostart
|
albert_autostart
|
||||||
guake_autostart
|
guake_autostart
|
||||||
];
|
];
|
||||||
|
<<<<<<< HEAD
|
||||||
};
|
};
|
||||||
|
=======
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
EDITOR = "nvim";
|
||||||
|
VISUAL = "nvim";
|
||||||
|
};
|
||||||
|
>>>>>>> 010141fe0b7b6d866f46dd9721653d8ee0521a6b
|
||||||
}
|
}
|
||||||
|
@ -1,29 +1,23 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
let
|
||||||
imports = [ configuration.nix ];
|
hostname = "gAluminum";
|
||||||
|
in {
|
||||||
nixpkgs.config.allowUnfree = true;
|
imports = [
|
||||||
|
./hardware.nix
|
||||||
time.timeZone = "Europe/Rome";
|
../../variables.nix
|
||||||
|
../../common.nix
|
||||||
fileSystems."/tmp" = {
|
../../users.nix
|
||||||
device = "tmpfs";
|
];
|
||||||
fsType = "tmpfs";
|
|
||||||
options = ["size=2G"];
|
variables.hostname = hostname;
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/home/giulio/Downloads" = {
|
|
||||||
device = "tmpfs";
|
|
||||||
fsType = "tmpfs";
|
|
||||||
options = ["size=3G"];
|
|
||||||
};
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader.efi.canTouchEfiVariables = true;
|
loader = {
|
||||||
loader.efi.efiSysMountPoint = "/boot/efi";
|
efi.canTouchEfiVariables = true;
|
||||||
|
efi.efiSysMountPoint = "/boot/efi";
|
||||||
loader.systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
initrd.luks.devices = {
|
initrd.luks.devices = {
|
||||||
root = {
|
root = {
|
||||||
@ -35,7 +29,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "gAluminum";
|
hostName = hostname;
|
||||||
|
|
||||||
wg-quick.interfaces = {
|
wg-quick.interfaces = {
|
||||||
giupi = {
|
giupi = {
|
||||||
address = ["10.3.0.2/32"];
|
address = ["10.3.0.2/32"];
|
||||||
@ -53,8 +48,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
time.timeZone = "Europe/London";
|
||||||
|
|
||||||
|
services = {
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
displayManager.gdm.enable = true;
|
displayManager.gdm.enable = true;
|
||||||
@ -69,7 +65,6 @@
|
|||||||
udev.packages = with pkgs; [ gnome3.gnome-settings-daemon ];
|
udev.packages = with pkgs; [ gnome3.gnome-settings-daemon ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
hardware.pulseaudio.enable = true;
|
hardware.pulseaudio.enable = true;
|
||||||
|
|
||||||
@ -99,5 +94,16 @@
|
|||||||
|
|
||||||
security.pam.services.gdm.enableGnomeKeyring = true;
|
security.pam.services.gdm.enableGnomeKeyring = true;
|
||||||
|
|
||||||
|
fileSystems."/tmp" = {
|
||||||
|
device = "tmpfs";
|
||||||
|
fsType = "tmpfs";
|
||||||
|
options = ["size=2G"];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/home/giulio/Downloads" = {
|
||||||
|
device = "tmpfs";
|
||||||
|
fsType = "tmpfs";
|
||||||
|
options = ["size=3G"];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
10
users.nix
10
users.nix
@ -6,8 +6,18 @@
|
|||||||
users.users.giulio = {
|
users.users.giulio = {
|
||||||
description = "Giulio De Pasquale";
|
description = "Giulio De Pasquale";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
<<<<<<< HEAD
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||||
|
=======
|
||||||
|
shell = pkgs.zsh;
|
||||||
|
extraGroups = [ "wheel" "docker" "networkmanager" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.zsh = {
|
||||||
|
enableBashCompletion = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
>>>>>>> 010141fe0b7b6d866f46dd9721653d8ee0521a6b
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.giulio = {
|
home-manager.users.giulio = {
|
||||||
|
Loading…
Reference in New Issue
Block a user